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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x18]
push ebp
call fcn.0078fb00
mov esi, eax
mov dword [esp + 0x20], esi
mov ebx, 1
test esi, esi
je 0x790933
mov ebx, esi
mov eax, dword [edi + 0x40]
sub eax, dword [ebp]
cmp ebx, eax
jle 0x790949
mov ecx, dword [edi]
push 0x453
call fcn.0075f390
mov ecx, dword [edi + 0x14]
push ebx
add ecx, 0x78
call fcn.0077cc90
mov ecx, dword [edi + 0x14]
mov dword [ecx + 0xbc], esi
mov dword [esp + 0x10], 0
test esi, esi
jle 0x790b47
mov edi, edi
lea ebp, [edi + 0x18]
push ebp
mov ecx, edi
call fcn.0078fb00
mov edx, dword [ebp]
mov esi, eax
push ebp
mov ecx, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
call fcn.0078fb00
cmp esi, 1
jl 0x7909a2
push ebp
mov ecx, edi
call fcn.0078fb00
sub esi, 1
jne 0x790995
push ebp
mov ecx, edi
call fcn.0078fb00
mov eax, dword [ebp]
cmp eax, dword [edi + 0x3c]
jb 0x7909b7
cmp eax, dword [edi + 0x40]
jb 0x7909c3
mov ecx, dword [edi]
push 0x453
call fcn.0075f390
mov eax, dword [ebp]
movzx ebx, byte [eax]
inc eax
mov dword [esp + 0x1c], ebx
mov dword [ebp], eax
test bl, 0x20
jne 0x7909fc
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
push 4
push 3
push 0x3c
call fcn.007af982
test eax, eax
je 0x7909f6
mov ecx, eax
call fcn.007a3860
mov esi, eax
jmp 0x790a1f
xor eax, eax
mov esi, eax
jmp 0x790a1f
cmp dword [edi + 0x1c], 0
jne 0x790a0e
mov ecx, dword [edi]
push 0x437
call fcn.0075f390
mov ecx, dword [edi + 0x1c]
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx*4]
or dword [esi + 0x18], 0x8000000
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x14]
cmp dword [esi + 8], eax
lea ecx, [esi + 8]
je 0x790a41
test eax, eax
je 0x790a41
push eax
push ecx
call fcn.007b09f9
add esp, 8
jmp 0x790a43
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
inc eax
mov dword [esi + 0x1c], ecx
push eax
mov ecx, esi
call fcn.007928a0
or dword [esi + 0x18], ebx
test bl, 8
je 0x790aa3
push ebp
mov ecx, edi
call fcn.0078fb00
mov ebx, eax
mov dword [esi + 0x10], ebx
test ebx, ebx
jle 0x790a8b
mov dword [esp + 0x14], ebx
push ebp
mov ecx, edi
call fcn.0078fb00
inc dword [ebp]
sub dword [esp + 0x14], 1
jne 0x790a77
test ebx, ebx
je 0x790a93
cmp ebx, dword [esp + 0x18]
jle 0x790a9f
mov ecx, dword [edi]
push 0x453
call fcn.0075f390
mov ebx, dword [esp + 0x1c]
test bl, bl
jns 0x790abe
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jle 0x790abe
mov edi, edi
push ebp
mov ecx, edi
call fcn.0078fb00
inc ebx
cmp ebx, dword [esi + 0xc]
jl 0x790ab0
mov ebx, dword [edi + 0x14]
mov eax, dword [ebx + 0x78]
mov edx, dword [esp + 0x10]
add ebx, 0x78
lea ecx, [eax + edx*4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xc]
mov ebp, esi
and ebp, 0xfffffff8
cmp byte [ecx + 0x115], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
je 0x790b19
test ebp, ebp
je 0x790b19
push eax
call fcn.007af9b5
add esp, 4
test eax, eax
je 0x790b19
mov ecx, dword [esp + 0x14]
push ebp
call fcn.007afd94
test eax, eax
je 0x790b19
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ebp
push edx
call fcn.007b0696
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push eax
call fcn.007af4e2
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
jbe 0x790b36
mov ecx, eax
cmp eax, dword [esp + 0x20]
mov dword [ebx + 4], ecx
mov dword [esp + 0x10], eax
jl 0x790970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret