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

Disassembly:
sub esp, 0x38
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100105dd
push eax
call dword [0x10094074]
add esp, 4
mov eax, dword [ebp + 0x18]
cmp byte [eax + 9], 0
je 0x100105f8
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x100105f8
push eax
call fcn.10017080
add esp, 4
mov ecx, dword [ebp]
test ecx, ecx
je 0x10010613
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10010613
push eax
call dword [0x10094074]
mov ecx, dword [ebp]
add esp, 4
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x10010628
cmp esi, 5
je 0x10010628
cmp esi, 6
jne 0x10010b9e
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x30], 0
push ebx
push edi
mov esi, dword [edx + 4]
mov edi, dword [ebp + 4]
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x1001065b
cmp byte [esi + 0x14], 2
jne 0x1001065b
mov esi, 5
jmp 0x1001067e
xor esi, esi
cmp byte [edx + 8], 0
jne 0x1001067e
push esi
push esi
push edx
call fcn.10037bc0
mov edx, dword [ebp + 0x18]
add esp, 0xc
mov edi, dword [ebp + 4]
mov esi, eax
mov dword [esp + 0x38], 1
cmp dword [ebp + 0xc], 0
jne 0x100106a3
test esi, esi
jne 0x100106cb
mov eax, dword [edx + 4]
push esi
push 0xffffffffffffffff
push dword [eax + 0x20]
push edi
call fcn.1003a940
add esp, 0x10
cmp eax, 7
jne 0x100106a7
mov esi, eax
jmp 0x100106cb
test esi, esi
jne 0x100106cb
cmp dword [ebp + 0xc], 0
jne 0x100106cb
lea eax, [ebp + 8]
push eax
push 2
push dword [ebp + 4]
call fcn.10037bc0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100106cb
mov dword [ebp + 0xc], 1
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 4]
mov ebx, dword [edx + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
mov al, byte [eax + 5]
mov byte [esp + 0x4c], al
test esi, esi
jne 0x100106ff
cmp al, 5
jne 0x100106ff
cmp ebx, ecx
je 0x100106ff
mov esi, 8
mov edx, dword [edx + 0x2c]
xor ebx, ebx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x50]
test eax, eax
js 0x10010714
cmp ebx, eax
jge 0x10010785
mov edi, dword [ebp + 0x10]
cmp edi, edx
ja 0x10010785
test esi, esi
jne 0x100107c0
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x10094130]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x1001077b
push 2
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1001077b
mov eax, dword [esp + 0x1c]
push esi
push dword [eax + 4]
push edi
push ebp
call fcn.100143d0
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001077b
push eax
call fcn.1004f580
add esp, 4
inc dword [ebp + 0x10]
inc ebx
mov edx, dword [esp + 0x20]
jmp 0x10010708
test esi, esi
jne 0x100107c0
mov eax, edx
mov dword [ebp + 0x24], edx
sub eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x20], eax
cmp dword [ebp + 0x10], edx
ja 0x100107c9
cmp dword [ebp + 0x28], esi
jne 0x10010b6b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebp + 0x2c], eax
mov dword [ecx + 0x58], ebp
mov dword [ebp + 0x28], 1
jmp 0x10010b6b
cmp esi, 0x65
jne 0x10010b6b
test edx, edx
jne 0x10010822
mov edi, dword [ebp + 4]
cmp byte [edi + 9], dl
je 0x100107e6
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x100107e6
push edi
call fcn.10017080
add esp, 4
mov eax, dword [edi + 4]
mov dword [eax + 0x2c], 0
push dword [edi + 4]
call fcn.1002a1b0
add esp, 4
mov esi, eax
cmp byte [edi + 9], 0
je 0x10010812
add dword [edi + 0xc], 0xffffffff
jne 0x10010812
push edi
call fcn.100719e0
add esp, 4
mov ebx, 1
test esi, esi
je 0x10010826
cmp esi, 0x65
jne 0x1001083a
jmp 0x10010826
mov ebx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
inc eax
push eax
push 1
push dword [ebp + 4]
call fcn.1003acf0
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x10010b6b
mov eax, dword [ebp]
test eax, eax
je 0x10010852
push eax
call fcn.10053b90
add esp, 4
cmp byte [esp + 0x4c], 5
jne 0x10010870
push 2
push dword [ebp + 4]
call fcn.1003ab80
mov esi, eax
add esp, 8
test esi, esi
jne 0x10010b6b
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jge 0x100108a9
mov eax, edi
cdq
idiv ecx
mov ecx, eax
lea eax, [ecx - 1]
add eax, ebx
cdq
idiv ecx
mov ecx, dword [ebp + 4]
xor edx, edx
mov edi, eax
mov eax, dword [0x10094130]
mov ecx, dword [ecx + 4]
div dword [ecx + 0x20]
mov ecx, dword [esp + 0x10]
inc eax
cmp edi, eax
jne 0x100108b3
dec edi
jmp 0x100108b3
mov eax, ecx
cdq
idiv edi
mov edi, eax
imul edi, ebx
cmp ecx, dword [esp + 0x18]
jge 0x10010b3c
mov eax, ebx
mov ebx, dword [esp + 0x14]
imul ecx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x100108e0
cmp edi, eax
ja 0x1001093d
mov eax, dword [ebp + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x10094130]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x10010932
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0xcc]
push edi
push ebx
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10010932
push dword [esp + 0x20]
call fcn.1004f610
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10010932
push eax
call fcn.1004f580
add esp, 4
mov eax, dword [esp + 0x2c]
inc edi
test esi, esi
je 0x100108e0
jmp 0x1001094f
test esi, esi
jne 0x1001094f
push 1
push esi
push ebx
call fcn.1004e1e0
add esp, 0xc
mov esi, eax
mov eax, dword [0x10094130]
add eax, dword [esp + 0x18]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp eax, edx
jg 0x10010979
jl 0x10010985
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jae 0x1001097d
jmp 0x10010985
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [0x10094130]
mov ecx, dword [esp + 0x10]
add eax, ecx
cdq
mov dword [esp + 0x28], eax
mov ebx, eax
mov dword [esp + 0x2c], edx
mov edi, edx
test esi, esi
jne 0x10010b6b
mov eax, ecx
cdq
mov ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
cmp edi, dword [esp + 0x20]
jg 0x10010a95
jl 0x100109c8
cmp ebx, dword [esp + 0x1c]
jae 0x10010a95
push 0
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push edx
push ecx
push eax
push edi
push ebx
call fcn.10084400
inc eax
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10010a16
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edi
push ebx
push dword [esp + 0x18]
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov esi, eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x10010a74
test byte [edx + 0x1c], 0x20
je 0x10010a6b
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10084590
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [esp + 0x38]
add esp, 0x10
mov edi, dword [esp + 0x2c]
jmp 0x10010a74
push edx
call fcn.10050280
add esp, 4
mov eax, dword [esp + 0x3c]
add ebx, eax
mov ecx, dword [esp + 0x40]
adc edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
test esi, esi
je 0x100109b2
jmp 0x10010b6b
test esi, esi
jne 0x10010b6b
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x40]
push ecx
push ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10010b6b
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x44], ecx
jl 0x10010ae3
jg 0x10010ad1
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x40], eax
jbe 0x10010ae3
mov eax, dword [ebx]
push ecx
push dword [esp + 0x50]
mov eax, dword [eax + 0x10]
push ebx
call eax
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x10010b6b
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
jne 0x10010afd
lea eax, [esi + 0xc]
jmp 0x10010b0e
push 0
push 0x15
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edx, dword [esp + 0x20]
add esp, 0xc
lea esi, [eax - 0xc]
neg esi
sbb esi, esi
and esi, eax
jne 0x10010b52
cmp byte [edx + 7], 0
jne 0x10010b52
movzx ecx, byte [edx + 0xa]
mov edx, dword [edx + 0x3c]
test ecx, ecx
je 0x10010b38
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
add esp, 8
jmp 0x10010b50
xor esi, esi
jmp 0x10010b52
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
mov dword [eax + 0x18], edi
call fcn.1004e1e0
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x10010b6b
push esi
push dword [ebp + 4]
call fcn.100382b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10010b6b
lea esi, [eax + 0x65]
cmp dword [esp + 0x38], 0
pop edi
pop ebx
je 0x10010b8b
push 0
push dword [ebp + 0x18]
call fcn.10038210
push 0
push dword [ebp + 0x18]
call fcn.100382b0
add esp, 0x10
cmp esi, 0xc0a
jne 0x10010b98
mov esi, 7
mov ecx, dword [ebp]
mov dword [ebp + 0x1c], esi
test ecx, ecx
je 0x10010bb3
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10010bb3
push eax
call dword [0x1009407c]
add esp, 4
mov eax, dword [ebp + 0x18]
cmp byte [eax + 9], 0
je 0x10010bcb
add dword [eax + 0xc], 0xffffffff
jne 0x10010bcb
push eax
call fcn.100719e0
add esp, 4
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10010bdf
push eax
call dword [0x1009407c]
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x38
ret