Function at 0x40aa70
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 [0x4476b8]
mov cl, byte [esp + 0x4c]
mov byte [esp + 0x50], cl
mov byte [esp + 0xd8], 0xd7
mov byte [esp + 0xd9], 0x6d
mov byte [esp + 0xda], 0xdb
mov byte [esp + 0xdb], 0x73
mov byte [esp + 0xdc], 0xc2
mov byte [esp + 0xdd], 0x71
mov byte [esp + 0xde], 0xde
mov byte [esp + 0xdf], 0x77
mov byte [esp + 0xe0], 0xc0
mov byte [esp + 0xe1], 0x75
mov byte [esp + 0xe2], 0xce
mov byte [esp + 0xe3], 0x7b
mov byte [esp + 0xe4], 0xc8
mov byte [esp + 0xe5], 0x79
mov byte [esp + 0xe6], 0x8c
mov byte [esp + 0xe7], 0x7f
mov byte [esp + 0xe8], 0xd8
mov byte [esp + 0xe9], 0x7d
mov byte [esp + 0xea], 0xee
mov byte [esp + 0xeb], 0x43
mov byte [esp + 0xec], 0xec
mov byte [esp + 0xed], 0x41
mov byte [esp + 0xee], 0x46
mov byte [esp + 0xef], 0x47
mov dword [esp + 0xf3], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x1f
jae 0x40abd0
jmp 0x40ab75
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
movzx edx, byte [esp + edx + 0xd8]
mov esi, ecx
and esi, 0x107b678e
xor ecx, 0x107b678e
lea ecx, [ecx + esi*2]
mov esi, ecx
and esi, edx
add ecx, edx
add esi, esi
sub ecx, esi
mov dword [esp + 0x15c], ecx
mov ecx, dword [esp + 0x15c]
add cl, 0x1e
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, 0x1f
jb 0x40ab75
jmp 0x40abd0
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, [0x447680]
mov dword [esp], eax
call fcn.00438fd0
sub esp, 4
test al, 1
jne 0x40ac28
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 1
jmp 0x40ac23
jmp 0x40b79e
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0xcd5bd590
call fcn.0043b2c0
mov dword [0x447688], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x3098095e
call fcn.0043b2c0
mov dword [0x44768c], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x4133be71
call fcn.0043b2c0
mov dword [0x447690], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x1c8a781f
call fcn.0043b2c0
mov dword [0x447694], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x71c23cd8
call fcn.0043b2c0
mov dword [0x447698], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x1c121576
call fcn.0043b2c0
mov dword [0x44769c], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x21bbc64b
call fcn.0043b2c0
mov dword [0x4476a0], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x8d2eb73e
call fcn.0043b2c0
mov dword [0x4476a4], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0xde1934d7
call fcn.0043b2c0
mov dword [0x4476a8], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0xa2add3c4
call fcn.0043b2c0
mov dword [0x4476ac], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0x1f4c40ff
call fcn.0043b2c0
mov dword [0x4476b0], eax
mov eax, dword [0x447680]
mov dword [esp], eax
mov dword [esp + 4], 0xfe8974d2
call fcn.0043b2c0
mov dword [0x4476b4], eax
lea eax, [0x43f5f4]
mov dword [esp + 0x170], eax
lea eax, [0x43f5f4]
mov dword [esp + 0x2c], eax
lea eax, [0x43f5f4]
add eax, 0x24
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x154]
jne 0x40ada1
mov dword [esp + 0x10], 2
jmp 0x40aee4
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.00434e90
jmp 0x40adca
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 0x40ade5
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 0x40ae0f
jmp 0x40ae62
mov dword [esp + 0x34], eax
jmp 0x40ae15
cmp byte [esi], 0
jne 0x40ae1e
mov eax, ebx
jmp 0x40ae60
lea eax, [esp + 0x144]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040f4b0
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 0x40ae15
mov ebx, eax
mov word [ebx], 0
lea eax, [esp + 0x2b4]
mov dword [esp], eax
call fcn.0040b7b0
test al, 1
jne 0x40ae7c
jmp 0x40aea6
lea eax, [esp + 0x2b4]
lea ecx, [0x4476bc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040c160
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], 1
jmp 0x40aea4
jmp 0x40aeb0
mov dword [esp + 0x10], 0
jmp 0x40aeb0
mov eax, dword [esp + 0x10]
jmp 0x40aeb6
cmp eax, 0
jne 0x40aec5
mov dword [esp + 0x10], 0
jmp 0x40aec5
mov eax, dword [esp + 0x10]
jmp 0x40aecb
cmp eax, 0
jne 0x40aee2
jmp 0x40aed2
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x2c], eax
jmp 0x40ad87
jmp 0x40aee4
cmp dword [esp + 0x10], 2
jne 0x40b79e
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
call fcn.004099e0
mov dword [esp + 0x14c], 0
mov al, byte [esp + 0x44]
mov byte [esp + 0x54], al
mov byte [esp + 0x60], 0x1e
mov byte [esp + 0x61], 0x79
mov byte [esp + 0x62], 0xc
mov byte [esp + 0x63], 0x7b
mov byte [esp + 0x64], 0xe
mov byte [esp + 0x65], 0x7d
mov byte [esp + 0x66], 0xc
mov byte [esp + 0x67], 0x7f
mov byte [esp + 0x68], 0xb
mov byte [esp + 0x69], 0x71
mov byte [esp + 0x6a], 0x3a
mov byte [esp + 0x6b], 0x73
mov byte [esp + 0x6c], 0x43
mov byte [esp + 0x6d], 0x75
mov byte [esp + 0x6e], 0x45
mov byte [esp + 0x6f], 0x77
mov byte [esp + 0x70], 3
mov byte [esp + 0x71], 0x89
mov byte [esp + 0x72], 0xfc
mov byte [esp + 0x73], 0x8b
mov byte [esp + 0x74], 0xed
mov byte [esp + 0x75], 0x8d
mov byte [esp + 0x76], 0xef
mov byte [esp + 0x77], 0x8f
mov byte [esp + 0x78], 0xf1
mov byte [esp + 0x79], 0x81
mov byte [esp + 0x7a], 0xe5
mov byte [esp + 0x7b], 0x83
mov byte [esp + 0x7c], 0xf3
mov byte [esp + 0x7d], 0x85
mov byte [esp + 0x7e], 0xfb
mov byte [esp + 0x7f], 0x87
mov byte [esp + 0x80], 0xf9
mov byte [esp + 0x81], 0x99
mov byte [esp + 0x82], 0xef
mov byte [esp + 0x83], 0x9b
mov byte [esp + 0x84], 0xe4
mov byte [esp + 0x85], 0x9d
mov byte [esp + 0x86], 0xe7
mov byte [esp + 0x87], 0x9f
mov byte [esp + 0x88], 0xea
mov byte [esp + 0x89], 0x91
mov byte [esp + 0x8a], 0x1b
mov byte [esp + 0x8b], 0x93
mov byte [esp + 0x8c], 0xac
mov byte [esp + 0x8d], 0x95
mov byte [esp + 0x8e], 0xf1
mov byte [esp + 0x8f], 0x97
mov byte [esp + 0x90], 0xe7
mov byte [esp + 0x91], 0xa9
mov byte [esp + 0x92], 0xd7
mov byte [esp + 0x93], 0xab
mov byte [esp + 0x94], 0x9b
mov byte [esp + 0x95], 0xad
mov byte [esp + 0x96], 0xdc
mov byte [esp + 0x97], 0xaf
mov byte [esp + 0x98], 0xdc
mov byte [esp + 0x99], 0xa1
mov byte [esp + 0x9a], 0xd1
mov byte [esp + 0x9b], 0xa3
mov byte [esp + 0x9c], 0xc4
mov byte [esp + 0x9d], 0xa5
mov byte [esp + 0x9e], 0xdf
mov byte [esp + 0x9f], 0xa7
mov byte [esp + 0xa0], 0xda
mov byte [esp + 0xa1], 0xb9
mov byte [esp + 0xa2], 0xdf
mov byte [esp + 0xa3], 0xbb
mov byte [esp + 0xa4], 0xcf
mov byte [esp + 0xa5], 0xbd
mov byte [esp + 0xa6], 0x8d
mov byte [esp + 0xa7], 0xbf
mov byte [esp + 0xa8], 0xf7
mov byte [esp + 0xa9], 0xb1
mov byte [esp + 0xaa], 0x86
mov byte [esp + 0xab], 0xb3
mov byte [esp + 0xac], 0x85
mov byte [esp + 0xad], 0xb5
mov byte [esp + 0xae], 0x82
mov byte [esp + 0xaf], 0xb7
mov byte [esp + 0xb0], 0x85
mov byte [esp + 0xb1], 0xc9
mov byte [esp + 0xb2], 0xfb
mov byte [esp + 0xb3], 0xcb
mov byte [esp + 0xb4], 0x81
mov byte [esp + 0xb5], 0xcd
mov byte [esp + 0xb6], 0x87
mov byte [esp + 0xb7], 0xcf
mov byte [esp + 0xb8], 0x87
mov byte [esp + 0xb9], 0xc1
mov byte [esp + 0xba], 0xf2
mov byte [esp + 0xbb], 0xc3
mov byte [esp + 0xbc], 0xf6
mov byte [esp + 0xbd], 0xc5
mov byte [esp + 0xbe], 0xf1
mov byte [esp + 0xbf], 0xc7
mov byte [esp + 0xc0], 0xf3
mov byte [esp + 0xc1], 0xd9
mov byte [esp + 0xc2], 0xeb
mov byte [esp + 0xc3], 0xdb
mov byte [esp + 0xc4], 0x91
mov byte [esp + 0xc5], 0xdd
mov byte [esp + 0xc6], 0xec
mov byte [esp + 0xc7], 0xdf
mov byte [esp + 0xc8], 0xee
mov byte [esp + 0xc9], 0xd1
mov byte [esp + 0xca], 0xd0
mov byte [esp + 0xcb], 0xd3
mov dword [esp + 0xcf], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0x73
jae 0x40b29f
jmp 0x40b251
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [esp + ecx + 0x60]
mov edx, eax
add edx, 0xef
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x8d1e03ef
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x160]
add al, 0x77
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, 0x73
jb 0x40b251
jmp 0x40b29f
jmp 0x40b2a1
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.0040c1a0
jmp 0x40b2c2
jmp 0x40b2c4
test al, 1
jne 0x40b2cd
jmp 0x40b78d
mov byte [esp + 0x17], 0
mov al, byte [esp + 0x3c]
mov byte [esp + 0x58], al
mov byte [esp + 0xf8], 0xbc
mov byte [esp + 0xf9], 0x72
mov byte [esp + 0xfa], 0x72
mov byte [esp + 0xfb], 0x62
mov byte [esp + 0xfc], 0x6a
mov byte [esp + 0xfd], 0xa5
mov byte [esp + 0xfe], 0x65
mov byte [esp + 0xff], 0x6b
mov byte [esp + 0x100], 0x69
mov byte [esp + 0x101], 0x7a
mov byte [esp + 0x102], 0x79
mov byte [esp + 0x103], 0xb6
mov byte [esp + 0x104], 0xae
mov byte [esp + 0x105], 0x6c
mov byte [esp + 0x106], 0x6d
mov byte [esp + 0x107], 0x7b
mov byte [esp + 0x108], 0x65
mov byte [esp + 0x109], 0x70
mov byte [esp + 0x10a], 0x7e
mov byte [esp + 0x10b], 0x4c
mov byte [esp + 0x10c], 0x64
mov byte [esp + 0x10d], 0x70
mov byte [esp + 0x10e], 0x64
mov byte [esp + 0x10f], 0x64
mov byte [esp + 0x110], 0x77
mov byte [esp + 0x111], 0x77
mov byte [esp + 0x112], 0x7b
mov byte [esp + 0x113], 0x44
mov byte [esp + 0x114], 0x72
mov byte [esp + 0x115], 0x7c
mov byte [esp + 0x116], 0x73
mov byte [esp + 0x117], 0x7a
mov byte [esp + 0x118], 0x82
mov byte [esp + 0x119], 0x9f
mov byte [esp + 0x11a], 0xa2
mov dword [esp + 0x11e], 0
mov dword [esp + 0x11b], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, 0x2a
jae 0x40b46f
jmp 0x40b41b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
movzx ecx, byte [esp + ecx + 0xf8]
mov edx, eax
add edx, 0x44367ac0
lea eax, [eax + ecx + 0x44367ac0]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x164]
add al, 0xc0
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, 0x2a
jb 0x40b41b
jmp 0x40b46f
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xf8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c880
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
setne al
test al, 1
jne 0x40b49b
jmp 0x40b754
mov al, byte [esp + 0x38]
mov byte [esp + 0x5c], al
mov byte [esp + 0x128], 0x5c
mov byte [esp + 0x129], 0x4e
mov byte [esp + 0x12a], 9
mov byte [esp + 0x12b], 0xb
mov byte [esp + 0x12c], 0x75
mov byte [esp + 0x12d], 3
mov byte [esp + 0x12e], 0x50
mov byte [esp + 0x12f], 0x97
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jae 0x40b55d
jmp 0x40b50c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x128]
mov edx, eax
add edx, 0x44
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x5eba4d44
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x168]
add al, 0x24
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, 0x10
jb 0x40b50c
jmp 0x40b55d
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c880
mov dword [esp + 0x140], eax
cmp dword [esp + 0x140], 0
je 0x40b752
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.00409320
mov dword [esp + 0x138], eax
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x138]
cmp eax, ecx
setb al
test al, 1
jne 0x40b5e1
jmp 0x40b5d5
mov dword [esp + 0x10], 4
jmp 0x40b5df
jmp 0x40b65d
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x28]
mov al, byte [eax + ecx]
mov byte [esp + 0xe], al
mov al, byte [esp + 0xe]
movsx eax, al
jmp 0x40b5fc
cmp eax, 0x61
jl 0x40b63c
movsx eax, byte [esp + 0xe]
cmp eax, 0x7a
jg 0x40b63c
movsx eax, byte [esp + 0xe]
sub eax, 0x61
sub eax, 0xb
mov ecx, eax
and ecx, 0x1a
shl ecx, 1
xor eax, 0x1a
add eax, ecx
mov ecx, 0x1a
cdq
idiv ecx
sub edx, 0x6b5ab24
add edx, 0x61
add edx, 0x6b5ab24
jmp 0x40b642
mov dl, byte [esp + 0xe]
jmp 0x40b642
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 0x40b5bf
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x174]
add eax, ecx
jmp 0x40b66f
mov byte [eax], 0
jmp 0x40b674
jmp 0x40b676
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 0x40b691
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 0x40b6bb
jmp 0x40b70e
mov dword [esp + 0x30], eax
jmp 0x40b6c1
cmp byte [esi], 0
jne 0x40b6ca
mov eax, ebx
jmp 0x40b70c
lea eax, [esp + 0x148]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040f4b0
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 0x40b6c1
mov ebx, eax
mov word [ebx], 0
lea eax, [esp + 0x1b4]
mov dword [esp], eax
call fcn.0040b7b0
test al, 1
jne 0x40b728
jmp 0x40b748
lea eax, [esp + 0x1b4]
lea ecx, [0x4476bc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040c160
mov byte [esp + 0x17], 1
jmp 0x40b748
jmp 0x40b74a
jmp 0x40b74c
jmp 0x40b74e
jmp 0x40b750
jmp 0x40b752
jmp 0x40b754
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00437d10
test byte [esp + 0x17], 1
je 0x40b778
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], 1
jmp 0x40b776
jmp 0x40b780
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
jmp 0x40b786
cmp eax, 0
jne 0x40b79a
jmp 0x40b78d
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 1
jmp 0x40b79c
jmp 0x40b79e
mov al, byte [esp + 0xf]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret