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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
cmp dword [ebp + 0x10], 0
jbe 0x405b13
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x405b13
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.004057da
pop ecx
pop ecx
jmp 0x40642f
cmp dword [ebp + 0x10], 0
jne 0x405e10
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00404874
mov dword [ebp - 0x4c], eax
cmp dword [0xaabb98], 0
jne 0x405de4
mov dword [ebp - 0xe4], 0x8d73
lea eax, [ebp - 0xe4]
push eax
call fcn.004056cd
pop ecx
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0x88], 2
mov byte [ebp - 0x87], 0x75
mov byte [ebp - 0x86], 4
mov byte [ebp - 0x85], 0x68
mov byte [ebp - 0x84], 0xc
mov byte [ebp - 0x83], 0x5c
mov byte [ebp - 0x82], 7
mov byte [ebp - 0x81], 0x70
mov byte [ebp - 0x80], 5
mov byte [ebp - 0x7f], 0x7b
mov byte [ebp - 0x7e], 0
mov byte [ebp - 0x7d], 0x52
mov byte [ebp - 0x7c], 1
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 8
mov byte [ebp - 0x79], 0x7e
mov byte [ebp - 0x78], 9
mov byte [ebp - 0x77], 0x7f
mov byte [ebp - 0x76], 0xa
mov byte [ebp - 0x75], 0x58
mov byte [ebp - 0x74], 0xb
mov byte [ebp - 0x73], 0x8d
mov byte [ebp - 0x72], 6
mov byte [ebp - 0x71], 0x8a
mov byte [ebp - 0x70], 3
mov byte [ebp - 0x6f], 0x6f
and dword [ebp - 0x20], 0
and dword [ebp - 0xdc], 0
jmp 0x405bea
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1a
jae 0x405c35
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x87]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xdc]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x405c1e
mov eax, dword [ebp - 0x30]
add eax, 0x100
mov dword [ebp - 0x30], eax
jmp 0x405c0b
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x88]
mov cl, byte [ebp - 0x30]
mov byte [ebp + eax - 0xf8], cl
jmp 0x405be2
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00407571
mov edx, dword [ebp - 0xc0]
mov ecx, eax
call fcn.00404874
mov dword [0xaabb98], eax
lea ecx, [ebp - 0x18c]
call fcn.0040291f
and dword [ebp - 0x44], 0
jmp 0x405c7f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xe
jae 0x405c92
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0xf8], 0
jmp 0x405c78
mov byte [ebp - 0x6c], 2
mov byte [ebp - 0x6b], 0x66
mov byte [ebp - 0x6a], 3
mov byte [ebp - 0x69], 0x64
mov byte [ebp - 0x68], 6
mov byte [ebp - 0x67], 0x55
mov byte [ebp - 0x66], 1
mov byte [ebp - 0x65], 9
mov byte [ebp - 0x64], 0x6a
mov byte [ebp - 0x63], 1
mov byte [ebp - 0x62], 0x7b
mov byte [ebp - 0x61], 4
mov byte [ebp - 0x60], 0x7f
mov byte [ebp - 0x5f], 0xa
mov byte [ebp - 0x5e], 0x72
mov byte [ebp - 0x5d], 7
mov byte [ebp - 0x5c], 0x81
mov byte [ebp - 0x5b], 0xc
mov byte [ebp - 0x5a], 0x84
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x58], 0x56
mov byte [ebp - 0x57], 8
mov byte [ebp - 0x56], 0x84
mov byte [ebp - 0x55], 0xd
mov byte [ebp - 0x54], 0x6e
mov byte [ebp - 0x53], 0xb
mov byte [ebp - 0x52], 0x8c
mov byte [ebp - 0x51], 5
mov byte [ebp - 0x50], 0x80
and dword [ebp - 0xc], 0
and dword [ebp - 0xd8], 0
jmp 0x405d1b
mov eax, dword [ebp - 0xc]
inc eax
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1d
jae 0x405d87
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x6c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0xc], eax
jne 0x405d48
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
jmp 0x405d13
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x6b]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xd8]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x405d73
mov eax, dword [ebp - 0x3c]
add eax, 0x100
mov dword [ebp - 0x3c], eax
jmp 0x405d60
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x6c]
mov cl, byte [ebp - 0x3c]
mov byte [ebp + eax - 0x108], cl
jmp 0x405d13
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x108], 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00407571
mov edx, dword [ebp - 0xc0]
mov ecx, eax
call fcn.00404874
mov dword [0xaabc50], eax
lea ecx, [ebp - 0x1a4]
call fcn.0040291f
and dword [ebp - 0x40], 0
jmp 0x405dd1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xf
jae 0x405de4
mov eax, dword [ebp - 0x40]
mov byte [ebp + eax - 0x108], 0
jmp 0x405dca
mov eax, dword [0xaabb98]
cmp eax, dword [ebp - 0x4c]
je 0x405df8
mov eax, dword [0xaabc50]
cmp eax, dword [ebp - 0x4c]
jne 0x405e10
mov ecx, dword [ebp + 0xc]
call fcn.0040297b
push eax
push dword [ebp + 8]
call fcn.004057da
pop ecx
pop ecx
jmp 0x40642f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x40642d
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x40642d
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x4550
jne 0x40642d
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x74], 0
jbe 0x40642d
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax + 0x78], 0
je 0x40642d
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 - 0x10], edx
mov eax, 0xffff
mov word [ebp - 8], ax
or dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x405eb1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x405eac
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 8], ax
jmp 0x406031
mov eax, dword [0xaabcdc]
and eax, 1
jne 0x405edd
mov eax, dword [0xaabcdc]
or eax, 1
mov dword [0xaabcdc], eax
mov ecx, 0xaabc54
call fcn.00402a88
push 0x4b0880
call fcn.0048cb8f
pop ecx
movzx eax, byte [0xaabb94]
test eax, eax
je 0x405f43
mov ecx, 0xaabc54
call fcn.004075f4
movzx eax, al
test eax, eax
jne 0x405f43
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 0xaabc54
call fcn.00402a60
lea eax, [ebp - 0x10c]
push eax
mov ecx, 0xaabc54
call fcn.00402a52
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402a75
movzx eax, al
test eax, eax
je 0x405f43
lea ecx, [ebp - 0xd4]
call fcn.004075fd
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x406031
mov ecx, 0xaabc54
call fcn.00407641
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xaabc54
call fcn.00407645
and dword [ebp - 0x28], 0
jmp 0x405f75
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 0x18]
jae 0x406031
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x28]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x40602c
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00407571
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x174]
call fcn.00404874
mov dword [ebp - 0xd0], eax
movzx eax, byte [0xaabb94]
test eax, eax
je 0x405fed
mov ecx, 0xaabc54
call fcn.004075f4
movzx eax, al
test eax, eax
jne 0x40600a
lea eax, [ebp - 0xd0]
push eax
mov ecx, 0xaabc54
call fcn.00407603
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov byte [0xaabb94], 1
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x406021
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x4c]
jne 0x406021
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x174]
call fcn.0040291f
jmp 0x405f6e
cmp dword [ebp + 0x10], 0
jne 0x406051
cmp dword [ebp - 0x1c], 0xffffffff
je 0x406051
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x1c]
mov ax, word [ecx + eax*2]
mov word [ebp - 8], ax
movzx eax, word [ebp - 8]
cmp eax, 0xffff
je 0x40642d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jbe 0x406428
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x14], edx
jae 0x406428
mov eax, dword [0xaabcdc]
and eax, 2
jne 0x4060d0
mov eax, dword [0xaabcdc]
or eax, 2
mov dword [0xaabcdc], eax
push 0x94e4
call fcn.0040160e
pop ecx
mov byte [0xaabcb8], al
mov byte [ebp - 0xb4], 0
mov byte [ebp - 0xb3], 0x65
mov byte [ebp - 0xb2], 0x23
mov byte [ebp - 0xb1], 0xc
mov byte [ebp - 0xb0], 0x4c
mov byte [ebp - 0xaf], 0xcf
mov byte [ebp - 0xae], 0xb1
mov byte [ebp - 0xad], 0x3a
mov byte [ebp - 0xac], 0xbe
mov byte [ebp - 0xab], 0xc4
mov byte [ebp - 0xaa], 0x2f
mov byte [ebp - 0xa9], 0xec
mov byte [ebp - 0xa8], 0x69
mov byte [ebp - 0xa7], 0xc1
mov byte [ebp - 0xa6], 0x82
mov byte [ebp - 0xa5], 0x55
mov byte [ebp - 0xa4], 0x46
mov byte [ebp - 0xa3], 0x28
mov byte [ebp - 0xa2], 0x92
mov byte [ebp - 0xa1], 0x91
mov byte [ebp - 0xa0], 0x8c
mov byte [ebp - 0x9f], 0xa3
mov byte [ebp - 0x9e], 0x75
mov byte [ebp - 0x9d], 0x2e
mov byte [ebp - 0x9c], 0x27
mov byte [ebp - 0x9b], 0xc3
mov byte [ebp - 0x9a], 0x86
mov byte [ebp - 0x99], 0xea
mov byte [ebp - 0x98], 0x66
mov byte [ebp - 0x97], 0xe7
mov byte [ebp - 0x96], 0xb7
mov byte [ebp - 0x95], 0xbe
mov byte [ebp - 0x94], 0xf4
mov byte [ebp - 0x93], 0x60
mov byte [ebp - 0x92], 0x28
mov byte [ebp - 0x91], 0x1c
mov byte [ebp - 0x90], 9
mov byte [ebp - 0x8f], 1
mov byte [ebp - 0x8e], 0x6f
mov byte [ebp - 0x8d], 2
mov byte [ebp - 0x8c], 0x71
and dword [ebp - 4], 0
and dword [ebp - 0xcc], 0
jmp 0x406204
mov eax, dword [ebp - 4]
inc eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x29
jae 0x40627b
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 4], eax
jne 0x406236
mov dword [ebp - 0xcc], 0x23
mov eax, dword [ebp - 4]
add eax, 0x21
mov dword [ebp - 4], eax
jmp 0x4061fc
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0xb3]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xcc]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x406264
mov eax, dword [ebp - 0x34]
add eax, 0x100
mov dword [ebp - 0x34], eax
jmp 0x406251
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0xb4]
mov cl, byte [ebp - 0x34]
mov byte [ebp + eax - 0xb8], cl
jmp 0x4061fc
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0xb8], 0
mov eax, dword [0xaabcdc]
and eax, 4
jne 0x4062bc
mov eax, dword [0xaabcdc]
or eax, 4
mov dword [0xaabcdc], eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, 0xaabc7c
call fcn.00407571
push 0x4b0871
call fcn.0048cb8f
pop ecx
and dword [ebp - 0x38], 0
jmp 0x4062c9
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jae 0x4062dc
mov eax, dword [ebp - 0x38]
mov byte [ebp + eax - 0xb8], 0
jmp 0x4062c2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movsx eax, byte [eax]
movsx ecx, byte [0xaabcb8]
cmp eax, ecx
je 0x4062fc
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
jmp 0x4062e2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x12c]
call fcn.004079ac
push 0xaabc7c
lea ecx, [ebp - 0x12c]
call fcn.004075a0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040303f
push dword [eax]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040302b
push dword [eax]
lea ecx, [ebp - 0x15c]
call fcn.004079d5
lea eax, [ebp - 0x15c]
push eax
call fcn.00404a22
pop ecx
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x4063df
push dword [ebp - 0x18]
lea ecx, [ebp - 0x144]
call fcn.00407571
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x144]
call fcn.00404922
movzx eax, al
test eax, eax
je 0x4063b6
push 0
push dword [ebp - 0xe8]
push 0
push dword [ebp - 0xbc]
call fcn.00405ae8
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x4063d2
push 1
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0xbc]
call fcn.00405ae8
add esp, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x144]
call fcn.0040291f
jmp 0x406412
cmp dword [ebp + 0x10], 0
jne 0x4063f5
mov ecx, dword [ebp + 0xc]
call fcn.0040297b
mov dword [ebp - 0xc4], eax
jmp 0x4063ff
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
push dword [ebp + 8]
call fcn.004057da
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x15c]
call fcn.004027f7
lea ecx, [ebp - 0x12c]
call fcn.0040291f
mov eax, dword [ebp - 0x14]
jmp 0x40642f
xor eax, eax
mov esp, ebp
pop ebp
ret