Function at 0x41d300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d8bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
mov dword [esp + 0x18], 0x5ecae4
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x34], 1
mov dword [esp + 0x14], 1
call fcn.005c095d
mov ecx, dword [0x666d08]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov byte [esp + 0x30], 3
mov dword [esp + 8], esi
cmp dword [edx - 8], esi
jne 0x41d3cd
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 2
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add ecx, 5
add edx, 5
mov dword [eax + 8], ecx
lea ecx, [esp + 4]
mov dword [eax + 0xc], edx
call fcn.005c0be8
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.005c0be8
mov dword [esp + 0x18], 0x5ecb04
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.005c8851
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call fcn.005c0be8
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push edi
lea eax, [esp + 0x24]
push 0xff
push eax
mov ecx, ebp
call fcn.00410f60
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x28]
mov ecx, dword [esp + 0x4c]
push 0xa
push esi
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x64], eax
call fcn.005c6409
mov ebx, dword [0x5ec17c]
cmp eax, 1
jne 0x41d4a8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
dec ecx
test ecx, ecx
jl 0x41d484
cmp byte [ecx + eax], 0xd
jne 0x41d45c
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.005bce2e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call fcn.005c0d21
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 3
call fcn.005c0be8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call ebx
mov eax, dword [esp + 0x2c]
cmp esi, eax
jge 0x41d484
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005c0d21
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
inc eax
push 0xa
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005c6409
cmp eax, 1
je 0x41d41a
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call ebx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
imul eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ebx, ecx
sub ebx, edx
cmp eax, ebx
jge 0x41d4e7
sub ecx, eax
xor ebx, ebx
sub ecx, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
jmp 0x41d4f8
sub eax, ecx
mov ebx, 1
add eax, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 4]
test ebx, ebx
je 0x41d502
inc eax
jmp 0x41d503
dec eax
lea ecx, [esp + 0x24]
mov dword [ebp + 4], eax
test ecx, ecx
je 0x41d51f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d51f
lea ecx, [esp + 0x24]
call fcn.005c8851
lea edx, [esp + 0x24]
push 0xff
push edx
mov ecx, ebp
call fcn.00410f60
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [0x5ec17c]
mov eax, dword [esp + 0x2c]
xor edx, edx
cmp eax, edx
jge 0x41d562
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 6]
or ecx, 0xffffffff
cmp dword [ebp + 4], ecx
jle 0x41d578
mov dword [ebp + 4], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0xc]
cmp ebx, edx
mov edx, dword [esi + 4]
je 0x41d59f
mov ebx, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
imul edx, ebx
cmp edx, ecx
jl 0x41d5cf
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x41d5ba
cmp edx, ecx
jle 0x41d5cb
jmp 0x41d5ba
mov ebx, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
imul edx, ebx
cmp edx, ecx
jg 0x41d5ed
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x41d5ba
cmp edx, ecx
jge 0x41d5e9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41d607
mov ebx, dword [esp + 0x44]
jmp 0x41d4f8
mov ebx, dword [esp + 0x14]
imul eax, ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub edx, eax
mov eax, dword [esp + 0x48]
sub edx, ecx
cmp edx, eax
jle 0x41d60b
dec dword [ebp + 4]
jmp 0x41d60b
mov ebx, dword [esp + 0x14]
imul eax, ebx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
sub eax, ecx
mov ecx, dword [esp + 0x48]
add eax, edx
cmp eax, ecx
jle 0x41d60b
inc dword [ebp + 4]
jmp 0x41d60b
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x24]
test eax, eax
je 0x41d624
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d624
lea ecx, [esp + 0x24]
call fcn.005c8851
lea ecx, [esp + 0x24]
push 0xff
push ecx
mov ecx, ebp
call fcn.00410f60
mov edx, dword [edi]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [0x5ec17c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp eax, edx
mov edx, dword [esp + 0x20]
jne 0x41d677
imul edx, ebx
lea eax, [edx + eax + 6]
mov dword [esi + 0xc], eax
jmp 0x41d685
imul edx, ebx
mov eax, dword [esi + 0xc]
sub eax, edx
sub eax, 6
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [ecx]
cmp eax, edx
jne 0x41d69a
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx + 6]
mov dword [esi + 8], edx
jmp 0x41d6a8
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x1c]
sub eax, edx
sub eax, 6
mov dword [esi], eax
mov eax, dword [esp + 0x54]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0x24]
test ecx, ecx
je 0x41d6cd
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d6cd
lea ecx, [esp + 0x24]
call fcn.005c8851
mov esi, dword [ebp + 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.005c0be8
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.005c0be8
mov dword [esp + 0x24], 0x5ecb04
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 6
call fcn.005c8851
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.005c0be8
mov ecx, dword [esp + 0x34]
pop edi
pop ebp
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret