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

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
push esi
push edi
cmp byte [ecx + 0x3c], 0
jne 0x10032255
push 0x60
call fcn.1001a110
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x100321dc
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 0x100321de
xor esi, esi
mov edi, dword [ebx + 0x44]
lea ebp, [ebx + 0x44]
mov ecx, dword [ebp + 4]
cmp edi, ecx
jne 0x10032247
inc edi
test ecx, ecx
je 0x100321fb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10032200
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10032247
lea eax, [edi*4]
push eax
call fcn.1001a110
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x14], eax
test edx, edx
je 0x10032241
mov ecx, dword [ebp]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp + 8]
call fcn.1001a150
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [ebp + 8], eax
mov dword [ebp + 4], edi
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4], esi
inc dword [ebp]
jmp 0x10032258
lea ebp, [ebx + 0x44]
mov esi, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x60]
cmp esi, ecx
jne 0x100322b5
inc esi
test ecx, ecx
je 0x10032272
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10032277
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100322b5
imul eax, esi, 0x7c
push eax
call fcn.1001a110
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x100322ac
imul ecx, dword [ebx + 0x5c], 0x7c
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
push dword [ebx + 0x64]
call fcn.1001a150
add esp, 0x10
mov dword [ebx + 0x64], edi
lea ebp, [ebx + 0x44]
mov dword [ebx + 0x60], esi
imul edi, dword [ebx + 0x5c], 0x7c
mov ecx, 0x1f
mov edx, dword [esp + 0x1c]
mov esi, edx
add edi, dword [ebx + 0x64]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x5c]
imul edi, dword [ebx + 0x5c], 0x7c
mov esi, dword [ebx + 0x64]
mov dword [esp + 0x14], esi
cmp dword [edi + esi - 4], 0
jne 0x100322ec
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + esi - 4], eax
cmp byte [edi + esi - 0x74], 0
jne 0x1003231c
push dword [edi + esi - 0x78]
call fcn.1001a110
mov ecx, dword [esp + 0x20]
push dword [edi + esi - 0x78]
mov dword [edi + esi - 0x7c], eax
mov byte [edi + esi - 0x74], 1
push dword [ecx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [edi + esi - 4]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x10032333
mov ax, word [edx + 0x4c]
mov word [ecx + 0x3c], ax
imul esi, dword [ebx + 0x5c], 0x7c
mov eax, dword [ebx + 0x64]
add esi, eax
cmp eax, esi
je 0x1003235e
cmp byte [eax + 0x3c], 0
mov edx, dword [eax + 0x78]
lea ecx, [edx + 0x38]
jne 0x10032354
mov dword [edx + 0x34], eax
xor edx, edx
mov word [ecx], dx
inc word [ecx]
add eax, 0x7c
cmp eax, esi
jne 0x10032340
mov eax, dword [ebx + 0x24]
mov byte [ebx + 0x20], 0
test eax, eax
je 0x10032372
push eax
call fcn.1001a150
add esp, 4
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10032382
push eax
call fcn.1001a150
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov byte [ebx + 0x21], 0
mov eax, dword [edi + eax - 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4