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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
cmp dword [ebp + 0x10], 0
jbe 0x406300
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x406300
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00405efc
pop ecx
pop ecx
jmp 0x406bd9
cmp dword [ebp + 0x10], 0
jne 0x406676
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00404ec4
mov dword [ebp - 0x4c], eax
cmp dword [0xab374c], 0
jne 0x40664a
mov dword [ebp - 0xd8], 0x7af8
lea eax, [ebp - 0xd8]
push eax
call fcn.00405e11
pop ecx
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xa8], 8
mov byte [ebp - 0xa7], 0x70
mov byte [ebp - 0xa6], 0xb
mov byte [ebp - 0xa5], 0x7b
mov byte [ebp - 0xa4], 0
mov byte [ebp - 0xa3], 0x4c
mov byte [ebp - 0xa2], 1
mov byte [ebp - 0xa1], 0x6c
mov byte [ebp - 0xa0], 5
mov byte [ebp - 0x9f], 0x7b
mov byte [ebp - 0x9e], 3
mov byte [ebp - 0x9d], 0x61
mov byte [ebp - 0x9c], 4
mov byte [ebp - 0x9b], 0x72
mov byte [ebp - 0x9a], 0xa
mov byte [ebp - 0x99], 0x54
mov byte [ebp - 0x98], 0xc
mov byte [ebp - 0x97], 0x68
mov byte [ebp - 0x96], 9
mov byte [ebp - 0x95], 0x81
mov byte [ebp - 0x94], 2
mov byte [ebp - 0x93], 0x89
mov byte [ebp - 0x92], 6
mov byte [ebp - 0x91], 0x8a
mov byte [ebp - 0x90], 7
mov byte [ebp - 0x8f], 0x82
and dword [ebp - 0x20], 0
and dword [ebp - 0xd0], 0
jmp 0x40640d
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1a
jae 0x406458
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xa7]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xd0]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x406441
mov eax, dword [ebp - 0x30]
add eax, 0x100
mov dword [ebp - 0x30], eax
jmp 0x40642e
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xa8]
mov cl, byte [ebp - 0x30]
mov byte [ebp + eax - 0xec], cl
jmp 0x406405
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0xec], 0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x180]
call fcn.00407d86
mov edx, dword [ebp - 0xb4]
mov ecx, eax
call fcn.00404ec4
mov dword [0xab374c], eax
lea ecx, [ebp - 0x180]
call fcn.00402f27
and dword [ebp - 0x44], 0
jmp 0x4064a2
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xe
jae 0x4064b5
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0xec], 0
jmp 0x40649b
mov byte [ebp - 0x8c], 3
mov byte [ebp - 0x8b], 0x62
mov byte [ebp - 0x8a], 0xc
mov byte [ebp - 0x89], 0x76
mov byte [ebp - 0x88], 0xd
mov byte [ebp - 0x87], 0x5c
mov byte [ebp - 0x86], 2
mov byte [ebp - 0x85], 0x6c
mov byte [ebp - 0x84], 6
mov byte [ebp - 0x83], 0x72
mov byte [ebp - 0x82], 0x4e
mov byte [ebp - 0x81], 0xbf
mov byte [ebp - 0x80], 0x4a
mov byte [ebp - 0x7f], 0x42
mov byte [ebp - 0x7e], 5
mov byte [ebp - 0x7d], 0x6e
mov byte [ebp - 0x7c], 0
mov byte [ebp - 0x7b], 0x4e
mov byte [ebp - 0x7a], 7
mov byte [ebp - 0x79], 0x7f
mov byte [ebp - 0x78], 1
mov byte [ebp - 0x77], 0x81
mov byte [ebp - 0x76], 8
mov byte [ebp - 0x75], 0x80
mov byte [ebp - 0x74], 0xa
mov byte [ebp - 0x73], 0x78
mov byte [ebp - 0x72], 9
mov byte [ebp - 0x71], 0x78
mov byte [ebp - 0x70], 6
mov byte [ebp - 0x6f], 0x67
mov byte [ebp - 0x6e], 0xb
mov byte [ebp - 0x6d], 0x8c
mov byte [ebp - 0x6c], 4
mov byte [ebp - 0x6b], 0x8f
and dword [ebp - 0xc], 0
and dword [ebp - 0xcc], 0
jmp 0x406576
mov eax, dword [ebp - 0xc]
inc eax
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x22
jae 0x4065ed
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x8c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0xc], eax
jne 0x4065a8
mov dword [ebp - 0xcc], 6
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
jmp 0x40656e
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x8b]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xcc]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x4065d6
mov eax, dword [ebp - 0x3c]
add eax, 0x100
mov dword [ebp - 0x3c], eax
jmp 0x4065c3
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x8c]
mov cl, byte [ebp - 0x3c]
mov byte [ebp + eax - 0xfc], cl
jmp 0x40656e
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0xfc], 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x198]
call fcn.00407d86
mov edx, dword [ebp - 0xb4]
mov ecx, eax
call fcn.00404ec4
mov dword [0xab3810], eax
lea ecx, [ebp - 0x198]
call fcn.00402f27
and dword [ebp - 0x40], 0
jmp 0x406637
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xf
jae 0x40664a
mov eax, dword [ebp - 0x40]
mov byte [ebp + eax - 0xfc], 0
jmp 0x406630
mov eax, dword [0xab374c]
cmp eax, dword [ebp - 0x4c]
je 0x40665e
mov eax, dword [0xab3810]
cmp eax, dword [ebp - 0x4c]
jne 0x406676
mov ecx, dword [ebp + 0xc]
call fcn.00402f83
push eax
push dword [ebp + 8]
call fcn.00405efc
pop ecx
pop ecx
jmp 0x406bd9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x406bd7
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x406bd7
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 0x406bd7
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x74], 0
jbe 0x406bd7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax + 0x78], 0
je 0x406bd7
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 0x406717
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x406712
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 8], ax
jmp 0x406897
mov eax, dword [0xab389c]
and eax, 1
jne 0x406743
mov eax, dword [0xab389c]
or eax, 1
mov dword [0xab389c], eax
mov ecx, 0xab3814
call fcn.00403090
push 0x4b4806
call fcn.00486f7f
pop ecx
movzx eax, byte [0xab3748]
test eax, eax
je 0x4067a9
mov ecx, 0xab3814
call fcn.00407e09
movzx eax, al
test eax, eax
jne 0x4067a9
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 0xab3814
call fcn.00403068
lea eax, [ebp - 0x100]
push eax
mov ecx, 0xab3814
call fcn.0040305a
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040307d
movzx eax, al
test eax, eax
je 0x4067a9
lea ecx, [ebp - 0xc8]
call fcn.00407e12
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x406897
mov ecx, 0xab3814
call fcn.00407e56
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xab3814
call fcn.00407e5a
and dword [ebp - 0x28], 0
jmp 0x4067db
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 0x406897
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 - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x406892
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x168]
call fcn.00407d86
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x168]
call fcn.00404ec4
mov dword [ebp - 0xc4], eax
movzx eax, byte [0xab3748]
test eax, eax
je 0x406853
mov ecx, 0xab3814
call fcn.00407e09
movzx eax, al
test eax, eax
jne 0x406870
lea eax, [ebp - 0xc4]
push eax
mov ecx, 0xab3814
call fcn.00407e18
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov byte [0xab3748], 1
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x406887
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x4c]
jne 0x406887
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x168]
call fcn.00402f27
jmp 0x4067d4
cmp dword [ebp + 0x10], 0
jne 0x4068b7
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4068b7
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 0x406bd7
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 - 0xd4], eax
mov eax, dword [ebp - 0xd4]
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 0x406bd2
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 0x406bd2
mov eax, dword [0xab389c]
and eax, 2
jne 0x406936
mov eax, dword [0xab389c]
or eax, 2
mov dword [0xab389c], eax
push 0x77a6
call fcn.00401995
pop ecx
mov byte [0xab3878], al
mov byte [ebp - 0x68], 1
mov byte [ebp - 0x67], 0x6d
mov byte [ebp - 0x66], 2
mov byte [ebp - 0x65], 0x6f
mov byte [ebp - 0x64], 0x15
mov byte [ebp - 0x63], 0xd5
mov byte [ebp - 0x62], 0xbb
mov byte [ebp - 0x61], 0xb7
mov byte [ebp - 0x60], 0xac
mov byte [ebp - 0x5f], 0x3c
mov byte [ebp - 0x5e], 0xb3
mov byte [ebp - 0x5d], 0x8b
mov byte [ebp - 0x5c], 0x36
mov byte [ebp - 0x5b], 0xcc
mov byte [ebp - 0x5a], 0xb7
mov byte [ebp - 0x59], 0xa4
mov byte [ebp - 0x58], 0xc4
mov byte [ebp - 0x57], 0xdf
mov byte [ebp - 0x56], 0x8c
mov byte [ebp - 0x55], 0x3d
mov byte [ebp - 0x54], 0xf1
mov byte [ebp - 0x53], 0xb1
mov byte [ebp - 0x52], 0x4c
mov byte [ebp - 0x51], 0x99
mov byte [ebp - 0x50], 0x46
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x4e], 0x69
and dword [ebp - 4], 0
and dword [ebp - 0xc0], 0
jmp 0x4069b7
mov eax, dword [ebp - 4]
inc eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1b
jae 0x406a25
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 4], eax
jne 0x4069e6
mov dword [ebp - 0xc0], 0x15
mov eax, dword [ebp - 4]
add eax, 0x13
mov dword [ebp - 4], eax
jmp 0x4069af
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x67]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc0]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x406a11
mov eax, dword [ebp - 0x34]
add eax, 0x100
mov dword [ebp - 0x34], eax
jmp 0x4069fe
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x68]
mov cl, byte [ebp - 0x34]
mov byte [ebp + eax - 0xac], cl
jmp 0x4069af
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0xac], 0
mov eax, dword [0xab389c]
and eax, 4
jne 0x406a66
mov eax, dword [0xab389c]
or eax, 4
mov dword [0xab389c], eax
lea eax, [ebp - 0xac]
push eax
mov ecx, 0xab383c
call fcn.00407d86
push 0x4b47f7
call fcn.00486f7f
pop ecx
and dword [ebp - 0x38], 0
jmp 0x406a73
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jae 0x406a86
mov eax, dword [ebp - 0x38]
mov byte [ebp + eax - 0xac], 0
jmp 0x406a6c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movsx eax, byte [eax]
movsx ecx, byte [0xab3878]
cmp eax, ecx
je 0x406aa6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
jmp 0x406a8c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
call fcn.004081ad
push 0xab383c
lea ecx, [ebp - 0x120]
call fcn.00407db5
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040364f
push dword [eax]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040363b
push dword [eax]
lea ecx, [ebp - 0x150]
call fcn.004081d6
lea eax, [ebp - 0x150]
push eax
call fcn.0040507d
pop ecx
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x406b89
push dword [ebp - 0x18]
lea ecx, [ebp - 0x138]
call fcn.00407d86
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x138]
call fcn.00404f72
movzx eax, al
test eax, eax
je 0x406b60
push 0
push dword [ebp - 0xdc]
push 0
push dword [ebp - 0xb0]
call fcn.004062d5
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x406b7c
push 1
push 0
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0xb0]
call fcn.004062d5
add esp, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x138]
call fcn.00402f27
jmp 0x406bbc
cmp dword [ebp + 0x10], 0
jne 0x406b9f
mov ecx, dword [ebp + 0xc]
call fcn.00402f83
mov dword [ebp - 0xb8], eax
jmp 0x406ba9
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xb8], eax
push dword [ebp - 0xb8]
push dword [ebp + 8]
call fcn.00405efc
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x150]
call fcn.00402dff
lea ecx, [ebp - 0x120]
call fcn.00402f27
mov eax, dword [ebp - 0x14]
jmp 0x406bd9
xor eax, eax
mov esp, ebp
pop ebp
ret