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

Disassembly:
jmp 0x40639d
cmp dword [ebp - 0x3f4], 0
je 0x406478
push ecx
push ecx
add esp, 4
sub ecx, 0xb677
and ecx, 0x1845
xor ecx, 0x16832
pop ecx
push eax
push ebx
add esp, 4
add eax, 0x2016
sub eax, 0x18359
add dword [ecx], 0
pop eax
push ecx
or ecx, 0x14bd7
pop ecx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x1974], eax
push eax
push edi
add esp, 4
sub eax, 0x90f5
jmp 0x4063f9
add eax, 0x134f
add eax, 0xa12c
pop eax
push ebx
push ebx
add esp, 4
xor ebx, 0xd424
pop ebx
push edx
or edx, 0xb19b
pop edx
mov ecx, dword [ebp - 0x1974]
mov dword [ebp - 0x1978], ecx
lea edx, [ebp - 0x1738]
push edx
call dword [ebp - 0x1978]
test eax, eax
jne 0x406478
push edx
or edx, 0x100d6
or edx, 0x59fc
or edx, 0x1abf
pop edx
push edi
push ecx
add esp, 4
add edi, 0x9622
or edi, 0x4759
or edi, 0x11e4e
xor edi, 0xaa8
pop edi
mov dword [ebp - 0x79c], 0
jmp 0x406b62
push eax
push ebx
add esp, 4
xor eax, 0x1695f
or eax, 0x2730
pop eax
push ecx
push ebx
add esp, 4
jmp 0x406495
or ecx, 0xec59
and ecx, 0x11429
pop ecx
push eax
and eax, 0x37b9
pop eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x197c], eax
mov ecx, dword [ebp - 0x197c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1980], edx
mov eax, dword [ebp - 0x1980]
mov dword [ebp - 0x15fc], eax
push edx
push eax
add esp, 4
sub edx, 0x14d8e
sub edx, 0x13b21
pop edx
push eax
and eax, 0xe264
xor eax, 0x3b26
xor eax, 0xefc4
pop eax
push ecx
push edx
add esp, 4
or ecx, 0x7992
pop ecx
cmp dword [ebp - 0x15fc], 0
jne 0x40651b
mov dword [ebp - 0x31c], 0
jmp 0x4067c2
mov ecx, dword [ebp - 0x15fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb4], eax
push ecx
add ecx, 0x5bc9
call 0x406543
add byte [ebp + esi + 0x50], cl
xor esi, dword [esi]
inc esi
inc eax
dec edi
dec edx
add esp, 4
xor ecx, 0xe070
pop ecx
push esi
push edi
add esp, 4
and esi, 0x2965
sub esi, 0x5a22
pop esi
cmp dword [ebp - 0xcb4], 0
jne 0x406577
mov dword [ebp - 0x31c], 0
jmp 0x4067c2
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx
push edx
add edx, 0x2b63
xor edx, 0x18508
pop edx
push ecx
push esi
add esp, 4
or ecx, 0xde00
call 0x4065ab
add byte [ecx + 0x36], al
cmp byte [ecx], bh
inc eax
cmp eax, dword [ebp + 0x3a]
inc esi
add esp, 4
xor ecx, 0x118e1
pop ecx
lea edx, [ebp - 0x1738]
mov dword [ebp - 0xcb0], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcac], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ebx
push eax
add esp, 4
sub ebx, 0x7fa3
jmp 0x4065f2
or ebx, 0x11f90
pop ebx
push ecx
push ebx
add esp, 4
sub ecx, 0x12748
or ecx, 0xa877
and ecx, 0x18fd
pop ecx
mov ecx, dword [ebp - 0xcac]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xcac]
add eax, 2
mov dword [ebp - 0xcac], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xcb0]
add ecx, 2
mov dword [ebp - 0xcb0], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x34], dx
push eax
push edx
add esp, 4
xor eax, 0x646e
add eax, 0x1629a
and eax, 0x19ad
sub eax, 0xfebd
pop eax
push ecx
add ecx, 0x14c17
sub ecx, 0xa406
and ecx, 0x151ae
pop ecx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4066b7
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x1604], ecx
jmp 0x406711
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x4065df
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x4065df
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4066fb
mov dword [ebp - 0x1600], 0xffffffff
jmp 0x406705
mov dword [ebp - 0x1600], 1
mov eax, dword [ebp - 0x1600]
mov dword [ebp - 0x1604], eax
cmp dword [ebp - 0x1604], 0
jne 0x40675a
push eax
add eax, 0x302c
xor eax, 0x10eb9
xor eax, 0x4f3c
sub eax, 0x856d
pop eax
push eax
push ebx
add esp, 4
and eax, 0x1568b
pop eax
push edx
push ecx
add esp, 4
sub edx, 0x161f3
pop edx
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x31c], ecx
jmp 0x4067c2
push edx
or edx, 0x139e6
sub edx, 0x466
xor edx, 0x63a0
pop edx
push edi
push edx
add esp, 4
call 0x406782
add byte [esi], bh
xor esi, dword [esi]
dec eax
xor cl, byte [ecx + 0x4d]
dec edi
dec ebp
add esp, 4
add edi, 0x1361c
pop edi
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx]
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0x50c]
cmp ecx, dword [ebp - 0xcb4]
je 0x4067b8
mov edx, dword [ebp - 0x50c]
cmp dword [edx + 0x30], 0
jne 0x406583
mov dword [ebp - 0x31c], 0
push edx
push ecx
add esp, 4
sub edx, 0x15c2d
add edx, 0x67ba
add edx, 0xabef
pop edx
push edi
push eax
add esp, 4
sub edi, 0x4343
sub edi, 0xb4bc
pop edi
push edi
add edi, 0x18214
pop edi
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push edx
xor edx, 0xc325
add edx, 0x925b
sub edx, 0x1574f
add edx, 0x1812c
pop edx
push esi
call 0x40682b
add byte [ecx + 0x4e], al
dec ecx
inc ebp
dec edx
dec ebp
inc ebp
add esp, 4
sub esi, 0x14ee3
pop esi
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x1608], edx
cmp dword [ebp - 0x1608], 0
jne 0x406865
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x406b56
mov ecx, dword [ebp - 0x1608]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x160c], edx
jne 0x40688d
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x406b56
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x160c]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1610], ecx
cmp dword [ebp - 0x1610], 0
jne 0x4068bf
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
jmp 0x406b56
mov eax, dword [ebp - 0x324]
add eax, dword [ebp - 0x1610]
mov dword [ebp - 0x764], eax
jne 0x4068e4
mov ecx, dword [ebp - 0x770]
mov dword [ebp - 0x510], ecx
jmp 0x406b56
mov edx, dword [ebp - 0x764]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1984], eax
mov ecx, dword [ebp - 0x764]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1988], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d10], ecx
mov dword [ebp - 0x768], 0
jmp 0x40693e