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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x88]
push ebx
push ebp
push esi
mov eax, dword [eax]
mov esi, dword [esp + 0x88]
push edi
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], eax
call fcn.1005d880
mov dword [esp + 0x4c], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x64], eax
xor ebx, ebx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], ebx
mov eax, dword [eax]
mov dword [esp + 0x88], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x1c]
push eax
push edi
push 7
push edi
push 0xc
push dword [esp + 0xc0]
call fcn.1005fa30
add esp, 0x1c
mov dword [esp + 0x20], eax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
push 2
push esi
call fcn.1005df50
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005ddd0
add esp, 8
movzx eax, ax
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005ddd0
add esp, 8
movzx ebp, ax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005ddd0
add esp, 8
movzx eax, ax
mov dword [esp + 0x68], eax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
mov ecx, dword [esp + 0xa4]
xor edx, edx
mov eax, ebp
mov dword [esp + 0x2c], eax
inc eax
cmp word [esp + 0x68], dx
mov dword [esp + 0x50], eax
setne dl
mov word [ecx + 4], bp
lea edx, [edx*2 + 2]
imul edx, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x6c], edx
cmp dword [eax + 8], edx
jne 0x100ab8f9
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x58], 0x24
cmp dword [eax + 0xc], 0x24
jb 0x100ab8f9
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
add ebp, 8
nop dword [eax]
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005dc30
add esp, 8
mov dword [esp + 0x64], eax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x58]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
sub ecx, edx
cmp eax, ecx
ja 0x100ab8f9
mov eax, dword [esp + 0x48]
add eax, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [esp + 0x64]
add edx, eax
mov dword [ebp], eax
add ebp, 0xc
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
cmp eax, 7
jb 0x100aaf60
test byte [esp + 0x5c], 1
je 0x100aaff3
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
sub ecx, edx
add eax, 7
shr eax, 3
cmp eax, ecx
ja 0x100ab8f2
mov eax, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x58]
push 0
push 4
push dword [esp + 0xbc]
call fcn.1005fa30
add esp, 0x18
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ebp, dword [esp + 0x20]
push eax
push 0
lea ecx, [ecx + 0x1f]
mov dword [esp + 0x30], 0x1400
mov edx, dword [ebp + 0x40]
push 0x1400
shr ecx, 3
push 0
and ecx, 0x1ffffffc
mov dword [esp + 0x80], edx
push 1
push dword [esp + 0xbc]
add ecx, edx
mov dword [ebp + 0x40], ecx
call fcn.1005fa30
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x34]
push 0
push 2
push dword [esp + 0xbc]
call fcn.1005fa30
mov ecx, dword [esp + 0xbc]
add esp, 0x18
mov dword [ecx + 8], eax
cmp dword [esp + 0x18], ebx
jne 0x100ab901
xor ebx, ebx
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x2c], ebx
jbe 0x100ab950
nop dword [eax]
xor eax, eax
mov edi, ebx
mov dword [esp + 0x44], eax
xor ebp, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
shr edi, 3
add eax, edi
push eax
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005d990
add esp, 8
cmp dword [esp + 0x18], ebp
jne 0x100ab8ee
mov ecx, ebx
movzx eax, al
and ecx, 7
mov ebx, 0x80
sar ebx, cl
mov ecx, dword [esp + 0x20]
and eax, ebx
mov dword [esp + 0x38], eax
push dword [ecx + 4]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005ddd0
add esp, 8
movzx ecx, ax
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x18], ebp
jne 0x100ab8ee
mov eax, dword [esp + 0x20]
add dword [eax + 4], 2
mov eax, 0xffff
cmp cx, ax
jne 0x100ab3e7
xor edi, edi
mov dword [esp + 0x54], ebp
xor bl, bl
mov dword [esp + 0x5c], edi
mov byte [esp + 0x12], bl
cmp dword [esp + 0x38], edi
je 0x100ab8ee
mov ebp, dword [esp + 0x20]
xor al, al
mov dword [esp + 0x38], edi
mov byte [esp + 0x13], al
mov ecx, dword [ebp + 0x34]
push ecx
push esi
mov dword [esp + 0x6c], ecx
call fcn.1005df10
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x100ab8ee
lea eax, [esp + 0x38]
push eax
push esi
call fcn.1005ddd0
movzx ebx, ax
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x100ab235
mov eax, ebx
shr eax, 8
and al, 1
or byte [esp + 0x13], al
mov eax, ebx
and eax, 1
lea eax, [eax*2 + 4]
test bl, 8
je 0x100ab1ea
add eax, 2
jmp 0x100ab1fb
test bl, 0x40
je 0x100ab1f4
add eax, 4
jmp 0x100ab1fb
test bl, bl
jns 0x100ab1fb
add eax, 8
push eax
push esi
call fcn.1005df50
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x100ab235
test bl, 0x20
jne 0x100ab1b0
push esi
call fcn.1005d880
mov edi, eax
add esp, 4
mov al, byte [esp + 0x13]
sub edi, dword [esp + 0x64]
mov bl, al
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], edi
jmp 0x100ab239
mov bl, byte [esp + 0x12]
test eax, eax
jne 0x100ab8ee
test bl, bl
je 0x100ab283
push dword [ebp + 0x28]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100a8b90
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
push esi
call fcn.1005d880
add esp, 4
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x54]
add edi, 0xc
movzx ebx, ax
mov eax, dword [esp + 0x28]
add edi, ebx
cmp eax, edi
jae 0x100ab2c9
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edi
push eax
push 1
push dword [esp + 0xbc]
call fcn.1005fa30
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], 0
jne 0x100ab8ee
mov dword [esp + 0x28], edi
jmp 0x100ab2cd
mov eax, dword [esp + 0x1c]
mov word [eax], 0xffff
push dword [ebp + 0x40]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005ddd0
add esp, 8
movzx eax, ax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x44], eax
jne 0x100ab8ee
push dword [ebp + 0x40]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
mov eax, dword [esp + 0x1c]
push 8
add eax, 2
push eax
push esi
call fcn.1005d890
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
push dword [ebp + 0x34]
add dword [ebp + 0x40], 8
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x5c]
add eax, 0xa
push edi
push eax
push esi
call fcn.1005d890
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
add dword [ebp + 0x34], edi
lea ebp, [edi + 0xa]
cmp byte [esp + 0x12], al
je 0x100ab3e0
mov ecx, dword [esp + 0x54]
mov eax, ecx
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
shr eax, 8
mov byte [edx + ebp], al
mov byte [edx + ebp + 1], cl
add ebp, 2
push dword [edi + 0x4c]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
mov eax, dword [esp + 0x1c]
push ebx
add eax, ebp
push eax
push esi
call fcn.1005d890
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
add dword [edi + 0x4c], ebx
add ebp, ebx
xor ebx, ebx
jmp 0x100ab82b
test cx, cx
je 0x100ab81f
mov eax, dword [esp + 0x60]
xor ebp, ebp
mov dword [esp + 0x64], ebp
mov byte [esp + 0x58], 0
test eax, eax
je 0x100ab44a
add eax, edi
push eax
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8ee
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005d990
add esp, 8
cmp dword [esp + 0x18], ebp
jne 0x100ab8ee
test al, bl
mov ecx, 1
movzx eax, byte [esp + 0x58]
cmovne eax, ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x58], al
movzx eax, cx
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push 0
push 2
push dword [esp + 0xbc]
call fcn.1005fa30
add esp, 0x18
mov ebx, eax
cmp dword [esp + 0x18], ebp
jne 0x100ab8f0
mov ecx, dword [esp + 0x20]
push dword [ecx + 0x10]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
xor edi, edi
test eax, eax
jne 0x100ab8f2
cmp word [esp + 0x24], di
je 0x100ab4e2
nop dword [eax]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100a8b90
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f0
mov ax, word [esp + 0x14]
mov word [ebx + edi*2], ax
movzx eax, ax
add eax, ebp
cmp eax, ebp
jb 0x100ab8f0
mov ecx, dword [esp + 0x24]
mov ebp, eax
inc edi
movzx eax, cx
mov dword [esp + 0x64], ebp
cmp edi, eax
jb 0x100ab4a0
push esi
call fcn.1005d880
mov edi, dword [esp + 0x24]
add esp, 4
mov dword [edi + 0x10], eax
cmp ebp, dword [edi + 0x20]
ja 0x100ab8f0
mov ecx, dword [esi]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x2c]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x74], eax
sub eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x78], edx
cmp edx, eax
jb 0x100ab8f0
lea eax, [esp + 0x18]
mov dword [esp + 0x5c], 0
push eax
push 0
push ebp
push 0
push 0xc
push dword [esp + 0xbc]
call fcn.1005fa30
add esp, 0x18
mov edi, eax
cmp dword [esp + 0x18], 0
jne 0x100ab901
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x78]
add eax, dword [esp + 0x7c]
push edi
push ebp
push eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x84]
push eax
push dword [esp + 0x94]
call fcn.100ac800
add esp, 0x18
test eax, eax
jne 0x100ab8f2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
add dword [ecx + 0x28], eax
push dword [ecx + 0x28]
add dword [ecx + 0x1c], ebp
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
lea eax, [esp + 0x40]
push eax
push esi
call fcn.100a8b90
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
push esi
call fcn.1005d880
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx + 0x28], eax
cmp ebp, 0x8000000
jae 0x100ab8f2
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
movzx eax, cx
add eax, ebp
movzx ecx, dx
lea eax, [eax + ebp*4]
lea eax, [eax + ecx*2]
add eax, 0xc
mov dword [esp + 0x80], eax
cmp dword [esp + 0x28], eax
jae 0x100ab65a
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
push dword [esp + 0x34]
push 1
push dword [esp + 0xbc]
call fcn.1005fa30
add esp, 0x18
mov ecx, eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
jne 0x100ab901
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jmp 0x100ab65e
mov ecx, dword [esp + 0x1c]
mov eax, edx
mov byte [ecx + 1], dl
shr eax, 8
cmp dword [esp + 0x38], 0
mov byte [ecx], al
je 0x100ab6e8
mov ebp, dword [esp + 0x20]
push dword [ebp + 0x40]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1005ddd0
add esp, 8
movzx eax, ax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x44], eax
jne 0x100ab901
push dword [ebp + 0x40]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
mov eax, dword [esp + 0x1c]
push 8
add eax, 2
push eax
push esi
call fcn.1005d890
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
add dword [ebp + 0x40], 8
jmp 0x100ab700
lea eax, [esp + 0x54]
push eax
push ecx
push edi
push ebp
call fcn.100a8f70
mov eax, dword [esp + 0x64]
add esp, 0x10
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x1c]
xor ebp, ebp
mov esi, dword [esp + 0x8c]
add edx, 0xa
or ecx, 0xffffffff
mov dword [esp + 0x38], 0xa
cmp word [esp + 0x24], bp
je 0x100ab767
mov dword [esp + 0x38], 0xa
nop word [eax + eax]
movzx eax, word [ebx + ebp*2]
add ecx, eax
cmp ecx, 0x10000
jge 0x100ab8f2
mov esi, dword [esp + 0x24]
mov eax, ecx
add dword [esp + 0x38], 2
inc ebp
sar eax, 8
mov byte [edx], al
movzx eax, si
mov esi, dword [esp + 0x8c]
mov byte [edx + 1], cl
add edx, 2
cmp ebp, eax
jb 0x100ab730
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov ebp, dword [esp + 0x38]
shr eax, 8
add ebp, 2
mov byte [edx], al
mov eax, dword [esp + 0x20]
mov byte [edx + 1], cl
push dword [eax + 0x4c]
push esi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
mov ecx, dword [esp + 0x40]
movzx eax, cx
push eax
mov eax, dword [esp + 0x20]
add eax, ebp
push eax
push esi
call fcn.1005d890
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100ab8f2
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
movzx ecx, dx
add dword [eax + 0x4c], ecx
lea eax, [ecx + ebp]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x24]
push dword [esp + 0x64]
push edx
push dword [esp + 0x38]
push edi
push dword [esp + 0x80]
call fcn.100ac5a0
add esp, 0x20
test eax, eax
jne 0x100ab8f2
mov ebp, dword [esp + 0xa8]
push edi
push ebp
call fcn.1005f8c0
push ebx
push ebp
call fcn.1005f8c0
mov ebp, dword [esp + 0x6c]
add esp, 0x10
xor ebx, ebx
jmp 0x100ab82b
xor ebx, ebx
cmp dword [esp + 0x38], ebx
jne 0x100ab8ee
push dword [esp + 0xa8]
mov eax, dword [esp + 0x4c]
mov edi, ebx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x88]
push ebp
push dword [esp + 0x24]
mov dword [edx + eax*4], ecx
lea eax, [esp + 0x58]
push eax
push dword [esp + 0xac]
lea eax, [esp + 0x48]
push eax
call fcn.100b0380
add esp, 0x18
test eax, eax
jne 0x100ab8f2
push dword [esp + 0xa8]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x40]
push eax
call fcn.100aa040
add esp, 0x10
test eax, eax
jne 0x100ab8f2
push ebp
push dword [esp + 0x20]
call fcn.100a8ed0
mov ecx, dword [esp + 0x98]
add esp, 8
mov ebx, dword [esp + 0x48]
add dword [ecx], eax
cmp word [esp + 0x24], 0
jbe 0x100ab8c8
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov word [eax + ebx*2], cx
inc ebx
mov dword [esp + 0x48], ebx
cmp ebx, dword [esp + 0x2c]
jae 0x100ab8e0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
jmp 0x100ab0c0
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x30], edx
jmp 0x100ab954
xor ebx, ebx
xor edi, edi
cmp dword [esp + 0x18], 0
jne 0x100ab901
mov dword [esp + 0x18], 8
mov ecx, dword [esp + 0x98]
push dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0xac]
push esi
mov dword [ecx], eax
call fcn.1005f8c0
push dword [esp + 0x44]
push esi
call fcn.1005f8c0
push ebx
push esi
call fcn.1005f8c0
push dword [esp + 0x34]
push esi
call fcn.1005f8c0
push edi
push esi
call fcn.1005f8c0
mov eax, dword [esp + 0x40]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0xa4]
mov eax, edx
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x60], edx
mov ecx, dword [ebx + 0xc]
sub eax, dword [ecx + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov dword [ebx + ecx*4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x74]
push 0
push 1
push esi
call fcn.1005f930
add esp, 0x18
mov edi, eax
cmp dword [esp + 0x38], 0
jne 0x100aba7b
xor esi, esi
mov edx, edi
cmp dword [esp + 0x50], esi
jbe 0x100aba1c
mov ebp, dword [esp + 0x50]
cmp word [esp + 0x68], si
je 0x100ab9fa
mov ecx, dword [ebx + esi*4]
lea edx, [edx + 4]
mov eax, ecx
inc esi
shr eax, 0x18
mov byte [edx - 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx - 3], al
mov eax, ecx
shr eax, 8
mov byte [edx - 2], al
mov byte [edx - 1], cl
cmp esi, ebp
jb 0x100ab9d2
jmp 0x100aba18
xor esi, esi
nop dword [eax]
mov ecx, dword [ebx + esi*4]
lea edx, [edx + 2]
mov eax, ecx
inc esi
shr eax, 9
shr ecx, 1
mov byte [edx - 2], al
mov byte [edx - 1], cl
cmp esi, ebp
jb 0x100aba00
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
push ebx
push edi
call fcn.100a8ed0
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0xb0]
push esi
push ebx
mov dword [ecx], eax
lea eax, [esp + 0x70]
push edi
push eax
push dword [esp + 0xb4]
lea eax, [esp + 0x80]
push eax
call fcn.100b0380
add esp, 0x20
test eax, eax
je 0x100aba6b
cmp dword [esp + 0x38], 0
jne 0x100aba7b
mov dword [esp + 0x38], 8
jmp 0x100aba7b
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, esi
push edi
push eax
call fcn.1005f8c0
xor ebx, ebx
add esp, 8
xor edi, edi
cmp dword [esp + 0x38], ebx
jne 0x100ab8f2
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x30]
push ebp
push esi
mov ecx, dword [eax + 0x10]
mov eax, edx
sub eax, dword [ecx + 0x1c]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0xa8]
mov dword [eax], edx
call fcn.1005f8c0
push dword [esp + 0x44]
push esi
call fcn.1005f8c0
push edi
push esi
call fcn.1005f8c0
push dword [esp + 0x34]
push esi
call fcn.1005f8c0
push edi
push esi
call fcn.1005f8c0
mov eax, dword [esp + 0x40]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret