Function at 0x100f5450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101ede38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
xor esi, esi
push 0xffffffffffffffff
mov ebp, ecx
push esi
call fcn.1015a820
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x1c]
push eax
call fcn.1005bc60
mov ecx, dword [0x101ff094]
mov dword [esp + 0x58], esi
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea eax, [esp + 0x60]
push edx
push 0x1025ea58
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
mov dword [esp + 0x3c], esi
call fcn.10060e00
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call fcn.1005c680
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 1
call fcn.1005c4d0
push 0x1027a5d8
lea ecx, [esp + 0x18]
call fcn.1005bb50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.10043744
add esp, 8
cmp eax, esi
lea ecx, [esp + 0x14]
setne bl
call fcn.1005c4d0
test bl, bl
je 0x100f5906
push edi
lea ecx, [esp + 0x10]
call fcn.100603a0
lea ecx, [esp + 0x10]
call fcn.100600a0
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], esi
je 0x100f589a
push 0x3a
lea ecx, [esp + 0x14]
call fcn.1005d630
mov edi, eax
mov eax, dword [0x101ff094]
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], eax
cmp edi, esi
mov byte [esp + 0x5c], 4
jl 0x100f55ae
lea ecx, [esp + 0x38]
push edi
push ecx
lea ecx, [esp + 0x18]
call fcn.1005eca0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 5
call fcn.1005c680
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 4
call fcn.1005c4d0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1005ea90
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 6
call fcn.1005c680
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 4
call fcn.1005c4d0
jmp 0x100f55bc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.1005c680
push 0x1025ea80
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], esi
call fcn.10061180
test eax, eax
jl 0x100f55dc
mov dword [esp + 0x4c], 2
jmp 0x100f5618
push 0x1025ea78
lea ecx, [esp + 0x18]
call fcn.10061180
test eax, eax
jl 0x100f55f8
mov dword [esp + 0x4c], 3
jmp 0x100f5618
push str.ICMP
lea ecx, [esp + 0x18]
call fcn.10061180
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, 0xfffffffd
add edx, 4
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x64]
cmp dword [eax - 8], esi
je 0x100f570b
push 0x2d
lea ecx, [esp + 0x68]
call fcn.1005d630
mov edi, eax
cmp edi, esi
jl 0x100f56d7
lea ecx, [esp + 0x30]
push edi
push ecx
lea ecx, [esp + 0x6c]
call fcn.1005eca0
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 7
mov eax, dword [edx - 8]
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1005ea90
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
push 0x10242a40
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.1004425a
mov ecx, dword [esp + 0x38]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x10242a40
push ecx
call fcn.1004425a
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp eax, ecx
ja 0x100f56be
cmp ecx, esi
jbe 0x100f56be
cmp eax, 0xffff
ja 0x100f56be
mov word [esp + 0x50], ax
mov word [esp + 0x52], cx
lea ecx, [esp + 0x2c]
call fcn.1005c4d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 4
call fcn.1005c4d0
jmp 0x100f570b
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x1c]
push edx
push 0x10242a40
push eax
mov dword [esp + 0x28], esi
call fcn.1004425a
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, esi
jbe 0x100f570b
cmp eax, 0xffff
ja 0x100f570b
mov word [esp + 0x50], ax
mov word [esp + 0x52], ax
cmp dword [esp + 0x4c], 4
je 0x100f587e
mov ecx, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x44], esi
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x100f574a
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x100f573f
push eax
mov dword [esp + 0x48], ecx
call fcn.101d505d
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x100f586a
mov edx, dword [ebp + 4]
cmp edx, edi
jne 0x100f5785
lea edi, [ebx*8]
push edi
call fcn.101d5034
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x100f586a
mov edi, dword [ebp + 0xc]
cmp ebx, edi
jg 0x100f57c6
cmp ecx, ebx
jge 0x100f57b6
mov eax, ebx
lea edi, [edx + ecx*8]
sub eax, ecx
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 8], ebx
jmp 0x100f586a
jle 0x100f57be
sub ecx, ebx
mov dword [esp + 0x44], ecx
mov dword [ebp + 8], ebx
jmp 0x100f586a
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x100f57f0
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x100f57e4
mov eax, 4
jmp 0x100f57f0
cmp eax, 0x400
jle 0x100f57f0
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x100f57fe
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
lea ecx, [eax*8]
push ecx
call fcn.101d5034
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x44], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edx
shl ecx, 3
lea edi, [eax + edx*8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
push eax
call fcn.101d505d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [edx + esi*8], eax
mov dword [edx + esi*8 + 4], ecx
xor esi, esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 3
call fcn.1005c4d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.1005c4d0
lea edx, [esp + 0x34]
lea eax, [esp + 0x48]
push edx
push 0x1025ea58
push eax
lea ecx, [esp + 0x2c]
call fcn.10060e00
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 8
call fcn.1005c680
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 1
call fcn.1005c4d0
push 0x1027a5d8
lea ecx, [esp + 0x1c]
call fcn.1005bb50
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.10043744
add esp, 8
cmp eax, esi
lea ecx, [esp + 0x18]
setne bl
call fcn.1005c4d0
test bl, bl
jne 0x100f5508
pop edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 0
call fcn.1005c4d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.1005c4d0
mov ecx, dword [esp + 0x50]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4