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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], eax
xor edx, edx
push edi
mov dword [esp + 0x24], esi
xor ecx, ecx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0xc], ecx
mov eax, dword [ebx + 0x94]
div dword [ebx + 0x98]
or byte [ebx + 0x14], 4
mov esi, dword [esi + 0x14]
mov edx, eax
lea edi, [edx - 1]
not edi
lea eax, [esi - 1]
and edi, eax
inc edi
mov dword [esp + 0x1c], edi
cmp esi, dword [ebx + 0x18]
jbe 0x10029495
sub esi, edi
inc esi
mov dword [esp + 0x14], esi
jmp 0x100294b0
mov esi, dword [ebx + 0x18]
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jbe 0x100294aa
sub esi, edi
inc esi
mov dword [esp + 0x14], esi
jmp 0x100294b0
mov esi, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
test esi, esi
jle 0x100296b1
nop dword [eax]
test ecx, ecx
jne 0x100296b1
mov eax, dword [esp + 0x24]
cmp edi, dword [eax + 0x14]
je 0x1002955e
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x1002955a
mov edx, edi
call fcn.100232b0
test eax, eax
je 0x1002955a
mov eax, dword [ebx + 0xcc]
push 0
push edi
push dword [eax + 0x2c]
call dword [0x101e9a7c]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x1002950b
mov dword [esp + 0x18], eax
jmp 0x100295ba
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0x18], edx
cmp dword [eax], 0
jne 0x1002952e
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.10023b40
add esp, 4
jmp 0x10029535
inc dword [edx + 0xc]
inc word [eax + 0x1a]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100295ba
test byte [eax + 0x18], 8
mov edx, 1
mov ecx, dword [esp + 0x10]
cmovne ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, eax
call fcn.10028ff0
jmp 0x100295ba
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101e8e04]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x100295be
lea eax, [esp + 0x18]
mov edx, edi
push 0
push eax
mov ecx, ebx
call fcn.10028ba0
mov ecx, eax
add esp, 8
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x100295be
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.10029380
test byte [esi + 0x18], 8
mov ecx, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
cmovne eax, ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.10028ff0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
inc edi
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jl 0x100294c0
test ecx, ecx
jne 0x100296b1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100296b1
mov edi, dword [esp + 0x1c]
nop dword [eax + eax]
mov eax, dword [ebx + 0xcc]
push 0
push edi
push dword [eax + 0x2c]
call dword [0x101e9a7c]
mov edx, eax
add esp, 0xc
test edx, edx
je 0x1002969b
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 0xcc]
cmp dword [eax], 0
jne 0x1002962a
push edx
mov edx, edi
call fcn.10023b40
add esp, 4
jmp 0x10029631
inc dword [ecx + 0xc]
inc word [eax + 0x1a]
test eax, eax
je 0x1002969b
or word [eax + 0x18], 8
test byte [eax + 0x18], 0x40
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], edx
je 0x1002968b
dec dword [edx + 0x78]
mov ecx, dword [edx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [edx + 0x3c]
mov dword [edx + 0x88], eax
push dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.100a7510
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x24]
add esp, 0x10
mov edi, dword [esp + 0x1c]
jmp 0x10029692
mov ecx, eax
call fcn.10023bd0
mov ecx, dword [esp + 0x24]
call fcn.10028b70
inc edi
sub esi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
jne 0x100295f0
mov ecx, dword [esp + 0xc]
and byte [ebx + 0x14], 0xfb
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret