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

Disassembly:
sub esp, 0x48
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov esi, ecx
test edi, edi
je 0x100f5d1c
call fcn.100f4d70
lea ecx, [esi + 0x800]
call fcn.10135000
mov edi, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x100f5d2b
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x1c]
je 0x100f5d5b
mov eax, dword [esi + 0x14]
push ecx
push eax
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x14]
push dword [esi + 0x1c]
mov dword [esi + 0x78], 0
push eax
mov eax, dword [eax]
call eax
add esp, 0x10
mov dword [esi + 0x74], eax
test eax, eax
je 0x100f6055
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x100f5d6d
mov eax, dword [esi + 0x80]
cmp eax, dword [esi + 0x18]
je 0x100f5da3
mov eax, dword [esi + 0x14]
push ecx
push eax
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x14]
push dword [esi + 0x18]
mov dword [esi + 0x80], 0
push eax
mov eax, dword [eax]
call eax
add esp, 0x10
mov dword [esi + 0x7c], eax
test eax, eax
je 0x100f6055
mov eax, dword [esi + 0x18]
mov dword [esi + 0x80], eax
mov dword [esi + 0x378], 0
xor ecx, ecx
mov dword [esi + 0x380], 0
xor ebx, ebx
mov dword [esi + 0x384], 0
xor ebp, ebp
mov eax, dword [esi + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebp
cmp ebx, ecx
jne 0x100f5e70
test edi, edi
je 0x100f5e26
lea ecx, [esi + 0x800]
lea edx, [esp + 0x44]
call fcn.101350c0
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x100f5fa6
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ecx
cmp dword [esi + 0x68], 0
jne 0x100f5e70
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x44]
mov ecx, dword [esi + 0x7c]
xor ebx, ebx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x34]
push edx
push ecx
push eax
mov eax, dword [eax]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ecx
call eax
mov ecx, dword [esp + 0x50]
add esp, 0xc
add dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
adc dword [esi + 0x64], ebx
test ecx, ecx
je 0x100f5e69
test eax, eax
je 0x100f5e70
mov dword [esi + 0x68], 1
mov edi, dword [esi + 0x1c]
xor edx, edx
sub edi, ebp
cmp dword [esi + 0x44], edx
je 0x100f5ea3
mov ebx, dword [esi + 0x48]
sub ebx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x54]
cmp edx, eax
jb 0x100f5e9f
ja 0x100f5e92
cmp edi, ebx
jb 0x100f5e9f
cmp dword [esi + 0x40], edx
mov eax, 1
mov edi, ebx
cmovne edx, eax
mov ebx, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 0x48], edi
sub eax, ebx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x50]
push eax
xor eax, eax
cmp ebx, ecx
push edx
mov edx, dword [esi + 0x74]
lea ecx, [esi + 0x88]
sete al
add edx, ebp
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x30]
add eax, ebx
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.100f4150
mov ecx, dword [esp + 0x68]
add esp, 0x18
mov edx, dword [esp + 0x48]
mov ebp, eax
add dword [esp + 0x18], edx
mov dword [esi + 0x7b0], ecx
mov ecx, dword [esp + 0x4c]
add ebx, ecx
add dword [esi + 0x58], ecx
mov dword [esi + 0x7b4], ebp
adc dword [esi + 0x5c], 0
add dword [esi + 0x50], edx
mov dword [esp + 0x14], ebx
adc dword [esi + 0x54], 0
test ecx, ecx
jne 0x100f5f1b
test edx, edx
je 0x100f5f27
test ebp, ebp
jne 0x100f5f27
xor ebx, ebx
cmp edx, edi
jb 0x100f5f51
jmp 0x100f5f2c
mov ebx, 1
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100f5f51
mov eax, dword [esi + 0x38]
push edi
push dword [esi + 0x74]
push eax
mov eax, dword [eax]
call eax
add esp, 0xc
cmp eax, edi
jne 0x100f5ffc
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100f5fe3
test ebp, ebp
jne 0x100f5fe3
test ebx, ebx
jne 0x100f5faf
mov ecx, dword [esi + 0x58]
sub ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
sbb eax, dword [esp + 0x28]
jne 0x100f5faf
jb 0x100f5f82
cmp ecx, 0x400000
jae 0x100f5faf
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x30]
jne 0x100f5faf
cmp ecx, 0x400000
jae 0x100f5faf
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
jmp 0x100f5df3
push dword [esi + 0x54]
mov eax, dword [edx]
push dword [esi + 0x50]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push edx
call eax
add esp, 0x14
test eax, eax
jne 0x100f601f
mov eax, dword [esi + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x30], eax
test ebx, ebx
jne 0x100f6040
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
jmp 0x100f5df3
mov ecx, dword [esp + 0x34]
mov eax, 9
mov dword [ecx + 0x38], 9
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10151433
add esp, 0x48
ret
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x38], 0xa
mov dword [ecx + 0x30], eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10151433
add esp, 0x48
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10151433
add esp, 0x48
ret
mov ecx, dword [esp + 0x54]
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x48
ret