Function at 0x406fa2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
cmp dword [ebp - 0x1518], 0
jne 0x406d43
mov dword [ebp - 0x710], 0
jmp 0x406fea
mov edx, dword [ebp - 0x1518]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc58], ecx
push esi
push edi
add esp, 4
xor esi, 0x774a
sub esi, 0x735
add esi, 0xdb08
add esi, 0xf03f
pop esi
push edx
push ecx
add esp, 4
xor edx, 0xe643
pop edx
push edi
sub edi, 0x15f2
pop edi
cmp dword [ebp - 0xc58], 0
jne 0x406d9f
mov dword [ebp - 0x710], 0
jmp 0x406fea
mov edx, dword [ebp - 0xc58]
mov dword [ebp - 0x4e8], edx
push edi
push esi
add esp, 4
jmp 0x406db5
pop edi
push edx
call 0x406dc7
add byte [edi], dh
aaa
xor al, 0x4d
xor eax, 0x4a3f3d3e
dec ebp
add esp, 4
jmp 0x406dd0
pop edx
push ebx
push edx
add esp, 4
xor ebx, 0xa1a7
pop ebx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push eax
add eax, 0x4b4c
xor eax, 0xc70e
pop eax
push ecx
sub ecx, 0xd9b9
add ecx, 0xdce8
pop ecx
push edx
and edx, 0x1b31
sub edx, 0x12c0c
pop edx
push ebx
and ebx, 0x17b13
pop ebx
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push ecx
jmp 0x406e9a
call 0x406eaa
add byte [esi + esi + 0x37], al
dec eax
inc esi
cmp al, 0x37
dec edi
dec ecx
cmp al, byte [ebx + 0x575904c4]
and edi, 0xac4e
and edi, 0x41b
sub edi, 0x35a6
pop edi
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x406edf
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x406f39
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406e07
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406e07
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x406f23
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x406f2d
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x406f82
push ebx
add ebx, 0x4b2d
jmp 0x406f4f
and ebx, 0x12b65
xor ebx, 0xa61d
pop ebx
push edi
push eax
add esp, 4
jmp 0x406f67
sub edi, 0x16003
sub edi, 0x690a
pop edi
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x406fea
push edx
add edx, 0x113c7
pop edx
push ebx
push ebx
add esp, 4
jmp 0x406f96
call 0x406fa2
add byte [eax + 0x3f], cl
inc edx
cmp dword [ecx], edi
inc ebp
add esp, 4
jmp 0x406fad
or ebx, 0x94f3
pop ebx
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x406fe0
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x406dab
mov dword [ebp - 0x710], 0
push eax
push esi
add esp, 4
call 0x406ffd
add byte [esi + 0x40], cl
inc edi
inc eax
dec esi
dec ecx
inc ebx
dec esi
add esp, 4
pop eax
push edi
push edx
add esp, 4
sub edi, 0x9135
pop edi
push esi
push esi
add esp, 4
jmp 0x40701b
pop esi
cmp dword [ebp - 0x710], 0
jne 0x407066
push ecx
sub ecx, 0xd8f5
pop ecx
push edi
push ebx
add esp, 4
jmp 0x407037
sub edi, 0xd9bf
add edi, 0x79ef
call 0x407053
add byte [esi + 0x40], al
inc ebp
cmp al, 0x45
xor bh, byte [ebx]
cmp eax, 0xc483384a
add al, 0x5f
mov dword [ebp - 0xa58], 0
jmp 0x407b8e
push edx
push ebx
add esp, 4
xor edx, 0x15568
or edx, 0x12a94
add edx, 0xdf96
and edx, 0x119c9
pop edx
push eax
xor eax, 0x968
or eax, 0xf92a
and eax, 0x3405
pop eax
mov ecx, dword [ebp - 0x710]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x720], 0
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x1564], eax
cmp dword [ebp - 0x1564], 0
jne 0x4070d7
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], ecx
jmp 0x4073c8
mov edx, dword [ebp - 0x1564]
mov eax, dword [ebp - 0x300]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1568], eax
jne 0x4070ff
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], ecx
jmp 0x4073c8
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1568]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1570], edx
cmp dword [ebp - 0x1570], 0
jne 0x407131
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], eax
jmp 0x4073c8
mov ecx, dword [ebp - 0x300]
add ecx, dword [ebp - 0x1570]
mov dword [ebp - 0x714], ecx
jne 0x407156
mov edx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], edx
jmp 0x4073c8
mov eax, dword [ebp - 0x714]
mov ecx, dword [ebp - 0x300]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x18e0], ecx
mov edx, dword [ebp - 0x714]
mov eax, dword [ebp - 0x300]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x18e4], eax
mov ecx, dword [ebp - 0x714]
mov edx, dword [ebp - 0x300]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18e8], edx
mov dword [ebp - 0x718], 0
jmp 0x4071b0
mov eax, dword [ebp - 0x718]
add eax, 1
mov dword [ebp - 0x718], eax
mov ecx, dword [ebp - 0x714]
mov edx, dword [ebp - 0x718]
cmp edx, dword [ecx + 0x18]
jae 0x4073bc
mov eax, dword [ebp - 0x718]
mov ecx, dword [ebp - 0x18e0]
mov edx, dword [ebp - 0x300]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x71c], edx
mov eax, dword [ebp - 0x718]
mov ecx, dword [ebp - 0x18e4]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18e8]
mov ecx, dword [ebp - 0x300]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x18ec], ecx
mov dword [ebp - 0x188], 0
jmp 0x407220
mov edx, dword [ebp - 0x188]
add edx, 1
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x71c]
add eax, dword [ebp - 0x188]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4072d2
mov edx, dword [ebp - 0x188]
movsx eax, byte [ebp + edx - 0x830]
test eax, eax
je 0x4072d2
push ebx
push edx
add esp, 4
xor ebx, 0x4796
pop ebx
push esi
sub esi, 0x5d20
and esi, 0x3cb
jmp 0x40726c
add esi, 0x136a2
pop esi
push edi
push ecx
add esp, 4
xor edi, 0xb1bf
pop edi
mov ecx, dword [ebp - 0x71c]
add ecx, dword [ebp - 0x188]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x188]
movsx ecx, byte [ebp + eax - 0x830]
cmp edx, ecx
je 0x4072c4
mov edx, dword [ebp - 0x71c]
add edx, dword [ebp - 0x188]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x188]
movsx edx, byte [ebp + ecx - 0x830]
cmp eax, edx
jne 0x4072cb
jmp 0x407211
jmp 0x4072d2
push eax
push esi
add esp, 4
or eax, 0x12f41
sub eax, 0x5acb
jmp 0x4072eb
add eax, 0x45cb
pop eax
push ecx
jmp 0x4072fb
pop ecx
push ecx
xor ecx, 0xc838
pop ecx
mov eax, dword [ebp - 0x71c]
add eax, dword [ebp - 0x188]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x188]
movsx eax, byte [ebp + edx - 0x830]
cmp ecx, eax
jne 0x407331
mov dword [ebp - 0xc5c], 0
jmp 0x4073a0
push esi
or esi, 0xd9d0
sub esi, 0x11ac9
pop esi
push edx
xor edx, 0x1841f
pop edx
push edi
sub edi, 0xec26
pop edi
push edx
sub edx, 0x153c2
and edx, 0xaef8
and edx, 0x109a1
pop edx
mov ecx, dword [ebp - 0x71c]
add ecx, dword [ebp - 0x188]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x188]
movsx ecx, byte [ebp + eax - 0x830]
or ecx, 0x20
cmp edx, ecx
jge 0x407396
mov dword [ebp - 0xc5c], 0xffffffff
jmp 0x4073a0
mov dword [ebp - 0xc5c], 1
cmp dword [ebp - 0xc5c], 0
jne 0x4073b7
mov edx, dword [ebp - 0x18ec]
mov dword [ebp - 0x3c8], edx
jmp 0x4073c8
jmp 0x4071a1
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0
je 0x4074a3
push ebx
push edx
add esp, 4
or ebx, 0x8166
sub ebx, 0xabbd
pop ebx
push ebx
push edx
add esp, 4
xor ebx, 0x7deb
pop ebx
push eax
sub eax, 0x76ab
sub eax, 0x4c1d
add eax, 0x18111
pop eax
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x18f0], ecx
push ecx
push edx
add esp, 4
jmp 0x40741d
pop ecx
push edi
and edi, 0x1193a
sub edi, 0x4934
pop edi
push ebx
xor ebx, 0xdc4c
sub ebx, 0x10ec2
and ebx, 0x51fb
jmp 0x407444
pop ebx
mov edx, dword [ebp - 0x18f0]
mov dword [ebp - 0x18f4], edx
lea eax, [ebp - 0x1628]
push eax
call dword [ebp - 0x18f4]
test eax, eax
jne 0x4074a3
push esi
or esi, 0x109db
xor esi, 0x1738e
jmp 0x407474
add esi, 0x14919
pop esi
push eax
push edi
add esp, 4
or eax, 0x161fd
add eax, 0xdb76
jmp 0x407493
pop eax
mov dword [ebp - 0xa58], 0
jmp 0x407b8e