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

Disassembly:
push 0xffffffffffffffff
push 0x4eff59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
lea eax, [esp + 0x44]
xor ebx, ebx
push eax
mov dword [esp + 0xc0], ebx
call fcn.004cc600
push str._DS.DB
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0xcc], 1
call fcn.004777f0
add esp, 0x10
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 3
call fcn.00414090
lea ecx, [esp + 0x54]
call fcn.004ced00
mov dl, byte [esp + 0x1f]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xc], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov al, byte [esp + 0x30]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x50], esp
push ebx
mov ecx, esi
mov byte [esp + 0xd0], 5
mov byte [esi], al
call fcn.00414090
mov ecx, dword [0x4f73d0]
lea edx, [esp + 0x40]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00413e90
lea ecx, [esp + 0x64]
call fcn.004cf110
cmp al, bl
jne 0x47e88d
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp esi, edi
mov byte [esp + 0xbc], 4
je 0x47e873
push ebx
mov ecx, esi
call fcn.004159d0
add esi, 4
cmp esi, edi
jne 0x47e860
mov esi, dword [esp + 0x10]
push esi
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jmp 0x47ea91
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.004cf620
mov esi, eax
lea edx, [esp + 0xc]
mov byte [esp + 0xbc], 6
cmp edx, esi
je 0x47e9bf
mov ecx, esi
call fcn.004776a0
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.004776a0
cmp edi, eax
ja 0x47e90a
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00477920
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004776e0
mov ecx, esi
call fcn.004776a0
mov edx, dword [esp + 0x10]
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
jmp 0x47e9bf
mov ecx, esi
call fcn.004776a0
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.004776c0
cmp edi, eax
ja 0x47e968
mov edi, dword [esi + 4]
lea ecx, [esp + 0xc]
call fcn.004776a0
mov ecx, dword [esp + 0x10]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00477920
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0xc]
push edx
push eax
push edi
call fcn.00477710
mov ecx, esi
call fcn.004776a0
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax*4]
mov dword [esp + 0x14], edx
jmp 0x47e9bf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004776e0
mov edx, dword [esp + 0x10]
push edx
call fcn.004de1a0
add esp, 4
mov ecx, esi
call fcn.004776a0
cmp eax, ebx
jge 0x47e995
xor eax, eax
shl eax, 2
push eax
call fcn.004dee45
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00477710
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], 5
call fcn.004776e0
mov eax, dword [esp + 0x24]
push eax
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004cf360
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x47ea80
mov ecx, dword [esp + 0x14]
mov edx, ecx
sub edx, eax
test edx, 0xfffffffc
je 0x47ea80
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 4
call fcn.004776e0
mov eax, dword [esp + 0x10]
push eax
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0xbc], 3
call fcn.004cee80
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], bl
call fcn.00414090
lea ecx, [esp + 0xc4]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004be2e0
mov ax, 1
jmp 0x47eace
lea ecx, [esp + 0xc]
mov byte [esp + 0xbc], 4
call fcn.00413d10
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 3
call fcn.004cee80
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], bl
call fcn.00414090
lea ecx, [esp + 0xc4]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004be2e0
xor ax, ax
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4
ret 4