Function at 0x40b340
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1b8
mov eax, dword [ebp + 8]
mov byte [esp + 0x23], 0
mov al, byte [esp + 0x60]
mov byte [esp + 0x64], al
mov byte [esp + 0x120], 0xb1
mov byte [esp + 0x121], 0xb0
mov byte [esp + 0x122], 0x80
mov byte [esp + 0x123], 0x48
mov byte [esp + 0x124], 0x96
mov byte [esp + 0x125], 0x96
mov byte [esp + 0x126], 0x92
mov byte [esp + 0x127], 0x94
mov byte [esp + 0x128], 0xe
mov word [esp + 0x135], 0
mov dword [esp + 0x131], 0
mov dword [esp + 0x12d], 0
mov dword [esp + 0x129], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x17
jae 0x40b43e
jmp 0x40b3e5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x120]
mov edx, eax
and edx, 0x2d05c32d
xor eax, 0xad05c32d
lea eax, [eax + edx*2]
mov edx, eax
add edx, ecx
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x178], edx
mov eax, dword [esp + 0x178]
add al, 0xc5
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x120], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x17
jb 0x40b3e5
jmp 0x40b43e
lea eax, [esp + 0x197]
lea edx, [esp + 0x120]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x19f]
lea edx, [esp + 0x128]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x128]
mov byte [esp + 0x19f], cl
mov cl, byte [esp + 0x5c]
mov byte [esp + 0x68], cl
mov byte [esp + 0x80], 0x6b
mov byte [esp + 0x81], 0x2d
mov byte [esp + 0x82], 0x91
mov byte [esp + 0x83], 0x23
mov byte [esp + 0x84], 0x92
mov byte [esp + 0x85], 0x21
mov byte [esp + 0x86], 0x92
mov byte [esp + 0x87], 0x27
mov byte [esp + 0x88], 0x81
mov byte [esp + 0x89], 0x25
mov byte [esp + 0x8a], 0x88
mov byte [esp + 0x8b], 0x3b
mov byte [esp + 0x8c], 0x8c
mov byte [esp + 0x8d], 0x39
mov byte [esp + 0x8e], 0x43
mov byte [esp + 0x8f], 0x3f
mov byte [esp + 0x90], 0x68
mov byte [esp + 0x91], 0x3d
mov byte [esp + 0x92], 0xbb
mov byte [esp + 0x93], 0x33
mov byte [esp + 0x94], 0x80
mov byte [esp + 0x95], 0x31
mov byte [esp + 0x96], 0x93
mov byte [esp + 0x97], 0x37
mov byte [esp + 0x98], 0x7a
mov byte [esp + 0x99], 0x35
mov byte [esp + 0x9a], 0x6a
mov byte [esp + 0x9b], 0xb
mov byte [esp + 0x9c], 0xa9
mov byte [esp + 0x9d], 9
mov byte [esp + 0x9e], 0xbe
mov byte [esp + 0x9f], 0xf
mov byte [esp + 0xa0], 0xbc
mov byte [esp + 0xa1], 0xd
mov byte [esp + 0xa2], 0xbe
mov byte [esp + 0xa3], 3
mov byte [esp + 0xa4], 0xb9
mov byte [esp + 0xa5], 1
mov byte [esp + 0xa6], 0xa1
mov byte [esp + 0xa7], 7
mov byte [esp + 0xa8], 0xa5
mov byte [esp + 0xa9], 5
mov byte [esp + 0xaa], 0xae
mov byte [esp + 0xab], 0x1b
mov byte [esp + 0xac], 0xa1
mov byte [esp + 0xad], 0x19
mov byte [esp + 0xae], 0xad
mov byte [esp + 0xaf], 0x1f
mov byte [esp + 0xb0], 0xae
mov byte [esp + 0xb1], 0x1d
mov byte [esp + 0xb2], 0x61
mov byte [esp + 0xb3], 0x13
mov byte [esp + 0xb4], 0x98
mov byte [esp + 0xb5], 0x11
mov byte [esp + 0xb6], 0x6b
mov byte [esp + 0xb7], 0x17
mov byte [esp + 0xb8], 0x9f
mov byte [esp + 0xb9], 0x15
mov byte [esp + 0xba], 0xe1
mov byte [esp + 0xbb], 0x6b
mov byte [esp + 0xbc], 0xe3
mov byte [esp + 0xbd], 0x69
mov byte [esp + 0xbe], 0x13
mov byte [esp + 0xbf], 0x6f
mov byte [esp + 0xc0], 0xd6
mov byte [esp + 0xc1], 0x6d
mov byte [esp + 0xc2], 0xd1
mov byte [esp + 0xc3], 0x63
mov byte [esp + 0xc4], 0xd6
mov byte [esp + 0xc5], 0x61
mov byte [esp + 0xc6], 0xdb
mov byte [esp + 0xc7], 0x67
mov byte [esp + 0xc8], 0x19
mov byte [esp + 0xc9], 0x65
mov byte [esp + 0xca], 0xcf
mov byte [esp + 0xcb], 0x7b
mov byte [esp + 0xcc], 0xce
mov byte [esp + 0xcd], 0x79
mov byte [esp + 0xce], 0xc2
mov byte [esp + 0xcf], 0x7f
mov byte [esp + 0xd0], 0xd9
mov byte [esp + 0xd1], 0x7d
mov byte [esp + 0xd2], 0xc0
mov byte [esp + 0xd3], 0x73
mov byte [esp + 0xd4], 0xd7
mov byte [esp + 0xd5], 0x71
mov byte [esp + 0xd6], 0xc5
mov byte [esp + 0xd7], 0x77
mov byte [esp + 0xd8], 0xd0
mov byte [esp + 0xd9], 0x75
mov byte [esp + 0xda], 0xef
mov byte [esp + 0xdb], 0x4b
mov byte [esp + 0xdc], 0xec
mov byte [esp + 0xdd], 0x49
mov byte [esp + 0xde], 0x53
mov byte [esp + 0xdf], 0x4f
mov byte [esp + 0xe0], 0x52
mov byte [esp + 0xe1], 0x4d
mov byte [esp + 0xe2], 0x42
mov byte [esp + 0xe3], 0x43
mov dword [esp + 0xe7], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6b
jae 0x40b838
jmp 0x40b7cf
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
movzx esi, byte [esp + ecx + 0x80]
mov edi, edx
add edi, 0xf4da7f06
lea ecx, [edx + esi - 0xb2580fa]
add edx, 6
mov ebx, edi
and ebx, esi
xor edx, edi
and edx, esi
lea edx, [edx + ebx*2]
mov esi, edx
xor esi, ecx
not edx
and ecx, edx
add ecx, ecx
sub ecx, esi
mov dword [esp + 0x17c], ecx
mov ecx, dword [esp + 0x17c]
add cl, 0xd6
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x80], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6b
jb 0x40b7cf
jmp 0x40b838
mov cl, byte [esp + 0x58]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x140], 0xaf
mov byte [esp + 0x141], 0x99
mov byte [esp + 0x142], 0xfb
mov byte [esp + 0x143], 0x9b
mov byte [esp + 0x144], 0xe4
mov byte [esp + 0x145], 0x95
mov byte [esp + 0x146], 0xef
mov byte [esp + 0x147], 0x97
mov byte [esp + 0x148], 0x90
mov byte [esp + 0x149], 0x91
mov word [esp + 0x152], 0
mov dword [esp + 0x14e], 0
mov dword [esp + 0x14a], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x14
jae 0x40b92f
jmp 0x40b8c3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
movzx edx, byte [esp + edx + 0x140]
mov esi, ecx
add esi, 0x94
mov edi, edx
not edi
mov ebx, esi
or ebx, edi
and esi, edx
add ebx, esi
neg ebx
lea ecx, [ecx + ebx - 0xd5cc76d]
mov dword [esp + 0x180], ecx
mov edx, dword [esp + 0x180]
mov ecx, edx
or ecx, 0xf3
and edx, 0xf3
add ecx, edx
inc cl
mov edx, dword [esp + 0x2c]
mov byte [esp + edx + 0x140], cl
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x14
jb 0x40b8c3
jmp 0x40b92f
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x140]
lea esi, [esp + 0x80]
lea edi, [esp + 0x44]
xor ebx, ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
call fcn.0040c640
test al, 1
jne 0x40b977
jmp 0x40be8a
mov al, byte [esp + 0x54]
mov byte [esp + 0x70], al
mov byte [esp + 0x158], 0xc7
mov byte [esp + 0x159], 0xd4
mov byte [esp + 0x15a], 0xb8
mov dword [esp + 0x162], 0
mov dword [esp + 0x15f], 0
mov dword [esp + 0x15b], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0xe
jae 0x40ba32
jmp 0x40b9cb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + ecx + 0x158]
mov esi, eax
add esi, 0x421526b7
lea ecx, [eax + edx + 0x421526b7]
add eax, 0xb7
and eax, edx
and esi, edx
add eax, esi
mov edx, ecx
not edx
mov esi, eax
and esi, edx
not eax
and ecx, eax
sub ecx, esi
mov dword [esp + 0x184], ecx
mov eax, dword [esp + 0x184]
dec al
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x158], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0xe
jb 0x40b9cb
jmp 0x40ba32
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x158]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040dd00
cmp eax, 0
jne 0x40ba58
mov byte [esp + 0x23], 1
jmp 0x40be7e
mov al, byte [esp + 0x50]
mov byte [esp + 0x74], al
mov byte [esp + 0x110], 0x3b
mov byte [esp + 0x111], 0x2e
mov byte [esp + 0x112], 0x29
mov byte [esp + 0x113], 0x3f
mov byte [esp + 0x114], 0x25
mov byte [esp + 0x115], 0x20
mov byte [esp + 0x116], 0x22
mov byte [esp + 0x117], 0xaf
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jae 0x40bb29
jmp 0x40bac9
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x110]
mov edx, eax
add edx, 0x49
mov esi, eax
add esi, 0xf8fef849
mov edi, esi
and edi, ecx
xor edx, esi
and edx, ecx
lea eax, [eax + ecx - 0x70107b7]
lea ecx, [edx + edi*2]
sub eax, ecx
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x188]
inc al
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x110], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x40bac9
jmp 0x40bb29
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c5e0
cmp eax, 0
je 0x40be7c
call fcn.00409640
mov al, byte [esp + 0x4c]
mov byte [esp + 0x78], al
mov byte [esp + 0xf0], 0xfe
mov byte [esp + 0xf1], 0x8c
mov byte [esp + 0xf2], 0xff
mov byte [esp + 0xf3], 0xf6
mov byte [esp + 0xf4], 0xad
mov byte [esp + 0xf5], 0xb7
mov byte [esp + 0xf6], 0x87
mov byte [esp + 0xf7], 0xeb
mov byte [esp + 0xf8], 0xf7
mov byte [esp + 0xf9], 0xf2
mov byte [esp + 0xfa], 0xbc
mov byte [esp + 0xfb], 0x43
mov byte [esp + 0xfc], 0xea
mov byte [esp + 0xfd], 0x80
mov byte [esp + 0xfe], 0x8a
mov byte [esp + 0xff], 0x92
mov byte [esp + 0x100], 0x81
mov byte [esp + 0x101], 0xd8
mov byte [esp + 0x102], 0xc4
mov byte [esp + 0x103], 0x1b
mov byte [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x1d
jae 0x40bc95
jmp 0x40bc27
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x38]
movzx edx, byte [esp + eax + 0xf0]
mov esi, ecx
add esi, 0x3d212fb2
lea eax, [ecx + edx + 0x3d212fb2]
and esi, edx
mov edi, 0xc2ded04d
sub edi, ecx
or edi, edx
add ecx, edi
lea ecx, [esi + ecx + 0x3d212fb3]
mov edx, ecx
xor edx, eax
not ecx
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x18c]
add al, 0x22
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0xf0], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x1d
jb 0x40bc27
jmp 0x40bc95
lea eax, [esp + 0x1a0]
lea edx, [esp + 0xf0]
mov edi, eax
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x14
lea edx, [esp + 0xf0]
add edx, 0x14
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
jmp 0x40bcca
lea eax, [esp + 0x1a0]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040c5e0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
jmp 0x40bceb
cmp eax, 0
je 0x40be7c
mov eax, dword [esp + 0x40]
add eax, 0x13
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x48]
mov byte [esp + 0x7c], al
mov byte [esp + 0x168], 0xd2
mov byte [esp + 0x169], 0xff
mov byte [esp + 0x16a], 0x32
mov word [esp + 0x16f], 0
mov dword [esp + 0x16b], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 9
jae 0x40bdaf
jmp 0x40bd47
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [esp + ecx + 0x168]
mov edx, eax
add edx, 0x638923d8
lea eax, [eax + ecx + 0x638923d8]
and edx, ecx
add edx, edx
mov ecx, edx
xor ecx, eax
not edx
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x190], eax
mov ecx, dword [esp + 0x190]
mov eax, ecx
or eax, 0x17
and ecx, 0x17
add eax, ecx
inc al
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x168], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 9
jb 0x40bd47
jmp 0x40bdaf
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x168]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c5e0
mov dword [esp + 0x138], eax
cmp dword [esp + 0x138], 0
je 0x40be7c
mov byte [0x445acc], 1
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40be08
mov ecx, esi
jmp 0x40bdf6
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40bdf6
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x13c], 0
lea eax, [0x445ace]
cmp edi, esi
jbe 0x40be72
lea ebx, [0x445ace]
jmp 0x40be25
cmp byte [esi], 0
jne 0x40be2e
mov eax, ebx
jmp 0x40be72
lea eax, [esp + 0x13c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040ecc0
add esi, eax
mov cx, word [esp + 0x13c]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x445ccc
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40be25
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40be7e
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00435ac0
mov al, byte [esp + 0x23]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret