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

Disassembly:
sub esp, 0x50
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, ecx
mov dword [esp + 0x10], edx
push ebx
push ebp
push esi
mov ebp, dword [eax + 0x74]
mov ecx, dword [eax + 0xbc]
mov ebx, dword [eax + 0x78]
and ecx, 0x400
push edi
mov dword [esp + 0x24], eax
xor edi, edi
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], edi
call eax
mov ecx, dword [ebp + 0x18]
lea esi, [ebp + 0xc]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
push ebx
call ecx
add esp, 4
test edx, edx
jl 0x100f9bd2
jg 0x100f9bbe
cmp eax, 0x100000
jbe 0x100f9bd2
mov eax, dword [ebp + 0x10]
push 2
push 0xffffffffffffffff
push 0xfff00000
push ebx
call eax
add esp, 0x10
jmp 0x100f9be2
mov eax, dword [esi]
push 0
push 0
push ebx
call eax
add esp, 0xc
mov dword [esp + 0x10], esi
lea eax, [esp + 0x3c]
mov edx, ebx
push eax
mov ecx, ebp
call fcn.100f95f0
mov ecx, dword [ebp + 8]
add esp, 4
mov esi, eax
push ebx
call ecx
mov ecx, eax
add esp, 4
and ecx, edx
cmp ecx, 0xffffffff
je 0x100f9e2a
nop dword [eax + eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
cmp esi, 0xffffffff
jne 0x100f9c5e
cmp dword [esp + 0x1c], 0
jne 0x100f9dfe
test edx, edx
jl 0x100f9c4c
jg 0x100f9c35
cmp eax, 0x1e8480
jbe 0x100f9c4c
mov eax, dword [ebp + 0x10]
push 1
push 0xffffffffffffffff
push 0xffe17b80
push ebx
call eax
add esp, 0x10
jmp 0x100f9dcf
mov eax, dword [ebp + 0xc]
push 0
push 0
push ebx
call eax
add esp, 0xc
jmp 0x100f9dcf
inc dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
test esi, esi
je 0x100f9d81
cmp dword [esp + 0x20], 0
je 0x100f9c92
movzx eax, byte [esp + 0x46]
xor ecx, ecx
add ecx, dword [esp + 0x4c]
cdq
mov edx, dword [esp + 0x20]
adc eax, 0
add ecx, esi
adc eax, 0
mov dword [edx], ecx
mov dword [edx + 4], eax
inc edi
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x40]
add esi, 0xffffffe8
cmp esi, 2
jb 0x100f9dcf
push 1
lea eax, [esp + 0x3e]
push eax
mov eax, dword [ebp]
push ebx
call eax
add esp, 0xc
cmp eax, 1
jne 0x100f9e2a
push eax
lea eax, [esp + 0x3d]
push eax
mov eax, dword [ebp]
push ebx
call eax
add esp, 0xc
cmp eax, 1
jne 0x100f9e2a
movzx edi, byte [esp + 0x39]
sub esi, 2
mov al, byte [esp + 0x3a]
add edi, edi
test al, al
jns 0x100f9d3f
cmp esi, 2
jb 0x100f9e2a
push 1
lea eax, [esp + 0x3d]
push eax
mov eax, dword [ebp]
push ebx
call eax
add esp, 0xc
cmp eax, 1
jne 0x100f9e2a
push eax
lea eax, [esp + 0x3f]
push eax
mov eax, dword [ebp]
push ebx
call eax
add esp, 0xc
cmp eax, 1
jne 0x100f9e2a
movzx ecx, byte [esp + 0x3b]
movzx eax, byte [esp + 0x39]
shl ecx, 8
add ecx, eax
mov al, byte [esp + 0x3a]
shl ecx, 9
add edi, ecx
sub esi, 2
and al, 0x3f
mov byte [esp + 0x3a], al
cmp al, 0x26
je 0x100f9d54
cmp dword [esp + 0x2c], 0
je 0x100f9db2
cmp al, 0x29
jne 0x100f9db2
cmp edi, 0x10
jne 0x100f9db2
cmp esi, edi
jb 0x100f9db2
mov eax, dword [esp + 0x24]
add eax, 0x34
push edi
push eax
mov eax, dword [ebp]
push ebx
call eax
add esp, 0xc
cmp eax, edi
jne 0x100f9e2a
mov eax, dword [esp + 0x24]
mov byte [eax + 0x44], 1
jmp 0x100f9dc0
test edi, edi
jne 0x100f9c97
test edx, edx
jl 0x100f9c4c
jg 0x100f9d9e
cmp eax, 0x100000
jbe 0x100f9c4c
mov eax, dword [ebp + 0x10]
push 1
push 0xffffffffffffffff
push 0xfff00000
push ebx
call eax
add esp, 0x10
jmp 0x100f9dcf
mov eax, dword [ebp + 0x10]
push 1
push 0
push edi
push ebx
call eax
add esp, 0x10
sub esi, edi
cmp esi, 2
jae 0x100f9ca7
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x3c]
mov edx, ebx
push eax
mov ecx, ebp
call fcn.100f95f0
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
push ebx
call eax
add esp, 4
cmp eax, dword [esp + 0x30]
jne 0x100f9c10
cmp edx, dword [esp + 0x34]
jmp 0x100f9c05
push dword [esp + 0x14]
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
push ebx
mov eax, dword [eax]
call eax
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10151433
add esp, 0x50
ret
push dword [esp + 0x14]
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
push ebx
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x68]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x50
ret