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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
lea eax, [esp + 0x40]
push ebp
push esi
push edi
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.1000d1d0
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x28], 0
call fcn.1000d1d0
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x48], 0
call fcn.1000d1d0
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x80], 0
call fcn.1000d1d0
lea eax, [ebx + 8]
push eax
call fcn.1000d6c0
mov ecx, dword [ebx + 4]
mov edx, eax
mov edi, dword [esp + 0xa4]
mov eax, 0x55555556
shl ecx, 5
add esp, 0x24
sub edx, ecx
imul edx
lea ebp, [edi + 8]
mov dword [edi], 0
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ebp
js 0x10012493
mov dword [edi + 4], 0
push ecx
jmp 0x100124ba
neg ecx
lea eax, [ecx - 1]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
inc eax
mov dword [edi + 4], eax
and ecx, 0x8000001f
jns 0x100124b2
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, 0x20
sub eax, ecx
push eax
call fcn.1000d640
mov esi, eax
add esp, 8
test esi, esi
jne 0x100127a3
mov eax, dword [ebx]
mov ebx, dword [esp + 0x7c]
mov dword [edi], eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebp
call fcn.1000fd40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10012558
mov eax, dword [edi + 4]
add eax, eax
mov ebp, eax
sub ebp, ebx
test ebp, ebp
jle 0x10012551
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, ebp
shl eax, 5
dec eax
push eax
call fcn.1000d740
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10012555
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.10009e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012555
cmp dword [esp + 0x80], 1
jne 0x1001254b
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.1000d8e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012555
mov dword [esp + 0x18], ebx
jmp 0x10012555
mov dword [esp + 0x18], eax
lea ebp, [edi + 8]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x100127a3
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.1000fd40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100125ec
mov eax, dword [edi + 4]
add eax, dword [esp + 0x18]
mov ebp, eax
sub ebp, ebx
test ebp, ebp
jle 0x100125e5
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
mov eax, ebp
shl eax, 5
dec eax
push eax
call fcn.1000d740
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100125e9
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.10009e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x100125e9
cmp dword [esp + 0x10], 1
jne 0x100125df
lea eax, [esp + 0x34]
push eax
push 1
call fcn.1000d8e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100125e9
mov dword [esp + 0x30], ebx
jmp 0x100125e9
mov dword [esp + 0x30], eax
lea ebp, [edi + 8]
mov eax, dword [edi]
xor eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x100127a3
mov ecx, dword [esp + 0x78]
cmp eax, dword [ecx]
lea eax, [esp + 0x44]
push eax
push ebx
lea eax, [esp + 0x34]
push ecx
push eax
jne 0x10012633
call fcn.10010e30
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012645
cmp esi, 0x109
jne 0x1001264d
mov eax, dword [esp + 0x2c]
xor eax, 1
xor esi, esi
jmp 0x10012649
call fcn.10010c40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100127a3
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100127a3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1000d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100127a3
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.10009a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x100127a3
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
lea eax, [esp + 0x5c]
push eax
push ebx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
jne 0x100126cc
call fcn.10010c40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100127a3
mov eax, dword [esp + 0x14]
jmp 0x100126f1
call fcn.10010e30
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100126e0
mov eax, dword [esp + 0x14]
jmp 0x100126f1
cmp esi, 0x109
jne 0x100126f5
mov eax, dword [esp + 0x14]
xor eax, 1
xor esi, esi
mov dword [esp + 0x5c], eax
test esi, esi
jne 0x100127a3
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10010d30
mov ecx, dword [esp + 0x6c]
mov esi, eax
xor ecx, dword [esp + 0x54]
add esp, 0x10
mov dword [esp + 0x14], ecx
test esi, esi
jne 0x100127a3
cmp dword [esp + 0x20], 1
jne 0x10012737
mov eax, dword [esp + 0x24]
cmp dword [eax], 1
jbe 0x100127a3
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push ebx
push eax
push edi
cmp dword [edi], ecx
jne 0x10012766
call fcn.10010e30
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012774
cmp esi, 0x109
jne 0x1001277a
mov eax, dword [edi]
xor eax, 1
xor esi, esi
jmp 0x10012776
call fcn.10010c40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100127a3
mov eax, dword [edi]
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100127a3
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.1000d9b0
mov esi, eax
add esp, 8
test esi, esi
je 0x100124d4
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 0
push eax
mov dword [esp + 0x48], 0
call fcn.1000d1f0
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x1c], 0
call fcn.1000d1f0
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x38], 0
call fcn.1000d1f0
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0
push eax
mov dword [esp + 0x6c], 0
call fcn.1000d1f0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret