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

Disassembly:
mov eax, dword [ebp - 0x780]
add eax, 1
mov dword [ebp - 0x780], eax
mov ecx, dword [ebp - 0x77c]
mov edx, dword [ebp - 0x780]
cmp edx, dword [ecx + 0x18]
jae 0x407411
mov eax, dword [ebp - 0x780]
mov ecx, dword [ebp - 0x19d8]
mov edx, dword [ebp - 0x3a4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x780]
mov ecx, dword [ebp - 0x19dc]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x19e0]
mov ecx, dword [ebp - 0x3a4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x19e4], ecx
mov dword [ebp - 0x19c], 0
jmp 0x407275
mov edx, dword [ebp - 0x19c]
add edx, 1
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x784]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x407327
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x8a8]
test eax, eax
je 0x407327
push ecx
jmp 0x4072a9
pop ecx
push ebx
push ebx
add esp, 4
jmp 0x4072b6
pop ebx
push ebx
or ebx, 0x1238c
call 0x4072ca
add byte [eax + 0x4e], dl
inc esi
inc ecx
inc esi
dec eax
add esp, 4
sub ebx, 0x15601
pop ebx
mov ecx, dword [ebp - 0x784]
add ecx, dword [ebp - 0x19c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x8a8]
cmp edx, ecx
je 0x407319
mov edx, dword [ebp - 0x784]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x8a8]
cmp eax, edx
jne 0x407320
jmp 0x407266
jmp 0x407327
push ecx
push esi
add esp, 4
add ecx, 0x1529
or ecx, 0x15366
sub ecx, 0x17be7
jmp 0x407344
pop ecx
push eax
push eax
add esp, 4
and eax, 0x14fd2
pop eax
push ebx
xor ebx, 0xdecc
pop ebx
mov eax, dword [ebp - 0x784]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x8a8]
cmp ecx, eax
jne 0x407386
mov dword [ebp - 0xcd8], 0
jmp 0x4073f5
push ebx
push edi
add esp, 4
sub ebx, 0x540d
jmp 0x407396
jmp 0x40739d
xor ebx, 0x14abf
pop ebx
push ebx
add ebx, 0x14f1b
add byte [ecx + 0xcc9eb], al
add byte [ecx + 0xa900f3], al
add byte [ebx - 0x75], bl
lea edi, [eax + edi*8 - 1]
inc dword [ebx]
lea esp, [esi + edi*8 - 1]
invalid
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x8a8]
or ecx, 0x20
cmp edx, ecx
jge 0x4073eb
mov dword [ebp - 0xcd8], 0xffffffff
jmp 0x4073f5
mov dword [ebp - 0xcd8], 1
cmp dword [ebp - 0xcd8], 0
jne 0x40740c
mov edx, dword [ebp - 0x19e4]
mov dword [ebp - 0x3fc], edx
jmp 0x40741d
jmp 0x4071f6
mov eax, dword [ebp - 0x788]
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
je 0x4074f8
push esi
xor esi, 0x17db4
sub esi, 0x1733
pop esi
push ebx
push ecx
add esp, 4
add ebx, 0xca6b
call 0x407452
add byte [edi + 0x39], cl
dec ebx
inc ebp
xor esi, dword [ebx]
cmp edi, dword [esp + eax*2]
add esp, 4
or ebx, 0x16964
pop ebx
mov ecx, dword [ebp - 0x3fc]
mov dword [ebp - 0x19e8], ecx
push edx
call 0x407479
add byte [eax + 0x37], dl
inc edx
inc ebx
xor ecx, dword [edi + ecx*2 + 0x4a]
cmp dword [edx - 0x7d], eax
les eax, [edx + ebx*2]
push edx
xor edx, 0x834a
pop edx
push eax
call 0x407496
add byte [ebx + 0x46], al
inc ebp
inc esi
dec ebp
dec ebx
xor dl, byte [eax + 0x36]
inc eax
add esp, 4
pop eax
mov edx, dword [ebp - 0x19e8]
mov dword [ebp - 0x19ec], edx
lea eax, [ebp - 0x1740]
push eax
call dword [ebp - 0x19ec]
test eax, eax
jne 0x4074f8
push edi
push edx
add esp, 4
and edi, 0xffb1
add edi, 0x1cb7
and edi, 0xf1ad
pop edi
push ecx
sub ecx, 0x157e
xor ecx, 0x18d3
and ecx, 0x9c9f
and ecx, 0xb16a
pop ecx
mov dword [ebp - 0xac0], 0
jmp 0x407be3
push esi
push esi
add esp, 4
and esi, 0x17e2a
add esi, 0x5181
pop esi
push eax
add eax, 0x5575
pop eax
push ebx
push ecx
add esp, 4
or ebx, 0x11e0d
add ebx, 0xeeab
and ebx, 0x14591
pop ebx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x19f0], ecx
mov edx, dword [ebp - 0x19f0]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x19f4], eax
mov ecx, dword [ebp - 0x19f4]
mov dword [ebp - 0x1684], ecx
push eax
add eax, 0x2b20
pop eax
push eax
push edi
add esp, 4
call 0x40756e
add byte [esi], dh
cmp dword ss:[edi + eax*2], edi
inc edx
dec ecx
dec esp
dec edi
cmp dword [ebx - 0x1f7efb3c], eax
loopne 0x4075a5
add dword [eax], eax
and eax, 0x939b
add eax, 0x16382
pop eax
cmp dword [ebp - 0x1684], 0
jne 0x40759c
mov dword [ebp - 0x2f4], 0
jmp 0x407843
mov edx, dword [ebp - 0x1684]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce4], ecx
push eax
and eax, 0x6f06
pop eax
push ecx
xor ecx, 0x7727
and ecx, 0x14dc7
pop ecx
push ecx
sub ecx, 0x8dc0
or ecx, 0x7ec2
sub ecx, 0xd2d2
pop ecx
push eax
and eax, 0xd1b7
pop eax
cmp dword [ebp - 0xce4], 0
jne 0x4075f8
mov dword [ebp - 0x2f4], 0
jmp 0x407843
mov edx, dword [ebp - 0xce4]
mov dword [ebp - 0x520], edx
push eax
call 0x407612
add byte [eax + 0x4b], cl
inc ecx
cmp ecx, dword [ecx + edi + 0x4e]
add esp, 4
and eax, 0x8a27
or eax, 0xeda5
pop eax
push ebx
and ebx, 0x11f8b
or ebx, 0x15540
and ebx, 0x1471b
pop ebx
lea eax, [ebp - 0x1740]
mov dword [ebp - 0xce0], eax
mov ecx, dword [ebp - 0x520]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcdc], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push eax
push ecx
add esp, 4
xor eax, 0xa57f
jmp 0x407671
pop eax
push ebx
push ecx
add esp, 4
add ebx, 0x15303
xor ebx, 0xc950
pop ebx
push edx
xor edx, 0x10f65
sub edx, 0xcfc1
pop edx
mov edx, dword [ebp - 0xcdc]
mov ax, word [edx]
mov word [ebp - 0x104a], ax
mov ecx, dword [ebp - 0xcdc]
add ecx, 2
mov dword [ebp - 0xcdc], ecx
mov dx, word [ebp - 0x104a]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xce0]
mov cx, word [eax]
mov word [ebp - 0x104c], cx
mov edx, dword [ebp - 0xce0]
add edx, 2
mov dword [ebp - 0xce0], edx
mov ax, word [ebp - 0x104c]
mov word [ebp - 0x40], ax
push ecx
push esi
add esp, 4
or ecx, 0x6ac7
call 0x407700
add byte [esi], dh
push eax
dec eax
cmp bh, byte [ecx]
cmp byte [ebx - 0x3e7efb3c], al
mov ebp, 0xe800002b
or dword [eax], eax
add byte [eax], al
add byte [edi + 0x45], cl
cmp bh, byte [eax]
dec edi
push eax
aaa
inc eax
add esp, 4
pop ecx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x407738
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x168c], edx
jmp 0x407792
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x407660
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x407660
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x40777c
mov dword [ebp - 0x1688], 0xffffffff
jmp 0x407786
mov dword [ebp - 0x1688], 1
mov ecx, dword [ebp - 0x1688]
mov dword [ebp - 0x168c], ecx
cmp dword [ebp - 0x168c], 0
jne 0x4077db
push edx
push ebx
add esp, 4
xor edx, 0x166a2
pop edx
push ecx
and ecx, 0x17c44
pop ecx
push ebx
jmp 0x4077b7
add ebx, 0xe9b
call 0x4077c9
add byte [edx], dh
cmp byte [edi + 0x48], al
dec ecx
cmp eax, dword [ebx - 0x74a4fb3c]
xchg ebp, eax
loopne 0x4077cb
add al, 0x5b
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x2f4], edx
jmp 0x407843
invalid
push edx
push ecx
add esp, 4
and edx, 0x8b0c
and edx, 0xa92
xor edx, 0xe555
or edx, 0xc81c
pop edx
push ecx
xor ecx, 0x793f
or ecx, 0x47e1
xor ecx, 0xb036
pop ecx
mov eax, dword [ebp - 0x520]
mov ecx, dword [eax]
mov dword [ebp - 0x520], ecx
mov edx, dword [ebp - 0x520]
cmp edx, dword [ebp - 0xce4]
je 0x407839
mov eax, dword [ebp - 0x520]
cmp dword [eax + 0x30], 0
jne 0x407604
mov dword [ebp - 0x2f4], 0
push eax
push edx
add esp, 4
call 0x407856
add byte [edi + 0x49], al
cmp eax, dword ss:[esi + 0x4a]
dec edx
inc ecx
add esp, 4
call 0x407865
add byte [esi + 0x4f], cl
inc eax
xor al, byte [edx + 0x39]
add esp, 4
add eax, 0x870b
and eax, 0xf599
pop eax
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x36c], edx
push edx
add edx, 0x3918
call 0x407897
add byte [edx + 0x3b], al
dec ebp
inc ebx
aas
add esp, 4
and edx, 0x98c5
pop edx
push ecx
or ecx, 0x840f
jmp 0x4078ad
pop ecx
push edx
and edx, 0x728
pop edx
mov dword [ebp - 0x798], 0
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x1690], eax
cmp dword [ebp - 0x1690], 0
jne 0x4078e6
mov ecx, dword [ebp - 0x798]
mov dword [ebp - 0x524], ecx
jmp 0x407bd7
mov edx, dword [ebp - 0x1690]
mov eax, dword [ebp - 0x36c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1694], eax
jne 0x40790e
mov ecx, dword [ebp - 0x798]
mov dword [ebp - 0x524], ecx
jmp 0x407bd7
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1694]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1698], edx
cmp dword [ebp - 0x1698], 0
jne 0x407940
mov eax, dword [ebp - 0x798]
mov dword [ebp - 0x524], eax
jmp 0x407bd7
mov ecx, dword [ebp - 0x36c]
add ecx, dword [ebp - 0x1698]
mov dword [ebp - 0x78c], ecx
jne 0x407965
mov edx, dword [ebp - 0x798]
mov dword [ebp - 0x524], edx
jmp 0x407bd7
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x36c]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x19f8], ecx
mov edx, dword [ebp - 0x78c]
mov eax, dword [ebp - 0x36c]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x19fc], eax
mov ecx, dword [ebp - 0x78c]
mov edx, dword [ebp - 0x36c]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1a00], edx
mov dword [ebp - 0x790], 0
jmp 0x4079bf
mov eax, dword [ebp - 0x790]
add eax, 1
mov dword [ebp - 0x790], eax
mov ecx, dword [ebp - 0x78c]
mov edx, dword [ebp - 0x790]
cmp edx, dword [ecx + 0x18]
jae 0x407bcb
mov eax, dword [ebp - 0x790]
mov ecx, dword [ebp - 0x19f8]
mov edx, dword [ebp - 0x36c]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x794], edx
mov eax, dword [ebp - 0x790]
mov ecx, dword [ebp - 0x19fc]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1a00]
mov ecx, dword [ebp - 0x36c]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1a04], ecx
mov dword [ebp - 0x1a0], 0
jmp 0x407a2f
mov edx, dword [ebp - 0x1a0]
add edx, 1
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x794]
add eax, dword [ebp - 0x1a0]
movsx ecx, byte [eax]
test ecx, ecx
je 0x407ae1
mov edx, dword [ebp - 0x1a0]
movsx eax, byte [ebp + edx - 0x9d8]
test eax, eax
je 0x407ae1
push ecx
push ebx
add esp, 4
xor ecx, 0x11d13
pop ecx
push ecx
push edi
add esp, 4
add ecx, 0x172cd
sub ecx, 0x1927
pop ecx
push esi
push ecx
add esp, 4
sub esi, 0x14e8
pop esi
push ecx
jmp 0x407a8d
pop ecx
mov ecx, dword [ebp - 0x794]
add ecx, dword [ebp - 0x1a0]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x1a0]
movsx ecx, byte [ebp + eax - 0x9d8]
cmp edx, ecx
je 0x407ad3
mov edx, dword [ebp - 0x794]
add edx, dword [ebp - 0x1a0]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x1a0]
movsx edx, byte [ebp + ecx - 0x9d8]
cmp eax, edx
jne 0x407ada
jmp 0x407a20
jmp 0x407ae1
push edi
push edi
add esp, 4
call 0x407af2
add byte [ecx], bh
dec edi
cmp al, 0x36
dec eax
push eax
add esp, 4
pop edi
push edx
push ecx
add esp, 4
add edx, 0x11e8f
jmp 0x407b0a
pop edx
push edx
xor edx, 0x605d
pop edx
mov eax, dword [ebp - 0x794]
add eax, dword [ebp - 0x1a0]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1a0]
movsx eax, byte [ebp + edx - 0x9d8]
cmp ecx, eax
jne 0x407b40
mov dword [ebp - 0xce8], 0
jmp 0x407baf
push ebx
push ecx
add esp, 4
or ebx, 0x755b
or ebx, 0x1721f
pop ebx
push eax
xor eax, 0xd546
call 0x407b68
add byte [ecx + 0x4e], cl
inc edx
inc ecx
dec ebp
inc ebp
dec esp
dec edx
dec eax
add esp, 4
and eax, 0xd2d4
pop eax
mov ecx, dword [ebp - 0x794]
add ecx, dword [ebp - 0x1a0]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x1a0]
movsx ecx, byte [ebp + eax - 0x9d8]
or ecx, 0x20
cmp edx, ecx
jge 0x407ba5
mov dword [ebp - 0xce8], 0xffffffff
jmp 0x407baf
mov dword [ebp - 0xce8], 1
cmp dword [ebp - 0xce8], 0
jne 0x407bc6
mov edx, dword [ebp - 0x1a04]
mov dword [ebp - 0x524], edx
jmp 0x407bd7
jmp 0x4079b0
mov eax, dword [ebp - 0x798]
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
mov dword [ebp - 0xac0], ecx
push ecx
push edx
add esp, 4
xor ecx, 0xbac8
pop ecx
push eax
or eax, 0xe8e1
and eax, 0x3ae9
sub eax, 0x49d
pop eax
push esi
push ecx
add esp, 4
add esi, 0xa57
add esi, 0x17db0
pop esi
mov edx, dword [ebp - 0xac0]
mov dword [ebp - 0x1a08], edx
lea eax, [ebp - 0xcec]
push eax
push 0x40
mov ecx, dword [ebp - 0x169c]
push ecx
mov edx, dword [ebp - 0x3e4]
push edx
call dword [ebp - 0x1a08]
test eax, eax
jne 0x407c88
push edx
call 0x407c50
add byte [ecx], bh
inc eax
inc ebx
dec ecx
aas
xor eax, 0x4c4833a
sub edx, 0x168c1
sub edx, 0x48e9
and edx, 0x17b2a
pop edx
push ecx
push edi
add esp, 4
jmp 0x407c73
pop ecx
mov eax, dword [ebp - 0x7a0]
mov dword [ebp - 0x1a0c], eax
push 0
call dword [ebp - 0x1a0c]
mov ecx, dword [ebp - 0x1a10]
mov dword [ebp - 0x79c], ecx
jmp 0x407ca5
mov edx, dword [ebp - 0x79c]
add edx, 1
mov dword [ebp - 0x79c], edx
mov eax, dword [ebp - 0x79c]
cmp eax, dword [ebp - 0xac4]
jae 0x407d01
push ebx
add ebx, 0xe35e
pop ebx
push edx
sub edx, 0x2501
pop edx
push ecx
and ecx, 0x3826
add ecx, 0xff5e
pop ecx
push edx
push edx
add esp, 4
sub edx, 0x137f1
pop edx
push ecx
xor ecx, 0x13da4
pop ecx
movzx ecx, byte [ebp - 0x3ed]
mov edx, dword [ebp - 0x79c]
movsx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp - 0x79c]
mov byte [ecx], al
jmp 0x407c96
mov edx, dword [ebp - 0xac0]
mov dword [ebp - 0x1a14], edx
lea eax, [ebp - 0xcec]
push eax
mov ecx, dword [ebp - 0xcec]
push ecx
mov edx, dword [ebp - 0x169c]
push edx
mov eax, dword [ebp - 0x3e4]
push eax
call dword [ebp - 0x1a14]
test eax, eax
jne 0x407d79
push eax
push edx
add esp, 4
xor eax, 0xb201
pop eax
push ecx
xor ecx, 0x11ebf
and ecx, 0x8c21
add ecx, 0x16fde
pop ecx
push ebx
push eax
add esp, 4
jmp 0x407d5e
add ebx, 0x17888
pop ebx
mov ecx, dword [ebp - 0x7a0]
mov dword [ebp - 0x1a18], ecx
push 0
call dword [ebp - 0x1a18]
push ecx
and ecx, 0x1c74
jmp 0x407d86
or ecx, 0x11ca
pop ecx
push ebx
push esi
add esp, 4
sub ebx, 0x6dca
and ebx, 0x14e86
xor ebx, 0x12a58
or ebx, 0x18af
pop ebx
push edx
mov ecx, 0x10101010
pop edx
push ecx
mov ecx, 0xffff04ff
pop ecx
push esi
test esi, eax
in al, dx
jle 0x407dc3
add al, 0x5e
pop edx
push edi
xchg eax, ecx
or byte [ebp + 0x4e226ca], al
add al, 0x85
sal byte [edx - 0x13fbfa7b], cl
push cs
add al, 4
add al, 4
dec edi
aaa
push esp
dec ebx
cmp dword [edx + 0x49], edx
inc edi
xchg eax, ecx
or byte [ebp + 0x53b07ea], al
add al, 0x62
retf 0xb489