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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
cmp byte [ecx + 0x3c], 0
lea edi, [ebx + 0x3c]
mov dword [ebp - 8], edi
jne 0x1002396c
push 0x60
call fcn.10015ec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
je 0x100238f2
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x3a], 0xffffffff
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov word [esi + 0x3e], ax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov word [esi + 0x38], ax
mov byte [esi + 0x48], al
mov dword [esi + 0x4c], 0x3f800000
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov word [esi + 0x5c], ax
jmp 0x100238f4
xor esi, esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x10023960
inc ecx
test eax, eax
je 0x1002390e
cdq
sub eax, edx
mov edx, dword [edi + 4]
sar eax, 1
add eax, edx
jmp 0x10023916
mov edx, dword [edi + 4]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jle 0x10023960
lea eax, [ecx*4]
push eax
call fcn.10015ec0
mov edx, dword [edi + 8]
add esp, 4
mov dword [ebp - 0xc], eax
test edx, edx
je 0x10023957
mov ecx, dword [edi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100ecd50
push dword [edi + 8]
call fcn.10015f50
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], esi
inc dword [edi]
jmp 0x1002396f
mov dword [ebp - 8], edi
mov esi, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x58]
cmp esi, ecx
jne 0x100239d2
inc esi
test ecx, ecx
je 0x10023989
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002398e
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100239ce
imul eax, esi, 0x7c
push eax
call fcn.10015ec0
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x100239c3
imul ecx, dword [ebx + 0x54], 0x7c
push ecx
push eax
push edi
call fcn.100ecd50
push dword [ebx + 0x5c]
call fcn.10015f50
add esp, 0x10
mov dword [ebx + 0x5c], edi
lea edx, [ebx + 0x3c]
mov dword [ebx + 0x58], esi
jmp 0x100239d5
mov edx, edi
jmp 0x100239d5
mov edx, dword [ebp - 8]
imul edi, dword [ebx + 0x54], 0x7c
mov ecx, 0x1f
mov esi, dword [ebp + 8]
add edi, dword [ebx + 0x5c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x54]
imul edi, dword [ebx + 0x54], 0x7c
mov esi, dword [ebx + 0x5c]
mov dword [ebp - 0x10], esi
cmp dword [edi + esi - 4], 0
jne 0x10023a07
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + esi - 4], eax
cmp byte [edi + esi - 0x74], 0
jne 0x10023a32
push dword [edi + esi - 0x78]
call fcn.10015ec0
mov ecx, dword [ebp + 8]
push dword [edi + esi - 0x78]
mov dword [edi + esi - 0x7c], eax
mov byte [edi + esi - 0x74], 1
push dword [ecx]
push eax
call fcn.100ecd50
add esp, 0x10
mov ecx, dword [edi + esi - 4]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x10023a4c
mov eax, dword [ebp + 8]
mov ax, word [eax + 0x4c]
mov word [ecx + 0x3c], ax
imul esi, dword [ebx + 0x54], 0x7c
mov eax, dword [ebx + 0x5c]
add esi, eax
cmp eax, esi
je 0x10023a7e
nop dword [eax]
cmp byte [eax + 0x3c], 0
mov edx, dword [eax + 0x78]
lea ecx, [edx + 0x38]
jne 0x10023a74
mov dword [edx + 0x34], eax
xor edx, edx
mov word [ecx], dx
inc word [ecx]
add eax, 0x7c
cmp eax, esi
jne 0x10023a60
mov eax, dword [ebx + 0x1c]
mov byte [ebx + 0x18], 0
test eax, eax
je 0x10023a92
push eax
call fcn.10015f50
add esp, 4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10023aa2
push eax
call fcn.10015f50
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x19], 0
mov eax, dword [edi + eax - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4