Function at 0x40b7a0
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], 0xb9
mov byte [esp + 0x121], 0xba
mov byte [esp + 0x122], 0xa6
mov byte [esp + 0x123], 0xde
mov byte [esp + 0x124], 0x50
mov byte [esp + 0x125], 0x4c
mov byte [esp + 0x126], 0x48
mov byte [esp + 0x127], 0x4a
mov byte [esp + 0x128], 0xe0
mov dword [esp + 0x134], 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, 0x18
jae 0x40b89b
jmp 0x40b846
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esp + eax + 0x120]
mov eax, edx
add eax, 0x7c
and eax, ecx
mov esi, 0xc126ed83
sub esi, edx
or esi, ecx
not esi
add esi, ecx
sub esi, eax
mov dword [esp + 0x178], esi
mov eax, dword [esp + 0x178]
add al, 0x9c
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, 0x18
jb 0x40b846
jmp 0x40b89b
lea ebx, [esp + 0x197]
lea edx, [esp + 0x120]
mov edi, ebx
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], 0x73
mov byte [esp + 0x81], 0xb9
mov byte [esp + 0x82], 0x29
mov byte [esp + 0x83], 0xbb
mov byte [esp + 0x84], 0x54
mov byte [esp + 0x85], 0xbd
mov byte [esp + 0x86], 0x28
mov byte [esp + 0x87], 0xbf
mov byte [esp + 0x88], 0x59
mov byte [esp + 0x89], 0xa1
mov byte [esp + 0x8a], 0x4e
mov byte [esp + 0x8b], 0xa3
mov byte [esp + 0x8c], 0x36
mov byte [esp + 0x8d], 0xa5
mov byte [esp + 0x8e], 0x8b
mov byte [esp + 0x8f], 0xa7
mov byte [esp + 0x90], 0x52
mov byte [esp + 0x91], 0xa9
mov byte [esp + 0x92], 0x33
mov byte [esp + 0x93], 0xab
mov byte [esp + 0x94], 0x3a
mov byte [esp + 0x95], 0xad
mov byte [esp + 0x96], 0x4b
mov byte [esp + 0x97], 0xaf
mov byte [esp + 0x98], 0x74
mov byte [esp + 0x99], 0x51
mov byte [esp + 0x9a], 0x70
mov byte [esp + 0x9b], 0x53
mov byte [esp + 0x9c], 0xb1
mov byte [esp + 0x9d], 0x55
mov byte [esp + 0x9e], 0xc4
mov byte [esp + 0x9f], 0x57
mov byte [esp + 0xa0], 0xc6
mov byte [esp + 0xa1], 0x59
mov byte [esp + 0xa2], 0xb4
mov byte [esp + 0xa3], 0x5b
mov byte [esp + 0xa4], 0xb1
mov byte [esp + 0xa5], 0x5d
mov byte [esp + 0xa6], 0xb9
mov byte [esp + 0xa7], 0x5f
mov byte [esp + 0xa8], 0xbd
mov byte [esp + 0xa9], 0x41
mov byte [esp + 0xaa], 0xd4
mov byte [esp + 0xab], 0x43
mov byte [esp + 0xac], 0xa9
mov byte [esp + 0xad], 0x45
mov byte [esp + 0xae], 0xd5
mov byte [esp + 0xaf], 0x47
mov byte [esp + 0xb0], 0xa8
mov byte [esp + 0xb1], 0x49
mov byte [esp + 0xb2], 0x99
mov byte [esp + 0xb3], 0x4b
mov byte [esp + 0xb4], 0xd2
mov byte [esp + 0xb5], 0x4d
mov byte [esp + 0xb6], 0x63
mov byte [esp + 0xb7], 0x4f
mov byte [esp + 0xb8], 0xd7
mov byte [esp + 0xb9], 0x71
mov byte [esp + 0xba], 0xe9
mov byte [esp + 0xbb], 0x73
mov byte [esp + 0xbc], 0xeb
mov byte [esp + 0xbd], 0x75
mov byte [esp + 0xbe], 0x5b
mov byte [esp + 0xbf], 0x77
mov byte [esp + 0xc0], 0x90
mov byte [esp + 0xc1], 0x79
mov byte [esp + 0xc2], 0xe9
mov byte [esp + 0xc3], 0x7b
mov byte [esp + 0xc4], 0xe8
mov byte [esp + 0xc5], 0x7d
mov byte [esp + 0xc6], 0x93
mov byte [esp + 0xc7], 0x7f
mov byte [esp + 0xc8], 0x51
mov byte [esp + 0xc9], 0x61
mov byte [esp + 0xca], 0xf7
mov byte [esp + 0xcb], 0x63
mov byte [esp + 0xcc], 0xf0
mov byte [esp + 0xcd], 0x65
mov byte [esp + 0xce], 0x88
mov byte [esp + 0xcf], 0x67
mov byte [esp + 0xd0], 0x81
mov byte [esp + 0xd1], 0x69
mov byte [esp + 0xd2], 0x86
mov byte [esp + 0xd3], 0x6b
mov byte [esp + 0xd4], 0x8f
mov byte [esp + 0xd5], 0x6d
mov byte [esp + 0xd6], 0xfd
mov byte [esp + 0xd7], 0x6f
mov byte [esp + 0xd8], 0x8a
mov byte [esp + 0xd9], 0x11
mov byte [esp + 0xda], 0xf7
mov byte [esp + 0xdb], 0x13
mov byte [esp + 0xdc], 0xf6
mov byte [esp + 0xdd], 0x15
mov byte [esp + 0xde], 0x1b
mov byte [esp + 0xdf], 0x17
mov byte [esp + 0xe0], 0x1c
mov byte [esp + 0xe1], 0x19
mov byte [esp + 0xe2], 0x18
mov byte [esp + 0xe3], 0x1b
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6c
jae 0x40bc99
jmp 0x40bc2c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx eax, byte [esp + edx + 0x80]
mov edx, ecx
add edx, 0x9730cee7
mov esi, edx
and esi, eax
mov edi, edx
xor edi, eax
mov ebx, eax
not ebx
or edx, ebx
add ecx, 0xe7
and ecx, eax
add edi, ebx
add edx, ecx
sub edi, edx
lea eax, [edi + esi*2]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x17c]
add al, 0xaf
mov ecx, dword [esp + 0x28]
mov byte [esp + ecx + 0x80], al
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, 0x6c
jb 0x40bc2c
lea ebx, [esp + 0x197]
jmp 0x40bc99
mov al, byte [esp + 0x58]
mov byte [esp + 0x6c], al
mov byte [esp + 0x140], 0x7f
mov byte [esp + 0x141], 0x8d
mov byte [esp + 0x142], 0x2b
mov byte [esp + 0x143], 0x8b
mov byte [esp + 0x144], 0x38
mov byte [esp + 0x145], 0x89
mov byte [esp + 0x146], 0x3f
mov byte [esp + 0x147], 0x97
mov byte [esp + 0x148], 0x94
mov byte [esp + 0x149], 0x95
mov dword [esp + 0x14e], 0
mov dword [esp + 0x14a], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
cmp eax, 0x12
jae 0x40bd90
jmp 0x40bd1a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
movzx eax, byte [esp + eax + 0x140]
mov edx, ecx
add edx, 0x5063e5ea
mov esi, edx
and esi, eax
xor edx, eax
lea edx, [edx + esi*2]
add ecx, 0xea
and ecx, eax
add ecx, esi
mov eax, edx
not eax
mov esi, ecx
and esi, eax
not ecx
and edx, ecx
sub edx, esi
mov dword [esp + 0x180], edx
mov eax, dword [esp + 0x180]
mov ecx, eax
xor ecx, 0x99
and eax, 0x19
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x2c]
mov byte [esp + ecx + 0x140], al
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp eax, 0x12
jb 0x40bd1a
jmp 0x40bd90
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x140]
lea edx, [esp + 0x80]
lea esi, [esp + 0x44]
xor edi, edi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
call fcn.0040ca60
test al, 1
jne 0x40bdd8
jmp 0x40c2d2
call fcn.0040f750
mov al, byte [esp + 0x54]
mov byte [esp + 0x70], al
mov byte [esp + 0x168], 0xa7
mov byte [esp + 0x169], 0x94
mov byte [esp + 0x16a], 0x38
mov word [esp + 0x16f], 0
mov dword [esp + 0x16b], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 9
jae 0x40be92
jmp 0x40be25
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx edi, byte [esp + ecx + 0x168]
mov edx, eax
add edx, 0xb65dae87
mov ecx, edx
and ecx, edi
mov esi, edx
xor esi, edi
mov ebx, edi
not ebx
or edx, ebx
mov ebx, 0x49a25178
sub ebx, eax
or ebx, edi
add eax, edi
add eax, ebx
add eax, edx
sub esi, eax
lea eax, [esi + ecx*2 + 0x49a25177]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x184]
add al, 0x4f
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x168], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 9
jb 0x40be25
jmp 0x40be92
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x168]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040e0f0
jmp 0x40beab
cmp eax, 0
sete al
test al, 1
jne 0x40beb7
jmp 0x40bec1
mov byte [esp + 0x23], 1
jmp 0x40c2c6
mov al, byte [esp + 0x50]
mov byte [esp + 0x74], al
mov byte [esp + 0x110], 0xfb
mov byte [esp + 0x111], 0x8e
mov byte [esp + 0x112], 0x89
mov byte [esp + 0x113], 0xff
mov byte [esp + 0x114], 0xf5
mov byte [esp + 0x115], 0xf0
mov byte [esp + 0x116], 0xf2
mov byte [esp + 0x117], 0x6f
mov word [esp + 0x118], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0xa
jae 0x40bf86
jmp 0x40bf26
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x110]
mov edx, eax
add edx, 0x5e4bfcb1
mov esi, eax
add esi, 0xb1
and esi, ecx
mov edi, esi
and edi, edx
lea eax, [eax + ecx + 0x5e4bfcb1]
add esi, edi
sub eax, esi
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x188]
add al, 0x29
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, 0xa
jb 0x40bf26
jmp 0x40bf86
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ca10
cmp eax, 0
setne al
test al, 1
jne 0x40bfac
jmp 0x40c2c4
mov al, byte [esp + 0x4c]
mov byte [esp + 0x78], al
mov byte [esp + 0xf0], 0x1e
mov byte [esp + 0xf1], 0xec
mov byte [esp + 0xf2], 0x1f
mov byte [esp + 0xf3], 0xe6
mov byte [esp + 0xf4], 0xcd
mov byte [esp + 0xf5], 0xa7
mov byte [esp + 0xf6], 0xe7
mov byte [esp + 0xf7], 0x13
mov byte [esp + 0xf8], 0x17
mov byte [esp + 0xf9], 0x1a
mov byte [esp + 0xfa], 0x9c
mov byte [esp + 0xfb], 0x9b
mov byte [esp + 0xfc], 0x32
mov byte [esp + 0xfd], 0xd8
mov byte [esp + 0xfe], 0x22
mov byte [esp + 0xff], 0x2a
mov byte [esp + 0x100], 0xd9
mov byte [esp + 0x101], 0xf0
mov byte [esp + 0x102], 0x94
mov byte [esp + 0x103], 0xb3
mov byte [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x19
jae 0x40c0ed
jmp 0x40c07a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0xf0]
mov edx, 0x39ecf6e9
sub edx, eax
mov esi, eax
add esi, 0x16
and esi, ecx
or edx, ecx
lea edx, [eax + edx - 0x39ecf6e9]
mov edi, edx
and edi, esi
xor edx, esi
add eax, ecx
lea ecx, [edx + edi*2]
sub eax, ecx
add eax, 0xc6130916
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x18c]
mov ecx, eax
xor ecx, 0x65
and eax, 0x65
lea eax, [ecx + eax*2]
inc al
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, 0x19
jb 0x40c07a
jmp 0x40c0ed
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
lea eax, [esp + 0x1a0]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ca10
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
je 0x40c2c4
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 + 0x158], 0x22
mov byte [esp + 0x159], 0x3f
mov byte [esp + 0x15a], 0xc2
mov word [esp + 0x163], 0
mov dword [esp + 0x15f], 0
mov dword [esp + 0x15b], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0xd
jae 0x40c1f5
jmp 0x40c1a4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [esp + ecx + 0x158]
mov edx, eax
add edx, 0x20
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xb30b6120
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x190]
add al, 0x20
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x158], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xd
jb 0x40c1a4
jmp 0x40c1f5
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ca10
mov dword [esp + 0x138], eax
cmp dword [esp + 0x138], 0
je 0x40c2c4
mov byte [0x447820], 1
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40c24e
mov ecx, esi
jmp 0x40c23c
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40c23c
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x13c], 0
lea eax, [0x447822]
cmp edi, esi
jbe 0x40c2b8
lea ebx, [0x447822]
jmp 0x40c26b
cmp byte [esi], 0
jne 0x40c274
mov eax, ebx
jmp 0x40c2b8
lea eax, [esp + 0x13c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040f5d0
add esi, eax
mov cx, word [esp + 0x13c]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x447a20
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40c26b
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40c2c4
jmp 0x40c2c6
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00437bc0
mov al, byte [esp + 0x23]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret