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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x68]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov edx, dword [edi]
lea eax, [edi + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
mov ebp, dword [edx + 0x24]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x7e53cf
lea ebx, [ecx*4]
lea ecx, [esp + 0x14]
push ecx
push 2
push dword [eax]
mov eax, dword [esp + 0x80]
push dword [edi + 0xc]
add eax, 0xfffffffc
add eax, ebx
push eax
push ebp
call fcn.007942a0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x7e5651
mov ecx, dword [esp + 0x78]
lea eax, [edi + 0x10]
mov edx, dword [esp + 0x28]
jmp 0x7e53d5
xor ebx, ebx
mov dword [esp + 0x20], eax
cmp dword [eax], 0
je 0x7e56c7
mov eax, dword [edi + 8]
cmp dword [eax + 0x74], 0
je 0x7e56c7
test dword [edi + 0x13c], 0x2000
jne 0x7e56c7
mov eax, dword [eax + 0x80]
test eax, eax
je 0x7e5419
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x7e5419
test byte [eax + 0x31c], 8
jne 0x7e56c7
mov eax, dword [esp + 0x7c]
sub eax, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
push ecx
shl eax, 4
push eax
push dword [edx + 0x1c]
call fcn.00767980
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x7e5651
mov eax, dword [esp + 0x74]
add ebx, eax
mov ecx, dword [esp + 0x7c]
lea eax, [eax + ecx*4]
cmp ebx, eax
jae 0x7e54e1
mov ebp, dword [esp + 0x1c]
add ebp, 4
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x24]
push 0
push dword [eax]
push dword [edi + 0xc]
push ebx
push dword [esp + 0x24]
call fcn.007942a0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x7e5651
mov eax, dword [esp + 0x68]
push 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
mov dword [ebp], eax
push dword [esp + 0x6c]
push dword [edi + 0xc]
push dword [esp + 0x1c]
call fcn.00795f00
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x7e5651
mov ecx, dword [esp + 0x7c]
add ebx, 4
mov dword [esp + 0x68], eax
add ebp, 0x10
mov eax, dword [esp + 0x74]
lea eax, [eax + ecx*4]
cmp ebx, eax
jb 0x7e5460
mov ebp, dword [esp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
mov esi, ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [eax + 0x74]
mov dword [esp + 0x30], esi
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x184]
mov dword [esp + 0x38], eax
shr eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], esi
mov edx, esi
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
shl eax, 4
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x34]
jbe 0x7e5580
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
shr eax, 5
shl eax, 4
add esi, eax
mov dword [esp + 0x4c], eax
mov eax, esi
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x6c]
sub eax, ecx
sar eax, 4
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
sub dword [esp + 0x18], eax
mov eax, dword [esi - 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
jmp 0x7e5588
mov dword [esp + 0x24], 1
cmp edx, ecx
jne 0x7e5596
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
jmp 0x7e55c1
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x24]
push 2
push dword [eax]
lea eax, [edx - 0x10]
push dword [edi + 0xc]
push eax
push ebp
call fcn.007942a0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x7e5651
mov eax, dword [esp + 0x68]
test eax, eax
je 0x7e55ca
mov ecx, dword [eax + 8]
jmp 0x7e55d0
lea eax, [esp + 0x40]
xor ecx, ecx
lea edx, [esp + 0x48]
push edx
push dword [esp + 0x30]
push dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x30]
push ecx
push ebx
push dword [ebx + 8]
push dword [esp + 0x40]
push ebx
push dword [eax]
push dword [esp + 0x50]
call fcn.007f1cd0
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x7e5651
mov edx, dword [esp + 0x68]
test edx, edx
je 0x7e5639
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x14]
je 0x7e5631
push 1
push eax
push dword [edi + 0xc]
push ebp
call fcn.00795f00
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x7e5651
mov dword [esp + 0x68], 0
cmp dword [esp + 0x24], 0
jne 0x7e56d8
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
jmp 0x7e5518
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x7e5671
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 0x1c]
call fcn.00767960
add esp, 8
test ebp, ebp
je 0x7e5685
push dword [edi + 0x14]
push ebp
push dword [edi + 0xc]
push ebx
call fcn.00795f00
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x7e56a9
cmp ecx, eax
je 0x7e56a9
push dword [edi + 0x14]
push ecx
push dword [edi + 0xc]
push ebx
call fcn.00795f00
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x7e56bd
push dword [edi + 0x14]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00795f00
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov ebx, dword [esp + 0x6c]
mov dword [ebx], 0
mov dword [ebx + 4], 1
mov ebp, dword [esp + 0x70]
push 1
push ebp
push dword [edi + 0xc]
push dword [esp + 0x1c]
call fcn.00795f00
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x7e5655
mov eax, dword [esp + 0x74]
xor ebp, ebp
mov ecx, dword [esp + 0x78]
push ebp
push dword [eax + ecx*4]
push dword [edi + 0xc]
push dword [edi + 0x10]
push dword [esp + 0x20]
call fcn.0077c010
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x7e5655
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov eax, dword [eax + ecx*4]
dec eax
mov dword [ebx + 0x20], eax
test ecx, ecx
jne 0x7e573e
mov dword [ebx + 0x1c], ebp
mov ebx, dword [esp + 0x10]
jmp 0x7e576e
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax + 0x10], ebp
push dword [edi + 0x14]
push dword [esp + 0x18]
push dword [edi + 0xc]
push ebx
call fcn.00795f00
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x7e5659
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x74]
push eax
push ecx
push ebx
call fcn.0077be50
add esp, 0xc
mov esi, eax
jmp 0x7e5659