Function at 0x405e5a
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
cmp dword [ebp + 0x10], 0
jbe 0x405e85
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x405e85
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00405af2
pop ecx
pop ecx
jmp 0x4068d7
cmp dword [ebp + 0x10], 0
jne 0x406390
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00404de2
mov dword [ebp - 0x48], eax
cmp dword [0xa8a818], 0
jne 0x406364
mov dword [ebp - 0x104], 0x4ab6
lea eax, [ebp - 0x104]
push eax
call fcn.004059b2
pop ecx
mov dword [ebp - 0xec], eax
mov byte [ebp - 0xd8], 8
mov byte [ebp - 0xd7], 0x70
mov byte [ebp - 0xd6], 0xa
mov byte [ebp - 0xd5], 0x48
mov byte [ebp - 0xd4], 4
mov byte [ebp - 0xd3], 0x6a
mov byte [ebp - 0xd2], 1
mov byte [ebp - 0xd1], 0x6c
mov byte [ebp - 0xd0], 0xb
mov byte [ebp - 0xcf], 0x81
mov byte [ebp - 0xce], 9
mov byte [ebp - 0xcd], 0x79
mov byte [ebp - 0xcc], 6
mov byte [ebp - 0xcb], 0x80
mov byte [ebp - 0xca], 2
mov byte [ebp - 0xc9], 0x83
mov byte [ebp - 0xc8], 0xc
mov byte [ebp - 0xc7], 0x68
mov byte [ebp - 0xc6], 0x27
mov byte [ebp - 0xc5], 0x25
mov byte [ebp - 0xc4], 0x16
mov byte [ebp - 0xc3], 0x81
mov byte [ebp - 0xc2], 0x78
mov byte [ebp - 0xc1], 0x1d
mov byte [ebp - 0xc0], 1
mov byte [ebp - 0xbf], 0x89
mov byte [ebp - 0xbe], 0x47
mov byte [ebp - 0xbd], 0x42
mov byte [ebp - 0xbc], 0x1e
mov byte [ebp - 0xbb], 0xd2
mov byte [ebp - 0xba], 0xd0
mov byte [ebp - 0xb9], 0xb5
mov byte [ebp - 0xb8], 0xda
mov byte [ebp - 0xb7], 0xa0
mov byte [ebp - 0xb6], 0x9e
mov byte [ebp - 0xb5], 0xe5
mov byte [ebp - 0xb4], 0xb6
mov byte [ebp - 0xb3], 5
mov byte [ebp - 0xb2], 0xc5
mov byte [ebp - 0xb1], 0xa9
mov byte [ebp - 0xb0], 2
mov byte [ebp - 0xaf], 0x9d
mov byte [ebp - 0xae], 0xc6
mov byte [ebp - 0xad], 0x8c
mov byte [ebp - 0xac], pe_nt_image_headers32
mov byte [ebp - 0xab], 0x7c
mov byte [ebp - 0xaa], 0xb3
mov byte [ebp - 0xa9], 0x67
mov byte [ebp - 0xa8], 0xad
mov byte [ebp - 0xa7], 0x65
mov byte [ebp - 0xa6], 0x94
mov byte [ebp - 0xa5], 0x36
mov byte [ebp - 0xa4], 0x34
mov byte [ebp - 0xa3], 0x3c
mov byte [ebp - 0xa2], 8
mov byte [ebp - 0xa1], 0x24
mov byte [ebp - 0xa0], 0xc4
mov byte [ebp - 0x9f], 7
mov byte [ebp - 0x9e], 0x7c
mov byte [ebp - 0x9d], 5
mov byte [ebp - 0x9c], 0x87
mov byte [ebp - 0x9b], 0
mov byte [ebp - 0x9a], 0x5e
mov byte [ebp - 0x99], 3
mov byte [ebp - 0x98], 0x6f
and dword [ebp - 4], 0
and dword [ebp - 0x100], 0
jmp 0x4060a3
mov eax, dword [ebp - 4]
inc eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x41
jae 0x40611a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 4], eax
jne 0x4060d5
mov dword [ebp - 0x100], 0x27
mov eax, dword [ebp - 4]
add eax, 0x25
mov dword [ebp - 4], eax
jmp 0x40609b
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0xd7]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x100]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x406103
mov eax, dword [ebp - 0x30]
add eax, 0x100
mov dword [ebp - 0x30], eax
jmp 0x4060f0
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0xd8]
mov cl, byte [ebp - 0x30]
mov byte [ebp + eax - 0x11c], cl
jmp 0x40609b
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004079bd
mov edx, dword [ebp - 0xec]
mov ecx, eax
call fcn.00404de2
mov dword [0xa8a818], eax
lea ecx, [ebp - 0x1c8]
call fcn.00402e72
and dword [ebp - 0x44], 0
jmp 0x406164
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xe
jae 0x406177
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0x11c], 0
jmp 0x40615d
mov byte [ebp - 0x94], 8
mov byte [ebp - 0x93], 0x70
mov byte [ebp - 0x92], 0xb
mov byte [ebp - 0x91], 0x76
mov byte [ebp - 0x90], 0
mov byte [ebp - 0x8f], 0x48
mov byte [ebp - 0x8e], 2
mov byte [ebp - 0x8d], 0x6c
mov byte [ebp - 0x8c], 0xd
mov byte [ebp - 0x8b], 0x60
mov byte [ebp - 0x8a], 0xc
mov byte [ebp - 0x89], 0x7e
mov byte [ebp - 0x88], 7
mov byte [ebp - 0x87], 0x7f
mov byte [ebp - 0x86], 6
mov byte [ebp - 0x85], 0x5f
mov byte [ebp - 0x84], 4
mov byte [ebp - 0x83], 0x85
mov byte [ebp - 0x82], 0x16
mov byte [ebp - 0x81], 0x31
mov byte [ebp - 0x80], 0x74
mov byte [ebp - 0x7f], 0xac
mov byte [ebp - 0x7e], 0xed
mov byte [ebp - 0x7d], 0x9b
mov byte [ebp - 0x7c], 0xb2
mov byte [ebp - 0x7b], 0xba
mov byte [ebp - 0x7a], 0xac
mov byte [ebp - 0x79], 0xe5
mov byte [ebp - 0x78], 0x79
mov byte [ebp - 0x77], 0xb1
mov byte [ebp - 0x76], 0x20
mov byte [ebp - 0x75], 0xc1
mov byte [ebp - 0x74], 0x87
mov byte [ebp - 0x73], 0xea
mov byte [ebp - 0x72], 0x8d
mov byte [ebp - 0x71], 0x6a
mov byte [ebp - 0x70], 0xf3
mov byte [ebp - 0x6f], 0xad
mov byte [ebp - 0x6e], 0x71
mov byte [ebp - 0x6d], 0x7f
mov byte [ebp - 0x6c], 5
mov byte [ebp - 0x6b], 0x78
mov byte [ebp - 0x6a], 9
mov byte [ebp - 0x69], 0x78
mov byte [ebp - 0x68], 3
mov byte [ebp - 0x67], 0x78
mov byte [ebp - 0x66], 0xa
mov byte [ebp - 0x65], 0x7e
mov byte [ebp - 0x64], 1
mov byte [ebp - 0x63], 0x8d
and dword [ebp - 8], 0
and dword [ebp - 0xe4], 0
jmp 0x406290
mov eax, dword [ebp - 8]
inc eax
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x32
jae 0x406307
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 8], eax
jne 0x4062c2
mov dword [ebp - 0xe4], 0x16
mov eax, dword [ebp - 8]
add eax, 0x14
mov dword [ebp - 8], eax
jmp 0x406288
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x93]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xe4]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x4062f0
mov eax, dword [ebp - 0x3c]
add eax, 0x100
mov dword [ebp - 0x3c], eax
jmp 0x4062dd
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x94]
mov cl, byte [ebp - 0x3c]
mov byte [ebp + eax - 0x12c], cl
jmp 0x406288
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004079bd
mov edx, dword [ebp - 0xec]
mov ecx, eax
call fcn.00404de2
mov dword [0xa8a8d0], eax
lea ecx, [ebp - 0x1b0]
call fcn.00402e72
and dword [ebp - 0x40], 0
jmp 0x406351
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xf
jae 0x406364
mov eax, dword [ebp - 0x40]
mov byte [ebp + eax - 0x12c], 0
jmp 0x40634a
mov eax, dword [0xa8a818]
cmp eax, dword [ebp - 0x48]
je 0x406378
mov eax, dword [0xa8a8d0]
cmp eax, dword [ebp - 0x48]
jne 0x406390
mov ecx, dword [ebp + 0xc]
call fcn.00402ece
push eax
push dword [ebp + 8]
call fcn.00405af2
pop ecx
pop ecx
jmp 0x4068d7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4068d5
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x4068d5
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x4550
jne 0x4068d5
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x74], 0
jbe 0x4068d5
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax + 0x78], 0
je 0x4068d5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x18], edx
mov eax, 0xffff
mov word [ebp - 0xc], ax
or dword [ebp - 0x28], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x406431
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x40642c
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0xc], ax
jmp 0x4065b1
mov eax, dword [0xa8a8dc]
and eax, 1
jne 0x40645d
mov eax, dword [0xa8a8dc]
or eax, 1
mov dword [0xa8a8dc], eax
mov ecx, 0xa8a944
call fcn.00402fdb
push 0x48f97e
call fcn.0046bc8f
pop ecx
movzx eax, byte [0xa8a814]
test eax, eax
je 0x4064c3
mov ecx, 0xa8a944
call fcn.00407a3b
movzx eax, al
test eax, eax
jne 0x4064c3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0xa8a944
call fcn.00402fb3
lea eax, [ebp - 0x134]
push eax
mov ecx, 0xa8a944
call fcn.00402fa5
push eax
lea ecx, [ebp - 0xf0]
call fcn.00402fc8
movzx eax, al
test eax, eax
je 0x4064c3
lea ecx, [ebp - 0xf0]
call fcn.00407a44
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4065b1
mov ecx, 0xa8a944
call fcn.00407a88
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xa8a944
call fcn.00407a8c
and dword [ebp - 0x20], 0
jmp 0x4064f5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0x4065b1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x4065ac
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x180]
call fcn.004079bd
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x180]
call fcn.00404de2
mov dword [ebp - 0xfc], eax
movzx eax, byte [0xa8a814]
test eax, eax
je 0x40656d
mov ecx, 0xa8a944
call fcn.00407a3b
movzx eax, al
test eax, eax
jne 0x40658a
lea eax, [ebp - 0xfc]
push eax
mov ecx, 0xa8a944
call fcn.00407a4a
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov byte [0xa8a814], 1
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4065a1
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x48]
jne 0x4065a1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x180]
call fcn.00402e72
jmp 0x4064ee
cmp dword [ebp + 0x10], 0
jne 0x4065d1
cmp dword [ebp - 0x28], 0xffffffff
je 0x4065d1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x28]
mov ax, word [ecx + eax*2]
mov word [ebp - 0xc], ax
movzx eax, word [ebp - 0xc]
cmp eax, 0xffff
je 0x4068d5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0xc]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jbe 0x4068d0
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x14], edx
jae 0x4068d0
mov eax, dword [0xa8a8dc]
and eax, 2
jne 0x406650
mov eax, dword [0xa8a8dc]
or eax, 2
mov dword [0xa8a8dc], eax
push 0x58ee
call fcn.004016ce
pop ecx
mov byte [0xa8a8e4], al
mov byte [ebp - 0x60], 1
mov byte [ebp - 0x5f], 0x6d
mov byte [ebp - 0x5e], 2
mov byte [ebp - 0x5d], 0x6f
mov byte [ebp - 0x5c], 0xe
mov byte [ebp - 0x5b], 0xc
mov byte [ebp - 0x5a], 0x13
mov byte [ebp - 0x59], 0x38
mov byte [ebp - 0x58], 9
mov byte [ebp - 0x57], 8
mov byte [ebp - 0x56], 0x29
mov byte [ebp - 0x55], 0x1b
mov byte [ebp - 0x54], 0x35
mov byte [ebp - 0x53], 0x48
mov byte [ebp - 0x52], 0x5c
mov byte [ebp - 0x51], 0xea
mov byte [ebp - 0x50], 0xcb
mov byte [ebp - 0x4f], 0xb7
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4d], 0x69
and dword [ebp - 0x10], 0
and dword [ebp - 0xf4], 0
jmp 0x4066b5
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x14
jae 0x406723
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x60]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x4066e4
mov dword [ebp - 0xf4], 0xe
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 0x10], eax
jmp 0x4066ad
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x5f]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xf4]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x40670f
mov eax, dword [ebp - 0x34]
add eax, 0x100
mov dword [ebp - 0x34], eax
jmp 0x4066fc
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x60]
mov cl, byte [ebp - 0x34]
mov byte [ebp + eax - 0xdc], cl
jmp 0x4066ad
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0xdc], 0
mov eax, dword [0xa8a8dc]
and eax, 4
jne 0x406764
mov eax, dword [0xa8a8dc]
or eax, 4
mov dword [0xa8a8dc], eax
lea eax, [ebp - 0xdc]
push eax
mov ecx, 0xa8a928
call fcn.004079bd
push 0x48f96f
call fcn.0046bc8f
pop ecx
and dword [ebp - 0x38], 0
jmp 0x406771
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jae 0x406784
mov eax, dword [ebp - 0x38]
mov byte [ebp + eax - 0xdc], 0
jmp 0x40676a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax]
movsx ecx, byte [0xa8a8e4]
cmp eax, ecx
je 0x4067a4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x40678a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
call fcn.00407dde
push 0xa8a928
lea ecx, [ebp - 0x150]
call fcn.004079ec
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x150]
call fcn.004035a2
push dword [eax]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x150]
call fcn.0040358e
push dword [eax]
lea ecx, [ebp - 0x198]
call fcn.00407e07
lea eax, [ebp - 0x198]
push eax
call fcn.00404f69
pop ecx
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x406887
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x168]
call fcn.004079bd
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x168]
call fcn.00404e90
movzx eax, al
test eax, eax
je 0x40685e
push 0
push dword [ebp - 0x108]
push 0
push dword [ebp - 0xe0]
call fcn.00405e5a
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x40687a
push 1
push 0
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0xe0]
call fcn.00405e5a
add esp, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x168]
call fcn.00402e72
jmp 0x4068ba
cmp dword [ebp + 0x10], 0
jne 0x40689d
mov ecx, dword [ebp + 0xc]
call fcn.00402ece
mov dword [ebp - 0xe8], eax
jmp 0x4068a7
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xe8]
push dword [ebp + 8]
call fcn.00405af2
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x198]
call fcn.00402d4a
lea ecx, [ebp - 0x150]
call fcn.00402e72
mov eax, dword [ebp - 0x14]
jmp 0x4068d7
xor eax, eax
mov esp, ebp
pop ebp
ret