Function at 0x100f46f0
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 0x100f474e
push edi
push 1
push edi
mov edx, 0x10156643
jmp 0x100f4e72
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 0x100f47cc
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x38]
push eax
push 0x100f1bb0
lea edx, [esp + 0x2c]
call fcn.100f1b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x100f4ce9
cmp dword [esp + 0x28], 2
je 0x100f47be
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x38]
push eax
push 0x100f1bb0
lea edx, [esp + 0x2c]
call fcn.100f1b50
add esp, 8
mov esi, eax
test esi, esi
jne 0x100f4ce9
mov eax, dword [esp + 0x40]
jmp 0x100f47dc
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.100cad40
test eax, eax
jne 0x100f4ce4
push eax
push edi
call fcn.1001e1a0
mov edi, eax
add esp, 8
test edi, edi
je 0x100f4cdd
push dword [esp + 0x28]
push 0
push edi
call fcn.1012aa20
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 0x100f4ce9
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 0x100f48e2
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x100f4600
lea edx, [esp + 0x10]
call fcn.100f1b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x100f4ce9
cmp dword [esp + 0x14], 2
je 0x100f49ac
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x70]
push eax
push 0x100f4600
lea edx, [esp + 0x10]
call fcn.100f1b50
add esp, 8
mov esi, eax
jmp 0x100f49ac
lea eax, [esp + 0x64]
xorps xmm0, xmm0
push eax
push edx
mov edx, edi
movlpd qword [esp + 0x40], xmm0
call fcn.100da890
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 0x100f495a
mov al, byte [edi]
test al, al
jns 0x100f493e
lea edx, [esp + 0x60]
mov ecx, edi
call fcn.100d03f0
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 0x100f4966
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 0x100f4966
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
test ecx, ecx
jle 0x100f49ac
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 0x100f4971
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x100f4ce9
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.1004a8a0
push dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x18]
push dword [eax + 0xc]
call fcn.1004a450
add esp, 0x10
test edi, edi
jne 0x100f4a04
mov edi, dword [esp + 0xc]
push dword [esp + 8]
push dword [edi + 0xc]
call fcn.1004aaf0
add esp, 8
cmp eax, 5
jne 0x100f4ce4
jmp 0x100f4b87
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.100dbc10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100f4ce9
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 0x100f4b67
mov eax, dword [esp + 0x68]
xor esi, esi
mov dword [esp + 0x30], esi
mov edi, 0x7fffffff
test eax, eax
jle 0x100f4cb0
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], eax
cmp dword [ecx], 0
je 0x100f4abf
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 0x100f4ab7
jl 0x100f4aa9
cmp dword [esp + 0x38], eax
jae 0x100f4ab7
mov edi, dword [ecx + 8]
mov esi, ecx
sub edi, dword [ecx + 0x10]
mov dword [esp + 0x30], esi
jmp 0x100f4abb
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
add ecx, 0x18
sub eax, 1
mov dword [esp + 0x10], eax
jne 0x100f4a85
test esi, esi
je 0x100f4cb0
mov ecx, dword [esi]
mov al, byte [ecx]
test al, 0xfe
jne 0x100f4ae3
mov dword [esi], 0
jmp 0x100f4b10
test al, al
jns 0x100f4af8
lea edx, [esp + 0x34]
call fcn.100d03f0
mov ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x100f4b04
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 0x100f4ba5
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 0x100f4b14
cmp eax, 0x65
je 0x100f4c8b
test eax, eax
je 0x100f4a63
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 0x100f4ce9
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov dword [esp + 0x24], edx
cmp edx, dword [eax + 0x18]
jge 0x100f4ce9
mov ecx, dword [esp + 0x70]
jmp 0x100f4852
test eax, eax
jne 0x100f4b52
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.100213f0
lea esi, [esp + 0xb4]
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100f4bf3
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 0x100f4c56
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.100cad40
test eax, eax
jne 0x100f4ccb
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
push edi
push eax
call fcn.1001e600
add esp, 8
test eax, eax
je 0x100f4ccb
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x100f4c5a
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.1012bec0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], 0
mov byte [eax + edi], 0
jmp 0x100f4a63
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x28], 0
jne 0x100f4b63
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov esi, 0x10b
jmp 0x100f4ce9
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 0x100f4b87
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
jmp 0x100f4ce4
mov dword [esp + 0x88], edi
mov esi, 7
mov edi, dword [esp + 0x88]
test edi, edi
je 0x100f4d52
cmp dword [0x10165af8], 0
je 0x100f4d42
mov eax, dword [0x10168b40]
test eax, eax
je 0x100f4d10
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100f4d52
push eax
call dword [0x10165b50]
jmp 0x100f4d4f
push dword [esp + 0x88]
call dword [0x10165b1c]
add esp, 4
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0xfc]
test edi, edi
je 0x100f4db1
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 0x100f4d83
push ecx
call dword [0x10165b48]
mov eax, dword [esp + 0x38]
add esp, 4
mov edx, edi
mov ecx, eax
call fcn.1001e480
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100f4da1
push eax
call dword [0x10165b50]
add esp, 4
push dword [esp + 0x38]
call fcn.10048b00
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [eax + 0xfc], 0
test esi, esi
je 0x100f4e5d
push esi
push dword [esp + 0x70]
call fcn.10049820
mov esi, dword [esp + 0x34]
add esp, 8
test esi, esi
je 0x100f4e7a
cmp dword [0x10165af8], 0
je 0x100f4e3f
mov eax, dword [0x10168b40]
test eax, eax
je 0x100f4df8
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100f4e7a
push eax
call dword [0x10165b50]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10129131
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.10129131
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.1001e3c0
push 1
push eax
call fcn.10049230
add esp, 0xc
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.10129131
mov esp, ebp
pop ebp
ret