Function at 0x40a9d0
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, 0x1b0
mov eax, dword [ebp + 8]
mov byte [esp + 0x1f], 0
mov al, byte [esp + 0x68]
mov byte [esp + 0x6c], al
mov byte [esp + 0x118], 0x25
mov byte [esp + 0x119], 0x3c
mov byte [esp + 0x11a], 0xc
mov byte [esp + 0x11b], 0x44
mov byte [esp + 0x11c], 0x36
mov byte [esp + 0x11d], 0x26
mov byte [esp + 0x11e], 0x22
mov byte [esp + 0x11f], 0x20
mov byte [esp + 0x120], 0x9e
mov word [esp + 0x12d], 0
mov dword [esp + 0x129], 0
mov dword [esp + 0x125], 0
mov dword [esp + 0x121], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, 0x17
jae 0x40aad3
jmp 0x40aa75
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
movzx ecx, byte [esp + ecx + 0x118]
mov edx, eax
add edx, 0x3646c96b
and edx, ecx
lea eax, [eax + ecx + 0x3646c96b]
add edx, edx
sub eax, edx
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x170]
add al, 0x13
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0x118], al
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x17
jb 0x40aa75
jmp 0x40aad3
lea eax, [esp + 0x18f]
lea edx, [esp + 0x118]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x197]
lea edx, [esp + 0x120]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x120]
mov byte [esp + 0x197], cl
mov cl, byte [esp + 0x64]
mov byte [esp + 0x70], cl
mov byte [esp + 0x88], 0xcb
mov byte [esp + 0x89], 0xd
mov byte [esp + 0x8a], 0x91
mov byte [esp + 0x8b], 3
mov byte [esp + 0x8c], 0x92
mov byte [esp + 0x8d], 1
mov byte [esp + 0x8e], 0x92
mov byte [esp + 0x8f], 7
mov byte [esp + 0x90], 0xe1
mov byte [esp + 0x91], 5
mov byte [esp + 0x92], 0xa8
mov byte [esp + 0x93], 0x3b
mov byte [esp + 0x94], 0xac
mov byte [esp + 0x95], 0x39
mov byte [esp + 0x96], 0xe3
mov byte [esp + 0x97], 0x3f
mov byte [esp + 0x98], 0xc8
mov byte [esp + 0x99], 0x3d
mov byte [esp + 0x9a], 0xbb
mov byte [esp + 0x9b], 0x33
mov byte [esp + 0x9c], 0xa0
mov byte [esp + 0x9d], 0x31
mov byte [esp + 0x9e], 0xd3
mov byte [esp + 0x9f], 0x37
mov byte [esp + 0xa0], 0xfa
mov byte [esp + 0xa1], 0x35
mov byte [esp + 0xa2], 0xa
mov byte [esp + 0xa3], 0x2b
mov byte [esp + 0xa4], 0xc9
mov byte [esp + 0xa5], 0x29
mov byte [esp + 0xa6], 0xbe
mov byte [esp + 0xa7], 0x2f
mov byte [esp + 0xa8], 0xbc
mov byte [esp + 0xa9], 0x2d
mov byte [esp + 0xaa], 0xbe
mov byte [esp + 0xab], 0x23
mov byte [esp + 0xac], 0xb9
mov byte [esp + 0xad], 0x21
mov byte [esp + 0xae], 0xc1
mov byte [esp + 0xaf], 0x27
mov byte [esp + 0xb0], 0xc5
mov byte [esp + 0xb1], 0x25
mov byte [esp + 0xb2], 0x4e
mov byte [esp + 0xb3], 0xdb
mov byte [esp + 0xb4], 0x41
mov byte [esp + 0xb5], 0xd9
mov byte [esp + 0xb6], 0x4d
mov byte [esp + 0xb7], 0xdf
mov byte [esp + 0xb8], 0x4e
mov byte [esp + 0xb9], 0xdd
mov byte [esp + 0xba], 1
mov byte [esp + 0xbb], 0xd3
mov byte [esp + 0xbc], 0x58
mov byte [esp + 0xbd], 0xd1
mov byte [esp + 0xbe], 0xb
mov byte [esp + 0xbf], 0xd7
mov byte [esp + 0xc0], 0x5f
mov byte [esp + 0xc1], 0xd5
mov byte [esp + 0xc2], 0x41
mov byte [esp + 0xc3], 0xcb
mov byte [esp + 0xc4], 0x43
mov byte [esp + 0xc5], 0xc9
mov byte [esp + 0xc6], 0x13
mov byte [esp + 0xc7], 0xcf
mov byte [esp + 0xc8], 0x56
mov byte [esp + 0xc9], 0xcd
mov byte [esp + 0xca], 0x51
mov byte [esp + 0xcb], 0xc3
mov byte [esp + 0xcc], 0x56
mov byte [esp + 0xcd], 0xc1
mov byte [esp + 0xce], 0x5b
mov byte [esp + 0xcf], 0xc7
mov byte [esp + 0xd0], 0x19
mov byte [esp + 0xd1], 0xc5
mov byte [esp + 0xd2], 0x6f
mov byte [esp + 0xd3], 0xfb
mov byte [esp + 0xd4], 0x6e
mov byte [esp + 0xd5], 0xf9
mov byte [esp + 0xd6], 0x62
mov byte [esp + 0xd7], 0xff
mov byte [esp + 0xd8], 0x19
mov byte [esp + 0xd9], 0xfd
mov byte [esp + 0xda], 0x60
mov byte [esp + 0xdb], 0xf3
mov byte [esp + 0xdc], 0x17
mov byte [esp + 0xdd], 0xf1
mov byte [esp + 0xde], 0x65
mov byte [esp + 0xdf], 0xf7
mov byte [esp + 0xe0], 0x10
mov byte [esp + 0xe1], 0xf5
mov byte [esp + 0xe2], 0xf
mov byte [esp + 0xe3], 0xeb
mov byte [esp + 0xe4], 0xc
mov byte [esp + 0xe5], 0xe9
mov byte [esp + 0xe6], 0xd3
mov byte [esp + 0xe7], 0xef
mov byte [esp + 0xe8], 0xd2
mov byte [esp + 0xe9], 0xed
mov byte [esp + 0xea], 0xe2
mov byte [esp + 0xeb], 0xe3
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
cmp ecx, 0x6c
jae 0x40aec6
jmp 0x40ae64
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
movzx edx, byte [esp + edx + 0x88]
mov esi, ecx
add esi, 0xac6fe9d6
add ecx, 0xd6
mov edi, esi
or edi, ecx
and edi, edx
or esi, edx
sub esi, edi
mov dword [esp + 0x174], esi
mov ecx, dword [esp + 0x174]
mov edx, ecx
xor edx, 0x25
and ecx, 0x25
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 0x24]
mov byte [esp + edx + 0x88], cl
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 0x6c
jb 0x40ae64
jmp 0x40aec6
mov cl, byte [esp + 0x60]
mov byte [esp + 0x74], cl
mov byte [esp + 0x138], 0xe7
mov byte [esp + 0x139], 0xd5
mov byte [esp + 0x13a], 0xb3
mov byte [esp + 0x13b], 0xeb
mov byte [esp + 0x13c], 0x9a
mov byte [esp + 0x13d], 0xe9
mov byte [esp + 0x13e], 0x97
mov byte [esp + 0x13f], 0xef
mov byte [esp + 0x140], 0xee
mov byte [esp + 0x141], 0xed
mov byte [esp + 0x14a], 0
mov dword [esp + 0x146], 0
mov dword [esp + 0x142], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x13
jae 0x40afc7
jmp 0x40af4f
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
movzx edi, byte [esp + ecx + 0x138]
mov ecx, esi
add ecx, 0xec4fe7dd
lea edx, [esi + edi - 0x13b01823]
and ecx, edi
add esi, 0xdd
and esi, edi
add ecx, esi
mov esi, ecx
not esi
mov edi, edx
and edi, esi
not edx
and ecx, edx
sub edi, ecx
mov dword [esp + 0x178], edi
mov edx, dword [esp + 0x178]
mov ecx, edx
or ecx, 0xf4
and edx, 0xf4
add ecx, edx
inc cl
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x138], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x13
jb 0x40af4f
jmp 0x40afc7
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x138]
lea esi, [esp + 0x88]
lea edi, [esp + 0x4c]
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.0040b540
test al, 1
jne 0x40b00f
jmp 0x40b4df
mov al, byte [esp + 0x5c]
mov byte [esp + 0x78], al
mov byte [esp + 0x150], 0xbf
mov byte [esp + 0x151], 0xba
mov byte [esp + 0x152], 0x2a
mov dword [esp + 0x15b], 0
mov dword [esp + 0x157], 0
mov dword [esp + 0x153], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
cmp eax, 0xf
jae 0x40b0bf
jmp 0x40b063
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [esp + ecx + 0x150]
mov edx, eax
add edx, 0x26d0b5fa
add eax, 0xfa
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x17c], edx
mov ecx, dword [esp + 0x17c]
mov eax, ecx
or eax, 0x29
and ecx, 0x29
add eax, ecx
inc al
mov ecx, dword [esp + 0x2c]
mov byte [esp + ecx + 0x150], al
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp eax, 0xf
jb 0x40b063
jmp 0x40b0bf
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x150]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d270
cmp eax, 0
jne 0x40b0e5
mov byte [esp + 0x1f], 1
jmp 0x40b4cf
mov al, byte [esp + 0x58]
mov byte [esp + 0x7c], al
mov byte [esp + 0x40], 0x33
mov byte [esp + 0x41], 0x20
mov byte [esp + 0x42], 0x25
mov byte [esp + 0x43], 0x37
mov byte [esp + 0x44], 0x21
mov byte [esp + 0x45], 0x3a
mov byte [esp + 0x46], 0x24
mov byte [esp + 0x47], 0x97
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 8
jae 0x40b175
jmp 0x40b128
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + ecx + 0x40]
mov ecx, 0x842b1795
sub ecx, eax
add eax, 0x6a
and eax, edx
or ecx, edx
not ecx
add ecx, edx
sub ecx, eax
mov dword [esp + 0x180], ecx
mov eax, dword [esp + 0x180]
add al, 0x1a
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x40], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 8
jb 0x40b128
jmp 0x40b175
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d2a0
cmp eax, 0
je 0x40b4cd
mov al, byte [esp + 0x54]
mov byte [esp + 0x80], al
mov byte [esp + 0xf8], 0xc4
mov byte [esp + 0xf9], 0xb2
mov byte [esp + 0xfa], 0xc7
mov byte [esp + 0xfb], 0xd0
mov byte [esp + 0xfc], 0x89
mov byte [esp + 0xfd], 0x6f
mov byte [esp + 0xfe], 0xaf
mov byte [esp + 0xff], 0xdb
mov byte [esp + 0x100], 0xdf
mov byte [esp + 0x101], 0xd0
mov byte [esp + 0x102], 0x6a
mov byte [esp + 0x103], 0x63
mov byte [esp + 0x104], 0xc8
mov byte [esp + 0x105], 0xa6
mov byte [esp + 0x106], 0xdc
mov byte [esp + 0x107], 0xcc
mov byte [esp + 0x108], 0xdd
mov byte [esp + 0x109], 0x86
mov byte [esp + 0x10a], 0x62
mov byte [esp + 0x10b], 0x7b
mov dword [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x1c
jae 0x40b2d1
jmp 0x40b266
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x34]
movzx edx, byte [esp + eax + 0xf8]
lea eax, [ecx + edx + 0x6a43f70d]
mov esi, ecx
add esi, 0xd
and esi, edx
mov edi, 0x95bc08f2
sub edi, ecx
or edi, edx
add ecx, edi
lea ecx, [esi + ecx + 0x6a43f70e]
mov edx, ecx
xor edx, eax
not ecx
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x184]
add al, 0xa5
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0xf8], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x1c
jb 0x40b266
jmp 0x40b2d1
lea eax, [esp + 0x198]
lea edx, [esp + 0xf8]
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 + 0xf8]
add edx, 0x14
xor ecx, ecx
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea eax, [esp + 0x198]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d2a0
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0
je 0x40b4cd
mov eax, dword [esp + 0x3c]
add eax, 0x13
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x50]
mov byte [esp + 0x84], al
mov byte [esp + 0x160], 0x7a
mov byte [esp + 0x161], 0x5f
mov byte [esp + 0x162], 0x1a
mov dword [esp + 0x167], 0
mov dword [esp + 0x163], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0xb
jae 0x40b3f2
jmp 0x40b381
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0x160]
mov edx, eax
and edx, 0xeb081f2c
xor eax, 0x6b081f2c
lea edx, [eax + edx*2]
mov eax, edx
add eax, ecx
mov esi, edx
and esi, ecx
mov edi, edx
not edi
or edi, ecx
add edx, edi
lea ecx, [esi + edx + 1]
mov edx, eax
not edx
mov esi, ecx
and esi, edx
not ecx
and eax, ecx
sub eax, esi
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x188]
add al, 0xcc
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0x160], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0xb
jb 0x40b381
jmp 0x40b3f2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x160]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d2a0
mov dword [esp + 0x130], eax
cmp dword [esp + 0x130], 0
je 0x40b4cd
mov byte [0x449930], 1
mov edi, dword [esp + 0x130]
mov esi, dword [esp + 0x3c]
cmp edi, 0
jne 0x40b459
mov ecx, esi
jmp 0x40b439
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b439
mov ecx, eax
xor ecx, 0xffffffff
and ecx, esi
mov edx, esi
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
mov edi, esi
add edi, eax
mov dword [esp + 0x134], 0
lea eax, [0x449932]
cmp edi, esi
jbe 0x40b4c3
lea ebx, [0x449932]
jmp 0x40b476
cmp byte [esi], 0
jne 0x40b47f
mov eax, ebx
jmp 0x40b4c3
lea eax, [esp + 0x134]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00410020
add esi, eax
mov cx, word [esp + 0x134]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x449b30
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40b476
mov word [eax], 0
mov byte [esp + 0x1f], 1
jmp 0x40b4cf
mov eax, dword [esp + 0x4c]
jmp 0x40b4d5
mov dword [esp], eax
call fcn.004367d0
jmp 0x40b4df
mov al, byte [esp + 0x1f]
jmp 0x40b4e5
jmp 0x40b4e7
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret