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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10165004]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [edx]
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [eax + 0x24]
mov edi, dword [edx + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x6c], ecx
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], eax
test edi, edi
jne 0x100f4ebe
push edi
push 1
push edi
mov edx, 0x1015671b
jmp 0x100f55e2
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov dword [esp + 0x28], eax
cmp eax, 5
je 0x100f4f3c
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x38]
push eax
push 0x100f2320
lea edx, [esp + 0x2c]
call fcn.100f22c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100f5459
cmp dword [esp + 0x28], 2
je 0x100f4f2e
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x38]
push eax
push 0x100f2320
lea edx, [esp + 0x2c]
call fcn.100f22c0
add esp, 8
mov esi, eax
test esi, esi
jne 0x100f5459
mov eax, dword [esp + 0x40]
jmp 0x100f4f4c
mov eax, dword [edi + 0x14]
xor esi, esi
mov dword [esp + 0x3c], 1
mov eax, dword [eax + 0x40]
lea edi, [eax + eax*2]
mov dword [esp + 0x68], eax
shl edi, 3
mov dword [esp + 0x28], edi
call fcn.100cb480
test eax, eax
jne 0x100f5454
push eax
push edi
call fcn.1001e4e0
mov edi, eax
add esp, 8
test edi, edi
je 0x100f544d
push dword [esp + 0x28]
push 0
push edi
call fcn.1012ab60
mov dword [esp + 0x94], edi
xor edx, edx
mov edi, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x24], edx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
mov ecx, edi
mov dword [esp + 0x70], ecx
cmp dword [eax + 0x18], edx
jle 0x100f5459
mov edi, dword [edi + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov eax, dword [edi]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
cmp eax, 5
je 0x100f5052
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x100f4d70
lea edx, [esp + 0x10]
call fcn.100f22c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100f5459
cmp dword [esp + 0x14], 2
je 0x100f511c
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x70]
push eax
push 0x100f4d70
lea edx, [esp + 0x10]
call fcn.100f22c0
add esp, 8
mov esi, eax
jmp 0x100f511c
lea eax, [esp + 0x64]
xorps xmm0, xmm0
push eax
push edx
mov edx, edi
movlpd qword [esp + 0x40], xmm0
call fcn.100daf70
mov esi, eax
add esp, 8
mov eax, dword [edi + 0x14]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], esi
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x10], ecx
test edi, edi
je 0x100f50ca
mov al, byte [edi]
test al, al
jns 0x100f50ae
lea edx, [esp + 0x60]
mov ecx, edi
call fcn.100d0b60
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x60]
add edi, edx
add eax, 0xfffffffe
mov dword [esp + 0x64], edi
cdq
mov dword [esp + 0x14], edx
jmp 0x100f50d6
movzx eax, al
mov edx, 1
add edi, edx
mov dword [esp + 0x60], eax
add eax, 0xfffffffe
mov dword [esp + 0x64], edi
cdq
mov dword [esp + 0x14], edx
jmp 0x100f50d6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
test ecx, ecx
jle 0x100f511c
lea esi, [ecx - 1]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x88]
lea ecx, [edx + edx*2]
inc edx
lea ecx, [eax + ecx*8]
mov dword [esp + 0x78], edx
mov eax, esi
mov dword [ecx], edi
cdq
dec esi
sub dword [esp + 0x10], 1
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0xc], eax
jne 0x100f50e1
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x100f5459
mov eax, dword [esp + 0x24]
inc eax
push eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
call fcn.1004ab80
push dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x18]
push dword [eax + 0xc]
call fcn.1004a730
add esp, 0x10
test edi, edi
jne 0x100f5174
mov edi, dword [esp + 0xc]
push dword [esp + 8]
push dword [edi + 0xc]
call fcn.1004add0
add esp, 8
cmp eax, 5
jne 0x100f5454
jmp 0x100f52f7
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
mov edx, dword [edi + 0x14]
call fcn.100dc2d0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100f5459
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100f52d7
mov eax, dword [esp + 0x68]
xor esi, esi
mov dword [esp + 0x30], esi
mov edi, 0x7fffffff
test eax, eax
jle 0x100f5420
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], eax
cmp dword [ecx], 0
je 0x100f522f
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
sbb esi, dword [ecx + 0x14]
mov dword [esp + 0x38], eax
mov eax, edi
cdq
cmp esi, edx
jg 0x100f5227
jl 0x100f5219
cmp dword [esp + 0x38], eax
jae 0x100f5227
mov edi, dword [ecx + 8]
mov esi, ecx
sub edi, dword [ecx + 0x10]
mov dword [esp + 0x30], esi
jmp 0x100f522b
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
add ecx, 0x18
sub eax, 1
mov dword [esp + 0x10], eax
jne 0x100f51f5
test esi, esi
je 0x100f5420
mov ecx, dword [esi]
mov al, byte [ecx]
test al, 0xfe
jne 0x100f5253
mov dword [esi], 0
jmp 0x100f5280
test al, al
jns 0x100f5268
lea edx, [esp + 0x34]
call fcn.100d0b60
mov ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x100f5274
movzx eax, al
mov ecx, 1
mov dword [esp + 0x34], eax
add dword [esi], ecx
add eax, 0xfffffffe
cdq
add dword [esi + 8], eax
adc dword [esi + 0xc], edx
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x50], edi
jge 0x100f5315
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x100f5284
cmp eax, 0x65
je 0x100f53fb
test eax, eax
je 0x100f51d3
mov edi, dword [esp + 0xc]
push dword [esp + 0x18]
xor esi, esi
cmp eax, 0x65
cmovne esi, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
jne 0x100f5459
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov dword [esp + 0x24], edx
cmp edx, dword [eax + 0x18]
jge 0x100f5459
mov ecx, dword [esp + 0x70]
jmp 0x100f4fc2
test eax, eax
jne 0x100f52c2
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub eax, ecx
sub esi, dword [esp + 0x88]
push eax
mov eax, 0x2aaaaaab
imul esi
push ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xa8]
push str._d__d__d__d
push eax
push 0x40
call fcn.10021610
lea esi, [esp + 0xb4]
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100f5363
mov eax, dword [esp + 0x4c]
sub esi, ecx
add eax, esi
mov dword [esp + 0x38], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jl 0x100f53c6
cdq
mov ecx, eax
mov edi, edx
mov eax, esi
cdq
add ecx, eax
adc edi, edx
add ecx, 0x64
mov dword [esp + 0x5c], ecx
adc edi, 0
call fcn.100cb480
test eax, eax
jne 0x100f543b
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
push edi
push eax
call fcn.1001e930
add esp, 8
test eax, eax
je 0x100f543b
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x100f53ca
mov edi, dword [esp + 0x2c]
push esi
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x54]
add eax, edi
push eax
call fcn.1012bff0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], 0
mov byte [eax + edi], 0
jmp 0x100f51d3
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x28], 0
jne 0x100f52d3
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov esi, 0x10b
jmp 0x100f5459
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
mov edi, dword [esp + 0x10]
add esp, 4
xor esi, esi
jmp 0x100f52f7
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
jmp 0x100f5454
mov dword [esp + 0x88], edi
mov esi, 7
mov edi, dword [esp + 0x88]
test edi, edi
je 0x100f54c2
cmp dword [0x10165af8], 0
je 0x100f54b2
mov eax, dword [0x10168b48]
test eax, eax
je 0x100f5480
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x100f54c2
push eax
call dword [0x10165b50]
jmp 0x100f54bf
push dword [esp + 0x88]
call dword [0x10165b1c]
add esp, 4
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0xfc]
test edi, edi
je 0x100f5521
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100f54f3
push ecx
call dword [0x10165b48]
mov eax, dword [esp + 0x38]
add esp, 4
mov edx, edi
mov ecx, eax
call fcn.1001e7b0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100f5511
push eax
call dword [0x10165b50]
add esp, 4
push dword [esp + 0x38]
call fcn.10048de0
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [eax + 0xfc], 0
test esi, esi
je 0x100f55cd
push esi
push dword [esp + 0x70]
call fcn.10049b00
mov esi, dword [esp + 0x34]
add esp, 8
test esi, esi
je 0x100f55ea
cmp dword [0x10165af8], 0
je 0x100f55af
mov eax, dword [0x10168b48]
test eax, eax
je 0x100f5568
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x100f55ea
push eax
call dword [0x10165b50]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10129271
mov esp, ebp
pop ebp
ret
push esi
call dword [0x10165b1c]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10129271
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
dec eax
mov ecx, dword [esp + 0x6c]
push fcn.1001e6f0
push 1
push eax
call fcn.10049510
add esp, 0xc
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.10129271
mov esp, ebp
pop ebp
ret