Function at 0x47d300
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 0x62095d
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 0x47d3cd
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 0x620be8
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call 0x620be8
mov dword [esp + 0x18], 0x5ecb04
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call 0x628851
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call 0x620be8
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.00470f60
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 0x626409
mov ebx, dword [0x5ec17c]
cmp eax, 1
jne 0x47d4a8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
dec ecx
test ecx, ecx
jl 0x47d484
cmp byte [ecx + eax], 0xd
jne 0x47d45c
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x18]
call 0x61ce2e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call 0x620d21
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 3
call 0x620be8
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 0x47d484
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
lea ecx, [esp + 0x1c]
call 0x620d21
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 0x626409
cmp eax, 1
je 0x47d41a
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 0x47d4e7
sub ecx, eax
xor ebx, ebx
sub ecx, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
jmp 0x47d4f8
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 0x47d502
inc eax
jmp 0x47d503
dec eax
lea ecx, [esp + 0x24]
mov dword [ebp + 4], eax
test ecx, ecx
je 0x47d51f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47d51f
lea ecx, [esp + 0x24]
call 0x628851
lea edx, [esp + 0x24]
push 0xff
push edx
mov ecx, ebp
call fcn.00470f60
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 0x47d562
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 6]
or ecx, 0xffffffff
cmp dword [ebp + 4], ecx
jle 0x47d578
mov dword [ebp + 4], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0xc]
cmp ebx, edx
mov edx, dword [esi + 4]
je 0x47d59f
mov ebx, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
imul edx, ebx
cmp edx, ecx
jl 0x47d5cf
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x47d5ba
cmp edx, ecx
jle 0x47d5cb
jmp 0x47d5ba
mov ebx, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
imul edx, ebx
cmp edx, ecx
jg 0x47d5ed
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x47d5ba
cmp edx, ecx
jge 0x47d5e9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47d607
mov ebx, dword [esp + 0x44]
jmp 0x47d4f8
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 0x47d60b
dec dword [ebp + 4]
jmp 0x47d60b
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 0x47d60b
inc dword [ebp + 4]
jmp 0x47d60b
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x24]
test eax, eax
je 0x47d624
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47d624
lea ecx, [esp + 0x24]
call 0x628851
lea ecx, [esp + 0x24]
push 0xff
push ecx
mov ecx, ebp
call fcn.00470f60
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 0x47d677
imul edx, ebx
lea eax, [edx + eax + 6]
mov dword [esi + 0xc], eax
jmp 0x47d685
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 0x47d69a
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx + 6]
mov dword [esi + 8], edx
jmp 0x47d6a8
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 0x47d6cd
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47d6cd
lea ecx, [esp + 0x24]
call 0x628851
mov esi, dword [ebp + 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call 0x620be8
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call 0x620be8
mov dword [esp + 0x24], 0x5ecb04
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 6
call 0x628851
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0xffffffff
call 0x620be8
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