Function at 0x40a550
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, 0x3b8
mov eax, dword [0x4485d0]
mov cl, byte [esp + 0x4c]
mov byte [esp + 0x50], cl
mov byte [esp + 0xd8], 0x3f
mov byte [esp + 0xd9], 0xb5
mov byte [esp + 0xda], 0x23
mov byte [esp + 0xdb], 0xb3
mov byte [esp + 0xdc], 0x20
mov byte [esp + 0xdd], 0xb1
mov byte [esp + 0xde], 0x28
mov byte [esp + 0xdf], 0xaf
mov byte [esp + 0xe0], 0x22
mov byte [esp + 0xe1], 0xad
mov byte [esp + 0xe2], 0x20
mov byte [esp + 0xe3], 0xab
mov byte [esp + 0xe4], 0x3a
mov byte [esp + 0xe5], 0xa9
mov byte [esp + 0xe6], 0x7a
mov byte [esp + 0xe7], 0xa7
mov byte [esp + 0xe8], 0x3a
mov byte [esp + 0xe9], 0xa5
mov byte [esp + 0xea], 0x30
mov byte [esp + 0xeb], 0xa3
mov byte [esp + 0xec], 0x36
mov byte [esp + 0xed], 0xa1
mov byte [esp + 0xee], 0xa0
mov byte [esp + 0xef], 0x5f
mov byte [esp + 0xf0], 0
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x19
jae 0x40a6a5
jmp 0x40a647
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
movzx edx, byte [esp + edx + 0xd8]
mov esi, ecx
add esi, 0x31d1ed69
lea ecx, [ecx + edx + 0x31d1ed69]
and esi, edx
add esi, esi
sub ecx, esi
mov dword [esp + 0x15c], ecx
mov edx, dword [esp + 0x15c]
mov ecx, edx
or ecx, 0x20
and edx, 0x20
add ecx, edx
inc cl
mov edx, dword [esp + 0x18]
mov byte [esp + edx + 0xd8], cl
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, 0x19
jb 0x40a647
jmp 0x40a6a5
lea ecx, [esp + 0xd8]
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x800
call eax
sub esp, 0xc
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x158]
lea ecx, [0x448598]
mov dword [esp], eax
call fcn.00439db0
sub esp, 4
test al, 1
jne 0x40a6fb
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 1
jmp 0x40b290
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0x62b3486b
call fcn.0043bfb0
mov dword [0x4485a0], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0xdfcb006b
call fcn.0043bfb0
mov dword [0x4485a4], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0x496f8bf4
call fcn.0043bfb0
mov dword [0x4485a8], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0xb0c94c10
call fcn.0043bfb0
mov dword [0x4485ac], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0x2ab70a9
call fcn.0043bfb0
mov dword [0x4485b0], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0x5b275fff
call fcn.0043bfb0
mov dword [0x4485b4], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0xfac074e6
call fcn.0043bfb0
mov dword [0x4485b8], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0x53e744db
call fcn.0043bfb0
mov dword [0x4485bc], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0x687139c0
call fcn.0043bfb0
mov dword [0x4485c0], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0xb27c8613
call fcn.0043bfb0
mov dword [0x4485c4], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0xdd44a73a
call fcn.0043bfb0
mov dword [0x4485c8], eax
mov eax, dword [0x448598]
mov dword [esp], eax
mov dword [esp + 4], 0xe2d4035b
call fcn.0043bfb0
mov dword [0x4485cc], eax
lea eax, [0x4405f4]
mov dword [esp + 0x170], eax
jmp 0x40a842
lea eax, [0x4405f4]
mov dword [esp + 0x2c], eax
lea eax, [0x4405f4]
add eax, 0x24
mov dword [esp + 0x154], eax
jmp 0x40a85e
jmp 0x40a860
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x154]
jne 0x40a87a
mov dword [esp + 0x10], 2
jmp 0x40a9bb
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x150], eax
lea eax, [esp + 0x234]
mov ecx, dword [esp + 0x150]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004351e0
lea esi, [esp + 0x234]
lea ebx, [esp + 0x2b4]
mov eax, ebx
add eax, 0x100
mov dword [esp + 0x34], eax
mov ecx, esi
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40a8bc
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffffe
cmp edi, esi
ja 0x40a8e6
jmp 0x40a939
mov dword [esp + 0x34], eax
jmp 0x40a8ec
cmp byte [esi], 0
jne 0x40a8f5
mov eax, ebx
jmp 0x40a937
lea eax, [esp + 0x144]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040ef90
add esi, eax
mov cx, word [esp + 0x144]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, dword [esp + 0x34]
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40a8ec
mov ebx, eax
mov word [ebx], 0
lea eax, [esp + 0x2b4]
mov dword [esp], eax
call fcn.0040b2b0
test al, 1
jne 0x40a953
jmp 0x40a97b
lea eax, [esp + 0x2b4]
lea ecx, [0x4485d4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040bbc0
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], 1
jmp 0x40a983
mov dword [esp + 0x10], 0
jmp 0x40a985
jmp 0x40a987
mov eax, dword [esp + 0x10]
jmp 0x40a98d
jmp 0x40a98f
cmp eax, 0
jne 0x40a99e
mov dword [esp + 0x10], 0
jmp 0x40a99e
cmp dword [esp + 0x10], 0
jne 0x40a9b9
jmp 0x40a9a7
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x2c], eax
jmp 0x40a9b4
jmp 0x40a860
jmp 0x40a9bb
cmp dword [esp + 0x10], 2
jne 0x40b290
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
sub esp, 4
mov dword [esp + 0x16c], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x14c], 0
mov al, byte [esp + 0x44]
mov byte [esp + 0x54], al
mov byte [esp + 0x60], 0xd4
mov byte [esp + 0x61], 0x4d
mov byte [esp + 0x62], 0xd6
mov byte [esp + 0x63], 0x43
mov byte [esp + 0x64], 0xd4
mov byte [esp + 0x65], 0x41
mov byte [esp + 0x66], 0xd6
mov byte [esp + 0x67], 0x47
mov byte [esp + 0x68], 0xd3
mov byte [esp + 0x69], 0x45
mov byte [esp + 0x6a], 0xf4
mov byte [esp + 0x6b], 0xbb
mov byte [esp + 0x6c], 0xeb
mov byte [esp + 0x6d], 0xb9
mov byte [esp + 0x6e], 0xed
mov byte [esp + 0x6f], 0xbf
mov byte [esp + 0x70], 0x2b
mov byte [esp + 0x71], 0xbd
mov byte [esp + 0x72], 0x26
mov byte [esp + 0x73], 0xb3
mov byte [esp + 0x74], 0x15
mov byte [esp + 0x75], 0xb1
mov byte [esp + 0x76], 0x17
mov byte [esp + 0x77], 0xb7
mov byte [esp + 0x78], 0x29
mov byte [esp + 0x79], 0xb5
mov byte [esp + 0x7a], 0xd
mov byte [esp + 0x7b], 0xab
mov byte [esp + 0x7c], 0x3b
mov byte [esp + 0x7d], 0xa9
mov byte [esp + 0x7e], 0x33
mov byte [esp + 0x7f], 0xaf
mov byte [esp + 0x80], 0x31
mov byte [esp + 0x81], 0xad
mov byte [esp + 0x82], 0x37
mov byte [esp + 0x83], 0xa3
mov byte [esp + 0x84], 0x32
mov byte [esp + 0x85], 0xa1
mov byte [esp + 0x86], 0x3f
mov byte [esp + 0x87], 0xa7
mov byte [esp + 0x88], 0x30
mov byte [esp + 0x89], 0xa5
mov byte [esp + 0x8a], 0x13
mov byte [esp + 0x8b], 0x9b
mov byte [esp + 0x8c], 0xca
mov byte [esp + 0x8d], 0x99
mov byte [esp + 0x8e], 0x39
mov byte [esp + 0x8f], 0x9f
mov byte [esp + 0x90], 0xf
mov byte [esp + 0x91], 0x9d
mov byte [esp + 0x92], 0xf
mov byte [esp + 0x93], 0x93
mov byte [esp + 0x94], 0xc3
mov byte [esp + 0x95], 0x91
mov byte [esp + 0x96], 6
mov byte [esp + 0x97], 0x97
mov byte [esp + 0x98], 2
mov byte [esp + 0x99], 0x95
mov byte [esp + 0x9a], 0x19
mov byte [esp + 0x9b], 0x8b
mov byte [esp + 0x9c], 0x12
mov byte [esp + 0x9d], 0x89
mov byte [esp + 0x9e], 0x17
mov byte [esp + 0x9f], 0x8f
mov byte [esp + 0xa0], 0x10
mov byte [esp + 0xa1], 0x8d
mov byte [esp + 0xa2], 0x27
mov byte [esp + 0xa3], 0x83
mov byte [esp + 0xa4], 0x17
mov byte [esp + 0xa5], 0x81
mov byte [esp + 0xa6], 0xd5
mov byte [esp + 0xa7], 0x87
mov byte [esp + 0xa8], 0xcf
mov byte [esp + 0xa9], 0x85
mov byte [esp + 0xaa], 0xb0
mov byte [esp + 0xab], 0xfb
mov byte [esp + 0xac], 0xad
mov byte [esp + 0xad], 0xf9
mov byte [esp + 0xae], 0xb4
mov byte [esp + 0xaf], 0xff
mov byte [esp + 0xb0], 0xad
mov byte [esp + 0xb1], 0xfd
mov byte [esp + 0xb2], 0xa3
mov byte [esp + 0xb3], 0xf3
mov byte [esp + 0xb4], 0xb9
mov byte [esp + 0xb5], 0xf1
mov byte [esp + 0xb6], 0xbf
mov byte [esp + 0xb7], 0xf7
mov byte [esp + 0xb8], 0xbf
mov byte [esp + 0xb9], 0xf5
mov byte [esp + 0xba], 0xbc
mov byte [esp + 0xbb], 0xeb
mov byte [esp + 0xbc], 0xbc
mov byte [esp + 0xbd], 0xe9
mov byte [esp + 0xbe], 0xb9
mov byte [esp + 0xbf], 0xef
mov byte [esp + 0xc0], 0xbb
mov byte [esp + 0xc1], 0xed
mov byte [esp + 0xc2], 0xb3
mov byte [esp + 0xc3], 0xe3
mov byte [esp + 0xc4], 0xa9
mov byte [esp + 0xc5], 0xe1
mov byte [esp + 0xc6], 0xb6
mov byte [esp + 0xc7], 0xe7
mov byte [esp + 0xc8], 0xb4
mov byte [esp + 0xc9], 0xe5
mov byte [esp + 0xca], 0xda
mov byte [esp + 0xcb], 0xdb
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0x74
jae 0x40ad6d
jmp 0x40ad23
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [esp + ecx + 0x60]
mov edx, eax
add edx, 0xc383dd76
add eax, 0x76
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x160], edx
mov eax, dword [esp + 0x160]
add al, 0xc6
mov ecx, dword [esp + 0x1c]
mov byte [esp + ecx + 0x60], al
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0x74
jb 0x40ad23
jmp 0x40ad6d
lea eax, [esp + 0x60]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040bc00
test al, 1
jne 0x40ad95
jmp 0x40b27d
call fcn.0040f140
mov byte [esp + 0x17], 0
mov al, byte [esp + 0x3c]
mov byte [esp + 0x58], al
mov byte [esp + 0xf8], 0x7c
mov byte [esp + 0xf9], 0x22
mov byte [esp + 0xfa], 0x22
mov byte [esp + 0xfb], 0x52
mov byte [esp + 0xfc], 0x2a
mov byte [esp + 0xfd], 0x95
mov byte [esp + 0xfe], 0x55
mov byte [esp + 0xff], 0x2b
mov byte [esp + 0x100], 0x49
mov byte [esp + 0x101], 0x3a
mov byte [esp + 0x102], 0x39
mov byte [esp + 0x103], 0x66
mov byte [esp + 0x104], 0x8e
mov byte [esp + 0x105], 0x4c
mov byte [esp + 0x106], 0x4d
mov byte [esp + 0x107], 0x3b
mov byte [esp + 0x108], 0x35
mov byte [esp + 0x109], 0x40
mov byte [esp + 0x10a], 0x3e
mov byte [esp + 0x10b], 0x4c
mov byte [esp + 0x10c], 0x34
mov byte [esp + 0x10d], 0x40
mov byte [esp + 0x10e], 0x34
mov byte [esp + 0x10f], 0x34
mov byte [esp + 0x110], 0xc7
mov byte [esp + 0x111], 0xc7
mov byte [esp + 0x112], 0xbb
mov byte [esp + 0x113], 0xb4
mov byte [esp + 0x114], 0xc2
mov byte [esp + 0x115], 0xbc
mov byte [esp + 0x116], 0xc3
mov byte [esp + 0x117], 0xba
mov byte [esp + 0x118], 0x72
mov byte [esp + 0x119], 0x9f
mov byte [esp + 0x11a], 0x52
mov word [esp + 0x123], 0
mov dword [esp + 0x11f], 0
mov dword [esp + 0x11b], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, 0x2d
jae 0x40af4b
jmp 0x40aef2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
movzx ecx, byte [esp + ecx + 0xf8]
mov edx, eax
and edx, 0xf4fa2968
xor eax, 0xf4fa2968
lea eax, [eax + edx*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x164]
add al, 0x28
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0xf8], al
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x2d
jb 0x40aef2
jmp 0x40af4b
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xf8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c2d0
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
setne al
test al, 1
jne 0x40af77
jmp 0x40b240
mov al, byte [esp + 0x38]
mov byte [esp + 0x5c], al
mov byte [esp + 0x128], 0x90
mov byte [esp + 0x129], 0x9e
mov byte [esp + 0x12a], 0x65
mov byte [esp + 0x12b], 0x63
mov byte [esp + 0x12c], 0x91
mov byte [esp + 0x12d], 0x63
mov byte [esp + 0x12e], 0xb4
mov byte [esp + 0x12f], 0xf7
lea eax, [esp + 0x128]
add eax, 8
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 5
call fcn.00408dd0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0xd
jae 0x40b054
jmp 0x40aff6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x128]
mov edx, eax
add edx, 0x79c4dde
and edx, ecx
lea eax, [eax + ecx + 0x79c4dde]
add edx, edx
mov ecx, edx
xor ecx, eax
not edx
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x168]
add al, 0xee
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x128], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0xd
jb 0x40aff6
jmp 0x40b054
jmp 0x40b056
jmp 0x40b058
jmp 0x40b05a
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c2d0
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x140]
cmp eax, 0
setne al
test al, 1
jne 0x40b08e
jmp 0x40b23e
mov eax, dword [esp + 0x140]
mov byte [eax], 0
mov eax, dword [esp + 0x40]
add eax, 0x22
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
call fcn.00408e80
mov dword [esp + 0x138], eax
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x138]
jb 0x40b0db
mov dword [esp + 0x10], 4
jmp 0x40b155
mov eax, dword [esp + 0x13c]
add eax, dword [esp + 0x28]
mov al, byte [eax]
mov byte [esp + 0xe], al
mov al, byte [esp + 0xe]
movsx eax, al
jmp 0x40b0f5
jmp 0x40b0f7
cmp eax, 0x61
setge al
jmp 0x40b0ff
test al, 1
jne 0x40b105
jmp 0x40b134
mov al, byte [esp + 0xe]
movsx eax, al
cmp eax, 0x7a
jg 0x40b134
movsx eax, byte [esp + 0xe]
add eax, 0xffffff9e
add eax, 1
add eax, 0xfffffff4
add eax, 1
sub eax, 0xffffffe6
mov ecx, 0x1a
cdq
idiv ecx
add edx, 0x61
jmp 0x40b132
jmp 0x40b13a
mov dl, byte [esp + 0xe]
jmp 0x40b13a
mov eax, dword [esp + 0x28]
mov byte [esp + eax + 0x174], dl
mov eax, dword [esp + 0x28]
sub eax, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x40b0c4
mov eax, dword [esp + 0x138]
mov byte [esp + eax + 0x174], 0
lea esi, [esp + 0x174]
lea ebx, [esp + 0x1b4]
mov eax, ebx
add eax, 0x80
mov dword [esp + 0x30], eax
mov ecx, esi
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b17f
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x148], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffffe
cmp edi, esi
ja 0x40b1a9
jmp 0x40b1fc
mov dword [esp + 0x30], eax
jmp 0x40b1af
cmp byte [esi], 0
jne 0x40b1b8
mov eax, ebx
jmp 0x40b1fa
lea eax, [esp + 0x148]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040ef90
add esi, eax
mov cx, word [esp + 0x148]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, dword [esp + 0x30]
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40b1af
mov ebx, eax
mov word [ebx], 0
lea eax, [esp + 0x1b4]
mov dword [esp], eax
call fcn.0040b2b0
test al, 1
jne 0x40b216
jmp 0x40b23a
lea eax, [esp + 0x1b4]
lea ecx, [0x4485d4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040bbc0
mov byte [esp + 0x17], 1
jmp 0x40b236
jmp 0x40b238
jmp 0x40b23a
jmp 0x40b23c
jmp 0x40b23e
jmp 0x40b240
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00438940
test byte [esp + 0x17], 1
je 0x40b266
mov byte [esp + 0xf], 1
jmp 0x40b25a
mov dword [esp + 0x10], 1
jmp 0x40b264
jmp 0x40b270
mov dword [esp + 0x10], 0
jmp 0x40b270
mov eax, dword [esp + 0x10]
jmp 0x40b276
cmp eax, 0
jne 0x40b28c
jmp 0x40b27d
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 1
jmp 0x40b28c
jmp 0x40b28e
jmp 0x40b290
mov al, byte [esp + 0xf]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret