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

Disassembly:
sub esp, 0x3c
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
mov ebx, dword [eax]
mov esi, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov ebp, dword [ecx]
mov dword [eax], 0
mov dword [ecx], 0
cmp dword [esi + 0x18], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebp
je 0x100f3732
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10151433
add esp, 0x3c
ret
cmp dword [esi + 0xc], 0
push edi
lea edi, [esi + 0x20]
mov dword [edi], 2
je 0x100f3835
push edi
push dword [esp + 0x68]
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x44]
mov ebx, dword [esp + 0x68]
push ebx
push eax
push edx
lea eax, [esp + 0x54]
mov dword [esp + 0x50], ebp
push eax
mov eax, dword [esi + 0x88]
push 0
push dword [esi + 0x78]
call eax
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [esp + 0x34]
add esp, 0x20
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov dword [esi + 0x1c], ebp
mov dword [eax], ecx
mov eax, dword [esi + 0x14]
add eax, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
mov dword [esi + 0x14], eax
test ebp, ebp
jne 0x100f37a5
test ebx, ebx
jne 0x100f37a5
cmp edx, 1
jne 0x100f37ac
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 8]
cmp ecx, 1
jne 0x100f37cf
mov ecx, dword [esp + 0x1c]
mov eax, ebp
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10151433
add esp, 0x3c
ret
cmp dword [esi + 0x18], 0
je 0x100f3820
mov ebx, 1
cmp ecx, ebx
jbe 0x100f381a
mov ebp, dword [esp + 0x54]
lea edi, [esi + 0x90]
push eax
push dword [esi + 0xc]
mov eax, dword [edi + 0x14]
push dword [edi]
call eax
add esp, 0xc
cmp dword [esp + 0x24], 1
je 0x100f380a
test ebp, ebp
je 0x100f380d
mov ecx, dword [esp + 0x28]
cmp dword [esi + 0x14], ecx
jne 0x100f380d
mov eax, dword [esi + 0x14]
inc ebx
add edi, 0x18
cmp ebx, dword [esi + 8]
jb 0x100f37e8
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10151433
add esp, 0x3c
ret
cmp dword [esi + 8], 1
je 0x100f3881
cmp dword [esi + 4], 0
jne 0x100f3877
mov eax, dword [esi]
push 0x60000
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [esi + 4], eax
test eax, eax
jne 0x100f386f
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10151433
add esp, 0x3c
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
jmp 0x100f3890
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
nop dword [eax]
mov ebp, dword [esi + 8]
xor ebx, ebx
mov dword [edi], 2
xor edi, edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 1
test ebp, ebp
je 0x100f3a2c
lea eax, [edi + 5]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
mov dword [esp + 0x34], eax
test edi, edi
jne 0x100f38d6
mov eax, dword [esp + 0x60]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
sub eax, dword [ecx]
jmp 0x100f38ff
mov edx, dword [esi + 4]
lea eax, [edi - 1]
mov ecx, dword [esi + edi*4 + 0x2c]
shl eax, 0x11
add edx, eax
mov eax, dword [esi + edi*4 + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esi + edi*4 + 0x38]
mov dword [esp + 0x38], edx
add dword [esp + 0x38], ecx
sub eax, ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], eax
lea eax, [ebp - 1]
cmp edi, eax
jne 0x100f391b
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
sub ecx, dword [ebp]
jmp 0x100f393a
mov eax, dword [esi + edi*4 + 0x30]
cmp eax, dword [esi + edi*4 + 0x3c]
jne 0x100f3a02
mov ebp, dword [esp + 0x1c]
mov eax, edi
shl eax, 0x11
mov ecx, 0x20000
add eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + edi*4 + 0x68]
test ecx, ecx
je 0x100f3959
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x100f3a06
mov ebx, ecx
jmp 0x100f3a06
lea ecx, [esp + 0x44]
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x40]
push dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
mov eax, dword [esp + 0x50]
push dword [eax]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
add esp, 0x20
test ecx, ecx
je 0x100f398f
test ebx, ebx
mov dword [esi + edi*4 + 0x68], ecx
cmove ebx, ecx
mov eax, dword [esp + 0x44]
xor edx, edx
cmp eax, 1
sete dl
je 0x100f39b2
cmp dword [esi + 8], 1
mov dword [esp + 0x24], 0
jne 0x100f39b2
test ecx, ecx
jne 0x100f39b2
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x38]
test edi, edi
jne 0x100f39c6
mov eax, dword [esp + 0x14]
add dword [eax], ecx
add dword [esp + 0x18], ecx
jmp 0x100f39ca
add dword [esi + edi*4 + 0x2c], ecx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x3c]
jne 0x100f39df
add dword [ebp], eax
add dword [esp + 0x40], eax
jmp 0x100f39ef
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x30], 0
mov dword [esi + edi*4 + 0x24], edx
test eax, eax
jne 0x100f39f7
test ecx, ecx
je 0x100f3a02
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x100f3a06
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + 8]
inc edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edi, ebp
jb 0x100f38b5
lea edi, [esi + 0x20]
test eax, eax
jne 0x100f3890
cmp dword [esp + 0x24], 0
je 0x100f3a33
mov dword [esi + 0x20], 1
mov ecx, dword [esp + 0x48]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x3c
ret