Function at 0x40a740
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, 0xfffffff0
sub esp, 0x220
mov eax, dword [ebp + 8]
mov byte [esp + 0x23], 0
mov al, byte [esp + 0x60]
mov byte [esp + 0x64], al
mov byte [esp + 0x160], 0xc9
mov byte [esp + 0x161], 0xc8
mov byte [esp + 0x162], 0xf8
mov byte [esp + 0x163], 0x20
mov byte [esp + 0x164], 0xf6
mov byte [esp + 0x165], 0xf6
mov byte [esp + 0x166], 0xca
mov byte [esp + 0x167], 0xc4
mov byte [esp + 0x168], 0x6e
mov dword [esp + 0x175], 0
mov dword [esp + 0x171], 0
mov dword [esp + 0x16d], 0
mov dword [esp + 0x169], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x19
jae 0x40a824
jmp 0x40a7e6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x160]
mov edx, eax
add edx, 0x51
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0x1a
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x160], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x19
jb 0x40a7e6
jmp 0x40a824
lea eax, [esp + 0x1e3]
lea edx, [esp + 0x160]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 8
lea edx, [esp + 0x160]
add edx, 8
mov esi, edx
mov edi, eax
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, 1
mov esi, edx
mov edi, eax
add ecx, 0xffffffff
add esi, 1
mov dl, byte [edx]
add edi, 1
mov byte [eax], dl
cmp ecx, 0
mov edx, esi
mov eax, edi
jne 0x40a862
lea eax, [esp + 0x1e3]
mov cl, byte [esp + 0x5c]
mov byte [esp + 0x68], cl
mov byte [esp + 0x80], 0x8b
mov byte [esp + 0x81], 0x35
mov byte [esp + 0x82], 0xa5
mov byte [esp + 0x83], 0x33
mov byte [esp + 0x84], 0xa0
mov byte [esp + 0x85], 0x31
mov byte [esp + 0x86], 0xbc
mov byte [esp + 0x87], 0x2f
mov byte [esp + 0x88], 0xb5
mov byte [esp + 0x89], 0x2d
mov byte [esp + 0x8a], 0xbe
mov byte [esp + 0x8b], 0x2b
mov byte [esp + 0x8c], 0xa6
mov byte [esp + 0x8d], 0x29
mov byte [esp + 0x8e], 0x7b
mov byte [esp + 0x8f], 0x27
mov byte [esp + 0x90], 0x8a
mov byte [esp + 0x91], 0x25
mov byte [esp + 0x92], 0xa3
mov byte [esp + 0x93], 0x23
mov byte [esp + 0x94], 0xb2
mov byte [esp + 0x95], 0x21
mov byte [esp + 0x96], 0xbb
mov byte [esp + 0x97], 0x1f
mov byte [esp + 0x98], 0x58
mov byte [esp + 0x99], 0x1d
mov byte [esp + 0x9a], 0x7c
mov byte [esp + 0x9b], 0x1b
mov byte [esp + 0x9c], 0x85
mov byte [esp + 0x9d], 0x19
mov byte [esp + 0x9e], 0x88
mov byte [esp + 0x9f], 0x17
mov byte [esp + 0xa0], 0x86
mov byte [esp + 0xa1], 0x15
mov byte [esp + 0xa2], 0x80
mov byte [esp + 0xa3], 0x13
mov byte [esp + 0xa4], 0x85
mov byte [esp + 0xa5], 0x11
mov byte [esp + 0xa6], 0x8d
mov byte [esp + 0xa7], 0xf
mov byte [esp + 0xa8], 0x91
mov byte [esp + 0xa9], 0xd
mov byte [esp + 0xaa], 0x80
mov byte [esp + 0xab], 0xb
mov byte [esp + 0xac], 0x9d
mov byte [esp + 0xad], 9
mov byte [esp + 0xae], 0x99
mov byte [esp + 0xaf], 7
mov byte [esp + 0xb0], 0x94
mov byte [esp + 0xb1], 5
mov byte [esp + 0xb2], 0x55
mov byte [esp + 0xb3], 3
mov byte [esp + 0xb4], 0x8a
mov byte [esp + 0xb5], 1
mov byte [esp + 0xb6], 0x53
mov byte [esp + 0xb7], 0x7f
mov byte [esp + 0xb8], 0xf7
mov byte [esp + 0xb9], 0x7d
mov byte [esp + 0xba], 0xf5
mov byte [esp + 0xbb], 0x7b
mov byte [esp + 0xbc], 0xf3
mov byte [esp + 0xbd], 0x79
mov byte [esp + 0xbe], 0x2b
mov byte [esp + 0xbf], 0x77
mov byte [esp + 0xc0], 0xec
mov byte [esp + 0xc1], 0x75
mov byte [esp + 0xc2], 0xe5
mov byte [esp + 0xc3], 0x73
mov byte [esp + 0xc4], 0xfc
mov byte [esp + 0xc5], 0x71
mov byte [esp + 0xc6], 0xe3
mov byte [esp + 0xc7], 0x6f
mov byte [esp + 0xc8], 0x3d
mov byte [esp + 0xc9], 0x6d
mov byte [esp + 0xca], 0xe7
mov byte [esp + 0xcb], 0x6b
mov byte [esp + 0xcc], 0xe4
mov byte [esp + 0xcd], 0x69
mov byte [esp + 0xce], 0xfc
mov byte [esp + 0xcf], 0x67
mov byte [esp + 0xd0], 0xfd
mov byte [esp + 0xd1], 0x65
mov byte [esp + 0xd2], 0xf6
mov byte [esp + 0xd3], 0x63
mov byte [esp + 0xd4], 0xff
mov byte [esp + 0xd5], 0x61
mov byte [esp + 0xd6], 0xf1
mov byte [esp + 0xd7], 0x5f
mov byte [esp + 0xd8], 0xc2
mov byte [esp + 0xd9], 0x5d
mov byte [esp + 0xda], 0xc7
mov byte [esp + 0xdb], 0x5b
mov byte [esp + 0xdc], 0xc6
mov byte [esp + 0xdd], 0x59
mov byte [esp + 0xde], 0x2b
mov byte [esp + 0xdf], 0x57
mov byte [esp + 0xe0], 0x20
mov byte [esp + 0xe1], 0x55
mov byte [esp + 0xe2], 0x54
mov byte [esp + 0xe3], 0x53
mov byte [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x75
jae 0x40ac4a
jmp 0x40abee
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
movzx esi, byte [esp + ecx + 0x80]
mov ecx, edx
add ecx, 0x89
mov edi, esi
not edi
or ecx, edi
mov edi, 0x2dec476
sub edi, edx
or edi, esi
add ecx, edi
mov edx, 0xfffffffe
sub edx, ecx
mov ecx, edx
xor ecx, 0x40
and edx, 0x40
lea ecx, [ecx + edx*2]
inc cl
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, 0x75
jb 0x40abee
jmp 0x40ac4a
mov cl, byte [esp + 0x58]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x140], 0xaf
mov byte [esp + 0x141], 0xc1
mov byte [esp + 0x142], 0x63
mov byte [esp + 0x143], 0xc3
mov byte [esp + 0x144], 0x74
mov byte [esp + 0x145], 0xc5
mov byte [esp + 0x146], 0x6f
mov byte [esp + 0x147], 0xc7
mov byte [esp + 0x148], 0xc8
mov byte [esp + 0x149], 0xc9
mov dword [esp + 0x156], 0
mov dword [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, 0x1a
jae 0x40ad17
jmp 0x40ace1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dl, byte [esp + edx + 0x140]
add cl, 0x60
xor cl, dl
add cl, 0x60
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, 0x1a
jb 0x40ace1
jmp 0x40ad17
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.0040b2e0
test al, 1
jne 0x40ad5f
jmp 0x40b288
mov al, byte [esp + 0x54]
mov byte [esp + 0x70], al
mov byte [esp + 0x1d4], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c0], 0
mov byte [esp + 0x1c0], 0x8f
mov byte [esp + 0x1c1], 0x8a
mov byte [esp + 0x1c2], 0x32
jmp 0x40adc0
jmp 0x40adc2
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x15
jae 0x40ae15
jmp 0x40add5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x1c0]
mov edx, eax
add edx, 0x58
lea eax, [eax + ecx + 0x58]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x98
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x1c0], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x15
jb 0x40add5
jmp 0x40ae15
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x1c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d630
cmp eax, 0
jne 0x40ae3b
mov byte [esp + 0x23], 1
jmp 0x40b27a
jmp 0x40ae3d
jmp 0x40ae3f
mov al, byte [esp + 0x50]
mov byte [esp + 0x74], al
mov byte [esp + 0x180], 0xcb
mov byte [esp + 0x181], 0xbe
mov byte [esp + 0x182], 0xbd
mov byte [esp + 0x183], 0xcf
mov byte [esp + 0x184], 0xb9
mov byte [esp + 0x185], 0xac
mov byte [esp + 0x186], 0xaa
mov byte [esp + 0x187], 0x5f
mov dword [esp + 0x197], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x190], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x1b
jae 0x40af17
jmp 0x40aed1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x180]
mov edx, eax
add edx, 0xc8b7778b
and edx, ecx
lea eax, [eax + ecx - 0x37488875]
add edx, edx
sub eax, edx
add al, 0x33
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x180], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x1b
jb 0x40aed1
jmp 0x40af17
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d660
cmp eax, 0
setne al
jmp 0x40af36
jmp 0x40af38
jmp 0x40af3a
test al, 1
jne 0x40af43
jmp 0x40b278
mov al, byte [esp + 0x4c]
mov byte [esp + 0x78], al
mov byte [esp + 0x110], 0xa4
mov byte [esp + 0x111], 0xb2
mov byte [esp + 0x112], 0xa7
mov byte [esp + 0x113], 0x90
mov byte [esp + 0x114], 0xa9
mov byte [esp + 0x115], 0xcf
mov byte [esp + 0x116], 0x8f
mov byte [esp + 0x117], 0x9b
mov byte [esp + 0x118], 0x9f
mov byte [esp + 0x119], 0x90
mov byte [esp + 0x11a], 0xca
mov byte [esp + 0x11b], 0xc3
mov byte [esp + 0x11c], 0x68
mov byte [esp + 0x11d], 0x86
mov byte [esp + 0x11e], 0x9c
mov byte [esp + 0x11f], 0x6c
mov byte [esp + 0x120], 0x9d
mov byte [esp + 0x121], 0xa6
mov byte [esp + 0x122], 0xc2
mov byte [esp + 0x123], 0xfb
mov word [esp + 0x138], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x2a
jae 0x40b07d
jmp 0x40b03f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov cl, byte [esp + ecx + 0x110]
add al, 0x5d
xor al, cl
add al, 0x75
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0x110], al
mov eax, dword [esp + 0x38]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x2a
jb 0x40b03f
jmp 0x40b07d
lea eax, [esp + 0x1ec]
lea edx, [esp + 0x110]
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 + 0x110]
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 + 0x1ec]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d660
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
je 0x40b278
mov eax, dword [esp + 0x40]
add eax, 0x13
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x48]
mov byte [esp + 0x7c], al
mov word [esp + 0x1b4], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a0], 0
mov byte [esp + 0x1a0], 0xb2
mov byte [esp + 0x1a1], 0x4f
mov byte [esp + 0x1a2], 0x8a
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0x16
jae 0x40b1a5
jmp 0x40b155
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [esp + ecx + 0x1a0]
mov edx, eax
add edx, 0xa5d4ff42
lea esi, [eax + ecx - 0x5a2b00be]
and edx, ecx
add edx, edx
sub esi, edx
mov eax, esi
or eax, 0x31
and esi, 0x31
add eax, esi
inc al
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x1a0], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x16
jb 0x40b155
jmp 0x40b1a5
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d660
mov dword [esp + 0x108], eax
cmp dword [esp + 0x108], 0
je 0x40b276
mov byte [0x44401c], 1
mov edi, dword [esp + 0x108]
jmp 0x40b1e1
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40b200
mov ecx, esi
jmp 0x40b1ee
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b1ee
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x10c], 0
lea eax, [0x44401e]
cmp edi, esi
jbe 0x40b26a
lea ebx, [0x44401e]
jmp 0x40b21d
cmp byte [esi], 0
jne 0x40b226
mov eax, ebx
jmp 0x40b26a
lea eax, [esp + 0x10c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00410bb0
add esi, eax
mov cx, word [esp + 0x10c]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x44421c
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40b21d
mov word [eax], 0
jmp 0x40b271
mov byte [esp + 0x23], 1
jmp 0x40b278
jmp 0x40b27a
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00431b80
jmp 0x40b288
mov al, byte [esp + 0x23]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret