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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1030f644]
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 0x100a4cbf
sub edi, ecx
inc edi
mov dword [esp + 0x14], edi
jmp 0x100a4cd9
lea eax, [edx - 1]
add eax, ecx
cmp eax, esi
jbe 0x100a4cd3
mov edi, esi
sub edi, ecx
inc edi
mov dword [esp + 0x14], edi
jmp 0x100a4cd9
mov edi, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
test edi, edi
jle 0x100a4ebc
mov esi, ecx
nop dword [eax + eax]
cmp dword [esp + 0x10], 0
jne 0x100a4ebc
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 0x18]
je 0x100a4d88
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x100a4d88
mov edx, esi
call fcn.1009e730
test eax, eax
je 0x100a4d88
mov eax, dword [ebx + 0xe4]
push 0
push esi
push dword [eax + 0x2c]
call dword [0x103105a0]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100a4d3e
mov dword [esp + 0x28], eax
jmp 0x100a4ddf
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0xe4]
mov dword [esp + 0x24], edx
cmp dword [eax], 0
jne 0x100a4d61
push ecx
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1009ee10
add esp, 4
jmp 0x100a4d68
inc dword [edx + 0xc]
inc word [eax + 0x1e]
mov dword [esp + 0x28], eax
test eax, eax
je 0x100a4ddf
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 0x100a4dda
mov eax, dword [0x10311a04]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp esi, eax
je 0x100a4ddf
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 0x100a4ddf
mov ecx, dword [esp + 0x28]
call fcn.100a4a30
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.100a4700
mov eax, dword [esp + 0x1c]
inc esi
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
jl 0x100a4cf0
cmp dword [esp + 0x10], 0
jne 0x100a4ebc
cmp dword [esp + 0xc], 0
je 0x100a4ebc
mov esi, dword [esp + 0x18]
nop dword [eax + eax]
mov eax, dword [ebx + 0xe4]
push 0
push esi
push dword [eax + 0x2c]
call dword [0x103105a0]
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100a4eaa
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 0xe4]
cmp dword [eax], 0
jne 0x100a4e46
push edx
mov edx, esi
call fcn.1009ee10
add esp, 4
jmp 0x100a4e4d
inc dword [ecx + 0xc]
inc word [eax + 0x1e]
test eax, eax
je 0x100a4eaa
or word [eax + 0x1c], 8
test byte [eax + 0x1c], 0x20
je 0x100a4ea3
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.101b0580
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 0x100a4eaa
mov ecx, eax
call fcn.1009ee90
inc esi
sub edi, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
jne 0x100a4e10
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.101afab5
mov esp, ebp
pop ebp
ret