Function at 0x40a8c0
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, 0x210
mov eax, dword [ebp + 8]
mov byte [esp + 0x23], 0
mov al, byte [esp + 0x60]
mov byte [esp + 0x64], al
mov byte [esp + 0x170], 0xb1
mov byte [esp + 0x171], 0xb0
mov byte [esp + 0x172], 0xa0
mov byte [esp + 0x173], 0xa8
mov byte [esp + 0x174], 0x96
mov byte [esp + 0x175], 0x96
mov byte [esp + 0x176], 0x92
mov byte [esp + 0x177], 0x94
mov byte [esp + 0x178], 0xee
mov dword [esp + 0x17d], 0
mov dword [esp + 0x179], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x11
jae 0x40a996
jmp 0x40a950
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x170]
mov edx, eax
add edx, 0x1ad61ddd
lea eax, [eax + ecx + 0x1ad61ddd]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0xf5
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x170], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x11
jb 0x40a950
jmp 0x40a996
lea eax, [esp + 0x1d3]
lea edx, [esp + 0x170]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x1db]
lea edx, [esp + 0x178]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x178]
mov byte [esp + 0x1db], cl
mov cl, byte [esp + 0x5c]
mov byte [esp + 0x68], cl
mov byte [esp + 0x90], 0xe3
mov byte [esp + 0x91], 0xad
mov byte [esp + 0x92], 0x39
mov byte [esp + 0x93], 0xab
mov byte [esp + 0x94], 0x3a
mov byte [esp + 0x95], 0xa9
mov byte [esp + 0x96], 0xa
mov byte [esp + 0x97], 0x97
mov byte [esp + 0x98], 0x39
mov byte [esp + 0x99], 0x95
mov byte [esp + 0x9a], 0
mov byte [esp + 0x9b], 0x93
mov byte [esp + 0x9c], 0xc
mov byte [esp + 0x9d], 0x91
mov byte [esp + 0x9e], 0xcb
mov byte [esp + 0x9f], 0x9f
mov byte [esp + 0xa0], 0x20
mov byte [esp + 0xa1], 0x9d
mov byte [esp + 0xa2], 3
mov byte [esp + 0xa3], 0x9b
mov byte [esp + 0xa4], 8
mov byte [esp + 0xa5], 0x99
mov byte [esp + 0xa6], 0x2b
mov byte [esp + 0xa7], 0x87
mov byte [esp + 0xa8], 0xc2
mov byte [esp + 0xa9], 0x85
mov byte [esp + 0xaa], 0xe2
mov byte [esp + 0xab], 0x83
mov byte [esp + 0xac], 0x21
mov byte [esp + 0xad], 0x81
mov byte [esp + 0xae], 0x1e
mov byte [esp + 0xaf], 0x8f
mov byte [esp + 0xb0], 0x1c
mov byte [esp + 0xb1], 0x8d
mov byte [esp + 0xb2], 0x1e
mov byte [esp + 0xb3], 0x8b
mov byte [esp + 0xb4], 0x21
mov byte [esp + 0xb5], 0x89
mov byte [esp + 0xb6], 0x59
mov byte [esp + 0xb7], 0xf7
mov byte [esp + 0xb8], 0x55
mov byte [esp + 0xb9], 0xf5
mov byte [esp + 0xba], 0x6e
mov byte [esp + 0xbb], 0xf3
mov byte [esp + 0xbc], 0x59
mov byte [esp + 0xbd], 0xf1
mov byte [esp + 0xbe], 0x6d
mov byte [esp + 0xbf], 0xff
mov byte [esp + 0xc0], 0x6e
mov byte [esp + 0xc1], 0xfd
mov byte [esp + 0xc2], 0xa9
mov byte [esp + 0xc3], 0xfb
mov byte [esp + 0xc4], 0x60
mov byte [esp + 0xc5], 0xf9
mov byte [esp + 0xc6], 0xb3
mov byte [esp + 0xc7], 0xe7
mov byte [esp + 0xc8], 0x7f
mov byte [esp + 0xc9], 0xe5
mov byte [esp + 0xca], 0x79
mov byte [esp + 0xcb], 0xe3
mov byte [esp + 0xcc], 0x7b
mov byte [esp + 0xcd], 0xe1
mov byte [esp + 0xce], 0xbb
mov byte [esp + 0xcf], 0xef
mov byte [esp + 0xd0], 0x46
mov byte [esp + 0xd1], 0xed
mov byte [esp + 0xd2], 0x79
mov byte [esp + 0xd3], 0xeb
mov byte [esp + 0xd4], 0x76
mov byte [esp + 0xd5], 0xe9
mov byte [esp + 0xd6], 0x43
mov byte [esp + 0xd7], 0xd7
mov byte [esp + 0xd8], 0x81
mov byte [esp + 0xd9], 0xd5
mov byte [esp + 0xda], 0x4f
mov byte [esp + 0xdb], 0xd3
mov byte [esp + 0xdc], 0x4e
mov byte [esp + 0xdd], 0xd1
mov byte [esp + 0xde], 0x4a
mov byte [esp + 0xdf], 0xdf
mov byte [esp + 0xe0], 0x71
mov byte [esp + 0xe1], 0xdd
mov byte [esp + 0xe2], 0x48
mov byte [esp + 0xe3], 0xdb
mov byte [esp + 0xe4], 0x77
mov byte [esp + 0xe5], 0xd9
mov byte [esp + 0xe6], 0x55
mov byte [esp + 0xe7], 0xc7
mov byte [esp + 0xe8], 0x68
mov byte [esp + 0xe9], 0xc5
mov byte [esp + 0xea], 0x6f
mov byte [esp + 0xeb], 0xc3
mov byte [esp + 0xec], 0x6c
mov byte [esp + 0xed], 0xc1
mov byte [esp + 0xee], 0xbb
mov byte [esp + 0xef], 0xcf
mov byte [esp + 0xf0], 0xba
mov byte [esp + 0xf1], 0xcd
mov byte [esp + 0xf2], 0xca
mov byte [esp + 0xf3], 0xcb
mov byte [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x79
jae 0x40ad97
jmp 0x40ad50
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x90]
mov esi, ecx
add esi, 0x5b401a9a
lea ecx, [ecx + edx + 0x5b401a9a]
and esi, edx
add esi, esi
sub ecx, esi
add cl, 0xca
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x90], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x79
jb 0x40ad50
jmp 0x40ad97
mov cl, byte [esp + 0x58]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x80], 0x47
mov byte [esp + 0x81], 0x11
mov byte [esp + 0x82], 0x73
mov byte [esp + 0x83], 0x13
mov byte [esp + 0x84], 0x82
mov byte [esp + 0x85], 0x1d
mov byte [esp + 0x86], 0x77
mov byte [esp + 0x87], 0x1f
mov byte [esp + 0x88], 0x1e
mov byte [esp + 0x89], 0x19
mov word [esp + 0x8e], 0
mov dword [esp + 0x8a], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
jae 0x40ae69
jmp 0x40ae17
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
movzx edx, byte [esp + edx + 0x80]
mov esi, ecx
add esi, 0x4d57af03
mov edi, ecx
add edi, 3
mov ebx, edi
and ebx, edx
or edi, esi
and edi, edx
lea ecx, [ecx + edx + 0x4d57af03]
add ebx, edi
sub ecx, ebx
add cl, 0xeb
mov edx, dword [esp + 0x2c]
mov byte [esp + edx + 0x80], cl
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
jb 0x40ae17
jmp 0x40ae69
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x80]
lea esi, [esp + 0x90]
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.0040b450
test al, 1
jne 0x40aeb1
jmp 0x40b3f0
mov al, byte [esp + 0x54]
mov byte [esp + 0x70], al
mov byte [esp + 0x1a8], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x190], 0
mov byte [esp + 0x190], 0x17
mov byte [esp + 0x191], 8
mov byte [esp + 0x192], 0xa4
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x19
jae 0x40af62
jmp 0x40af2e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov cl, byte [esp + ecx + 0x190]
add al, 0xc5
xor al, cl
add al, 0x9d
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x190], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x19
jb 0x40af2e
jmp 0x40af62
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x190]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040dab0
cmp eax, 0
jne 0x40af88
mov byte [esp + 0x23], 1
jmp 0x40b3e0
mov al, byte [esp + 0x50]
mov byte [esp + 0x74], al
mov byte [esp + 0x150], 0xeb
mov byte [esp + 0x151], 0xfe
mov byte [esp + 0x152], 0xfd
mov byte [esp + 0x153], 0xef
mov byte [esp + 0x154], 0xf9
mov byte [esp + 0x155], 0xec
mov byte [esp + 0x156], 0xea
mov byte [esp + 0x157], 0x9f
mov byte [esp + 0x168], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x19
jae 0x40b068
jmp 0x40b017
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x150]
mov edx, eax
add edx, 0xb577a813
lea eax, [eax + ecx - 0x4a8857ed]
and edx, ecx
add edx, edx
sub eax, edx
mov ecx, eax
xor ecx, 0x7a
and eax, 0x7a
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x150], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x19
jb 0x40b017
jmp 0x40b068
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x150]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040dae0
cmp eax, 0
setne al
jmp 0x40b087
jmp 0x40b089
jmp 0x40b08b
test al, 1
jne 0x40b094
jmp 0x40b3de
call fcn.004117a0
mov al, byte [esp + 0x4c]
mov byte [esp + 0x78], al
mov byte [esp + 0x120], 0xee
mov byte [esp + 0x121], 0xf8
mov byte [esp + 0x122], 0xef
mov byte [esp + 0x123], 0xe6
mov byte [esp + 0x124], 0x11
mov byte [esp + 0x125], 0x37
mov byte [esp + 0x126], 0xf7
mov byte [esp + 0x127], 0xdb
mov byte [esp + 0x128], 0xe7
mov byte [esp + 0x129], 0xea
mov byte [esp + 0x12a], 0x30
mov byte [esp + 0x12b], 0x33
mov byte [esp + 0x12c], 0x22
mov byte [esp + 0x12d], 0xc
mov byte [esp + 0x12e], 0x1a
mov byte [esp + 0x12f], 0x22
mov byte [esp + 0x130], 0x15
mov byte [esp + 0x131], 0xec
mov byte [esp + 0x132], 0xc8
mov byte [esp + 0x133], 0xab
mov dword [esp + 0x144], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x28
jae 0x40b1e1
jmp 0x40b18b
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0x120]
mov edx, eax
add edx, 0x74
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov ecx, eax
add ecx, 0xbd9fb574
mov edx, 0x42604acb
sub edx, eax
and edx, 0x2c
and ecx, 0xd3
sub ecx, edx
mov eax, dword [esp + 0x38]
mov byte [esp + eax + 0x120], cl
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x28
jb 0x40b18b
jmp 0x40b1e1
lea eax, [esp + 0x1dc]
lea edx, [esp + 0x120]
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 + 0x120]
add edx, 0x14
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
jmp 0x40b216
jmp 0x40b218
jmp 0x40b21a
jmp 0x40b21c
lea eax, [esp + 0x1dc]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040dae0
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
je 0x40b3dc
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 + 0x1c4], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b0], 0
mov byte [esp + 0x1b0], 0xa2
mov byte [esp + 0x1b1], 0xbf
mov byte [esp + 0x1b2], 0xc2
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0x16
jae 0x40b309
jmp 0x40b2c1
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
movzx eax, byte [esp + eax + 0x1b0]
mov edx, ecx
add edx, 0xe0
and edx, eax
mov esi, 0x1f
sub esi, ecx
or esi, eax
add esi, edx
sub eax, esi
add al, 0xdf
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x1b0], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x16
jb 0x40b2c1
jmp 0x40b309
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1b0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040dae0
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x118]
cmp eax, 0
je 0x40b3da
mov byte [0x445d94], 1
mov edi, dword [esp + 0x118]
jmp 0x40b347
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40b366
mov ecx, esi
jmp 0x40b354
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b354
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x11c], 0
lea eax, [0x445d96]
cmp edi, esi
jbe 0x40b3d0
lea ebx, [0x445d96]
jmp 0x40b383
cmp byte [esi], 0
jne 0x40b38c
mov eax, ebx
jmp 0x40b3d0
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00411610
add esi, eax
mov cx, word [esp + 0x11c]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x445f94
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40b383
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40b3dc
jmp 0x40b3de
jmp 0x40b3e0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00432fd0
jmp 0x40b3ee
jmp 0x40b3f0
mov al, byte [esp + 0x23]
jmp 0x40b3f6
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret