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

Disassembly:
mov al, byte [0x101394b8]
sub esp, 0x60
test al, 1
push ebx
push edi
jne 0x100884ea
mov bl, al
lea eax, [esp + 0xa]
push eax
lea ecx, [esp + 0xf]
push ecx
or bl, 1
mov ecx, 0x10139238
mov byte [0x101394b8], bl
call fcn.10089c60
push 0x100886d0
call fcn.1009d0d4
add esp, 4
mov eax, dword [0x1013923c]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, 0x10139238
call fcn.1007d010
mov edi, dword [esp + 0x70]
mov ecx, dword [0x10139370]
mov eax, dword [edi + 0x14]
xor ebx, ebx
lea eax, [ecx + eax*4]
cmp dword [edi + 0x18], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x18], ebx
jle 0x100886c5
push ebp
push esi
mov esi, dword [esp + 0x74]
lea edx, [esp + 0x60]
mov dword [esp + 0x18], edx
mov ebp, eax
mov dword [esp + 0x1c], 3
mov eax, dword [ebp]
mov edx, dword [edi + 0xc]
mov cl, byte [esp + 0x7c]
add eax, edx
cmp cl, bl
mov dword [esp + 0x74], eax
je 0x1008866b
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x10139238
call fcn.1008b6e0
lea edx, [esp + 0x74]
mov edi, eax
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x10139238
call fcn.1008b6a0
mov edi, dword [edi]
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
mov dword [esp + 0x20], ebx
call fcn.1008b7e0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x10088611
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
add eax, 0xc
cmp ecx, ebx
jne 0x100885b2
xor edi, edi
jmp 0x100885ba
mov edi, dword [eax + 8]
sub edi, ecx
sar edi, 2
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x10139238
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
call fcn.1007cdd0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
call fcn.100344f0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x4c]
sub edi, eax
mov dword [ecx + 0x10], edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x14]
lea edx, [esp + 0x74]
push edx
add ecx, 0xc
push 1
push eax
call fcn.1008a4c0
inc dword [esi + 8]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x40], ecx
push eax
mov ecx, 0x10139238
mov dword [esp + 0x48], ebx
call fcn.1007cdd0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x5c]
call fcn.100344f0
mov eax, dword [esp + 0x54]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
add eax, 0x10
push eax
add ecx, 0x1c
push 1
push edx
call fcn.1008a4c0
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x78]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
add ecx, 4
add ebp, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x10088541
cmp byte [esp + 0x80], bl
je 0x100886ab
mov ecx, dword [0x101394b0]
lea eax, [esp + 0x5c]
push eax
push 1
push ecx
mov ecx, 0x101394a8
call fcn.1006f000
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x18]
add ecx, 3
cmp ecx, edx
mov dword [esp + 0x20], ecx
mov eax, ebp
jl 0x1008852f
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x60
ret 0x10