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

Disassembly:
mov eax, dword [esp + 0x20]
sub esp, 0x44
push ebx
push ebp
push esi
test eax, eax
je 0x100a08a9
cmp eax, 0x10
jb 0x100a0c0d
mov ebp, dword [esp + 0x6c]
cmp eax, ebp
jae 0x100a0c0d
mov ebx, dword [esp + 0x54]
jmp 0x100a08ed
mov ebx, dword [esp + 0x54]
push 0
lea esi, [ebx + 0x10]
push esi
call fcn.100e7b30
add esp, 8
test eax, eax
je 0x100a0c0d
push 3
push esi
call fcn.100e70f0
add esp, 8
test eax, eax
js 0x100a0c0d
push 2
push esi
call fcn.100e7870
mov ebp, dword [esp + 0x74]
add esp, 8
cmp eax, ebp
jae 0x100a0c0d
cmp ebp, 0x59
jb 0x100a0c0d
lea eax, [esp + 0x20]
push edi
push eax
call fcn.100a0720
lea eax, [esp + 0x34]
push eax
call fcn.100a0720
lea eax, [esp + 0x44]
push eax
call fcn.100a0720
lea eax, [esp + 0x54]
push eax
call fcn.100a0720
mov esi, dword [esp + 0x7c]
lea eax, [ebp + 1]
mov edi, dword [esp + 0x78]
mov ecx, ebp
shr eax, 1
add esp, 0x10
shr ecx, 1
mov dword [esp + 0x14], ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
lea ebx, [ecx + 0x10]
lea ebp, [ecx + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
push esi
push edi
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push 1
push eax
push ebx
call fcn.100a11e0
push 1
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.100e7920
add esp, 0x28
cmp dword [esp + 0x74], 0
jne 0x100a09e0
mov ebp, dword [esp + 0x58]
add ebp, 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.100e71e0
lea eax, [esp + 0x54]
push 1
push eax
call fcn.100e70f0
add esp, 0x14
test eax, eax
je 0x100a09dc
test esi, esi
je 0x100a09b4
push 0x63
push edi
call esi
add esp, 8
push esi
push edi
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push 1
push dword [esp + 0x24]
push ebx
call fcn.100a11e0
push 1
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.100e7920
add esp, 0x28
jmp 0x100a0985
mov ebp, dword [esp + 0x18]
test esi, esi
je 0x100a09ec
push 0xa
push edi
call esi
add esp, 8
push esi
push edi
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push 1
push dword [esp + 0x28]
push ebp
call fcn.100a11e0
push 1
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.100e7920
add esp, 0x28
cmp dword [esp + 0x74], 0
jne 0x100a0a7b
mov ebx, dword [esp + 0x58]
add ebx, 0x10
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.100e71e0
lea eax, [esp + 0x54]
push 1
push eax
call fcn.100e70f0
add esp, 0x14
test eax, eax
je 0x100a0a77
test esi, esi
je 0x100a0a4f
push 0x63
push edi
call esi
add esp, 8
push esi
push edi
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push 1
push dword [esp + 0x28]
push ebp
call fcn.100a11e0
push 1
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.100e7920
add esp, 0x28
jmp 0x100a0a20
mov ebx, dword [esp + 0x1c]
push ebp
push ebx
push dword [esp + 0x28]
call fcn.100e6e90
add esp, 0xc
test esi, esi
je 0x100a0a95
push 0xa
push edi
call esi
add esp, 8
mov eax, dword [esp + 0x5c]
push ebx
add eax, 0x40
push ebp
push eax
call fcn.100e7620
add esp, 0xc
test eax, eax
jne 0x100a0ac8
mov eax, dword [esp + 0x10]
test esi, esi
je 0x100a0954
push 0x3f
push edi
call esi
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x100a0954
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100e6e90
mov ebx, dword [esp + 0x64]
add esp, 0xc
mov ebp, dword [esp + 0x5c]
add ebx, 0x10
mov eax, dword [esp + 0x74]
add ebp, 4
test eax, eax
je 0x100a0b8f
push eax
push dword [esp + 0x68]
push dword [esp + 0x68]
push ebx
call fcn.100a0d20
push 0
push ebx
call fcn.100e7750
mov eax, dword [esp + 0x8c]
dec eax
push eax
push ebx
call fcn.100e7750
lea eax, [esp + 0x5c]
push eax
push ebx
push ebp
call fcn.100e7620
add esp, 0x2c
test eax, eax
jne 0x100a0b9e
test esi, esi
je 0x100a0b3e
push 0x65
push edi
call esi
add esp, 8
push dword [esp + 0x74]
push dword [esp + 0x68]
push dword [esp + 0x68]
push ebx
call fcn.100a0d20
push 0
push ebx
call fcn.100e7750
mov eax, dword [esp + 0x8c]
dec eax
push eax
push ebx
call fcn.100e7750
lea eax, [esp + 0x5c]
push eax
push ebx
push ebp
call fcn.100e7620
add esp, 0x2c
test eax, eax
je 0x100a0b32
mov ebp, dword [esp + 0x5c]
add ebp, 4
test esi, esi
je 0x100a0b9e
push 0xa
push edi
call esi
add esp, 8
jmp 0x100a0b9e
lea eax, [esp + 0x3c]
push eax
push ebx
push ebp
call fcn.100e7620
add esp, 0xc
mov ebx, dword [esp + 0x5c]
lea eax, [esp + 0x24]
push eax
push ebp
lea eax, [ebx + 0x28]
push eax
call fcn.100e7130
lea eax, [esp + 0x3c]
push eax
lea eax, [ebx + 0x34]
push ebp
push eax
call fcn.100e7130
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x70]
add eax, 7
shr eax, 3
mov dword [ebx], eax
mov dword [ecx], eax
lea eax, [esp + 0x3c]
push eax
call fcn.100a0740
lea eax, [esp + 0x4c]
push eax
call fcn.100a0740
lea eax, [esp + 0x5c]
push eax
call fcn.100a0740
lea eax, [esp + 0x6c]
push eax
call fcn.100a0740
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret