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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x41c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x44]
add edx, 0x38
mov dword [ebp - 0x3e0], edx
mov edx, dword [ebp + 8]
add ecx, 0x38
mov dword [ebp - 0x3dc], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov ebx, dword [ecx + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov eax, edx
and eax, 0xfff83fff
test ch, 1
cmovne eax, edx
test eax, 0x40000
mov dword [ebp - 0x3d0], eax
je 0x7e04e8
or ah, 0x40
test eax, 0x40000
mov dword [ebp - 0x3d0], eax
jne 0x7e0c03
mov eax, dword [ebp - 0x3d0]
or eax, 0x10000
test dword [ebp - 0x3d0], 0x4000
cmove eax, dword [ebp - 0x3d0]
test ax, ax
mov dword [ebp - 0x3d0], eax
jns 0x7e0520
or dword [ebp - 0x3d0], 0x20000
and dword [ebp - 0x3d0], 0xffffffbf
mov eax, dword [ebp - 0x3d0]
lea edx, [ebp - 0x198]
mov dword [esp], edx
mov dword [esp + 8], 0x18c
mov dword [esp + 4], 0
and ah, 0xfe
test dword [ebp - 0x3d0], 0x20000
cmove eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
and al, 0x7f
test dword [ebp - 0x3d0], 0x10000
cmove eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
and eax, 0xfffcfe7f
and esi, 4
cmovne eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
and eax, 0xffff3baf
test cl, 2
cmovne eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
and ah, 0xcf
and ecx, 0x40
cmove eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
and ah, 0x7f
test dword [ebp - 0x3d0], 0x20000000
cmove eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
and ah, 0xbf
test dword [ebp - 0x3d0], 0x2000000
cmove eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc8], ebx
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + 0x64]
mov dword [ebp - 0x104], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 0x18]
shr eax, 2
and eax, 1
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x3d0]
and eax, 0x1000
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x357]
and eax, 0xffffffc0
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x6c]
xor eax, 1
and eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xd4], eax
mov eax, dword [0xc24aa0]
test eax, eax
je 0x7e065b
call eax
mov esi, dword [ebp - 0x3d4]
test esi, esi
je 0x7e0c1b
mov eax, ebx
shl eax, 4
shr ebx, 1
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3ec], ebx
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x7e0abe
mov eax, dword [ebp - 0x3bc]
imul eax, dword [ebp - 0x3ec]
imul ecx, dword [ebp - 0x3b8], 0x1cc
mov dword [ebp - 0x3c0], 0
shl eax, 3
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3b0]
mov esi, ecx
add esi, dword [ebp - 0x3e4]
mov dword [ebp - 0x3ac], ecx
mov dword [ebp - 0x3a0], eax
jmp 0x7e07b2
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3e0]
mov edx, dword [ebp - 0x3dc]
mov dword [esp], esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x3bc]
mov dword [esp + 0x1c], edx
lea edx, [ebp - 0x198]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3e8]
add eax, dword [ebp - 0x3ac]
mov dword [esp + 4], eax
mov eax, edi
call fcn.007df470
test eax, eax
je 0x7e08b4
add dword [ebp - 0x3c0], 1
add esi, 0x1cc
mov edx, dword [ebp - 0x3d8]
add dword [ebp - 0x3a0], 0x10
add dword [ebp - 0x3ac], 0x1cc
add dword [ebp - 0x3a8], 8
cmp dword [ebp - 0x3c0], edx
je 0x7e0ab2
mov edx, dword [ebp + 0x10]
lea eax, [esi + 0x144]
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3e8], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3a0]
add eax, dword [edx + 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3a0]
add eax, dword [ecx + 0x38]
mov dword [esp], eax
call dword [0xc24ab8]
mov edx, dword [esi + 0x148]
mov dword [esi + 0x154], eax
mov eax, dword [esi + 0x150]
cmp dword [esi + 0x14c], eax
cmovge eax, dword [esi + 0x14c]
mov ecx, dword [ebp - 0xb8]
cmp eax, edx
cmovl eax, edx
mov edx, dword [esi + 0x144]
cmp eax, edx
cmovl eax, edx
test ecx, ecx
lea edi, [eax*4]
je 0x7e0710
mov eax, dword [ebp - 0x3ec]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3a8]
add eax, dword [edx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3a8]
add eax, dword [ecx + 0x3c]
mov dword [esp], eax
call dword [0xc24aa8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x3ec]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3a8]
add eax, dword [edx + 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3a8]
add eax, dword [ecx + 0x40]
mov dword [esp], eax
call dword [0xc24aa8]
add eax, ebx
mov dword [ebp - 0x108], eax
add dword [esi + 0x154], eax
add edi, dword [ebp - 0x108]
jmp 0x7e0710
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x28], esi
mov ecx, dword [ebp - 0x3e4]
mov eax, dword [edx + 0x44]
lea edx, [ebp - 0x198]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x3bc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc], edx
mov ecx, dword [ebp - 0x3c0]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3e0]
mov dword [esp + 4], eax
mov eax, dword [edx]
mov dword [esp], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 0x3dc]
call fcn.007ddab0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
test dh, 1
jne 0x7e0b8d
test dh, 0x10
je 0x7e0b1a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x3dc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x3e0]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x3bc]
mov dword [esp + 4], esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x3e4]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x198]
mov dword [esp], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.007ea5b0
mov edx, dword [ebp - 0xc0]
lea eax, [esi + 0x124]
mov edi, esi
test edx, edx
cmovne edi, eax
mov eax, dword [esi + 0xec]
test eax, eax
je 0x7e0a5c
cmp eax, 2
jne 0x7e077b
mov dword [ebp - 0x3b4], 2
mov edx, dword [ebp - 0x3b4]
mov ecx, dword [edi + edx*8 + 8]
cmp ecx, dword [ebp - 0x3cc]
mov ebx, ecx
jg 0x7e0a13
mov eax, ecx
mov ebx, dword [ebp - 0x3cc]
not eax
cmp dword [ebp - 0x3cc], eax
cmovl ebx, eax
mov eax, dword [ebp - 0x3b4]
mov edx, dword [edi + eax*8 + 0xc]
cmp ebx, edx
mov dword [ebp - 0x3cc], edx
jl 0x7e0a36
mov eax, edx
not eax
cmp ebx, eax
cmovge eax, ebx
mov dword [ebp - 0x3cc], eax
imul edx, edx
imul ecx, ecx
sub dword [ebp - 0x3b4], 1
lea eax, [edx + ecx]
add dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3b4], 0xffffffff
jne 0x7e09ec
add dword [ebp - 0x3c4], 3
mov ecx, dword [edi]
cmp dword [ebp - 0x3cc], ecx
mov edx, dword [edi + 4]
mov ebx, ecx
jl 0x7e0a7e
mov eax, ecx
mov ebx, dword [ebp - 0x3cc]
not eax
cmp dword [ebp - 0x3cc], eax
cmovl ebx, eax
cmp ebx, edx
mov dword [ebp - 0x3cc], edx
jl 0x7e0a97
mov eax, edx
not eax
cmp ebx, eax
cmovge eax, ebx
mov dword [ebp - 0x3cc], eax
imul edx, edx
imul ecx, ecx
add dword [ebp - 0x3c4], 1
lea eax, [edx + ecx]
add dword [ebp - 0x3c8], eax
jmp 0x7e077b
mov ecx, dword [ebp - 0x3c0]
add dword [ebp - 0x3b8], ecx
add dword [ebp - 0x3bc], 1
mov eax, dword [ebp - 0x3a4]
mov edx, dword [ebp - 0x3d4]
add dword [ebp - 0x3b0], eax
cmp dword [ebp - 0x3bc], edx
jne 0x7e06b8
mov edx, dword [ebp - 0x3cc]
mov dword [esp], edx
call fcn.007d0bc0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x3c4]
mov dword [ecx + 0x124], edx
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ecx + 0x120], eax
add esp, 0x41c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x3dc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x3e0]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x3bc]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x3e4]
mov dword [esp + 8], edx
mov edx, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp], eax
lea eax, [ebp - 0x198]
call fcn.007def40
jmp 0x7e09b8
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x3dc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x3e0]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x3bc]
mov dword [esp + 4], esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x3e4]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x198]
mov dword [esp], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x3c0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.007eb050
jmp 0x7e09b8
or ah, 0x80
and dh, 8
cmove eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
jmp 0x7e04e8
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0
jmp 0x7e0ae3