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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x102d4008]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ecx + 0x14]
xor eax, eax
mov dword [esp + 4], eax
xor edx, edx
push esi
push edi
mov eax, dword [ebx + 0x94]
div dword [ebx + 0x98]
or byte [ebx + 0x14], 4
mov edi, dword [ecx + 0x18]
mov edx, eax
mov esi, dword [ebx + 0x18]
neg eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
lea ecx, [edi - 1]
and ecx, eax
inc ecx
mov dword [esp + 0x18], ecx
cmp edi, esi
jbe 0x100748af
sub edi, ecx
inc edi
mov dword [esp + 0x14], edi
jmp 0x100748c9
lea eax, [edx - 1]
add eax, ecx
cmp eax, esi
jbe 0x100748c3
mov edi, esi
sub edi, ecx
inc edi
mov dword [esp + 0x14], edi
jmp 0x100748c9
mov edi, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
test edi, edi
jle 0x10074aac
mov esi, ecx
nop dword [eax + eax]
cmp dword [esp + 0x10], 0
jne 0x10074aac
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 0x18]
je 0x10074978
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x10074978
mov edx, esi
call fcn.1006e310
test eax, eax
je 0x10074978
mov eax, dword [ebx + 0xe4]
push 0
push esi
push dword [eax + 0x2c]
call dword [0x102d55a0]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x1007492e
mov dword [esp + 0x28], eax
jmp 0x100749cf
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0xe4]
mov dword [esp + 0x24], edx
cmp dword [eax], 0
jne 0x10074951
push ecx
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1006e9f0
add esp, 4
jmp 0x10074958
inc dword [edx + 0xc]
inc word [eax + 0x1e]
mov dword [esp + 0x28], eax
test eax, eax
je 0x100749cf
test byte [eax + 0x1c], 8
mov edx, 1
mov ecx, dword [esp + 0xc]
cmovne ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, eax
jmp 0x100749ca
mov eax, dword [0x102d69fc]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp esi, eax
je 0x100749cf
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0xcc]
push esi
push ebx
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100749cf
mov ecx, dword [esp + 0x28]
call fcn.10074620
mov ecx, dword [esp + 0x28]
mov edx, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
test byte [ecx + 0x1c], 8
cmovne eax, edx
mov dword [esp + 0xc], eax
call fcn.100742f0
mov eax, dword [esp + 0x1c]
inc esi
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
jl 0x100748e0
cmp dword [esp + 0x10], 0
jne 0x10074aac
cmp dword [esp + 0xc], 0
je 0x10074aac
mov esi, dword [esp + 0x18]
nop dword [eax + eax]
mov eax, dword [ebx + 0xe4]
push 0
push esi
push dword [eax + 0x2c]
call dword [0x102d55a0]
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10074a9a
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 0xe4]
cmp dword [eax], 0
jne 0x10074a36
push edx
mov edx, esi
call fcn.1006e9f0
add esp, 4
jmp 0x10074a3d
inc dword [ecx + 0xc]
inc word [eax + 0x1e]
test eax, eax
je 0x10074a9a
or word [eax + 0x1c], 8
test byte [eax + 0x1c], 0x20
je 0x10074a93
mov edx, dword [eax + 0x14]
dec dword [edx + 0x78]
mov ecx, dword [edx + 0x88]
mov dword [eax + 0x10], ecx
mov esi, dword [edx + 0x3c]
mov dword [edx + 0x88], eax
push dword [eax + 4]
mov ecx, dword [eax + 0x18]
mov eax, dword [edx + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10181160
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [esp + 0x24]
add esp, 0x10
mov esi, dword [esp + 0x18]
jmp 0x10074a9a
mov ecx, eax
call fcn.1006ea70
inc esi
sub edi, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
jne 0x10074a00
and byte [ebx + 0x14], 0xfb
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010f56f
mov esp, ebp
pop ebp
ret