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

Disassembly:
push 0xffffffffffffffff
push 0x4f0139
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.004cce50
push str._DS.DB
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0xcc], 1
call fcn.00476e60
add esp, 0x10
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 3
call fcn.00411e90
lea ecx, [esp + 0x54]
call fcn.004cf5c0
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.00411e90
mov ecx, dword [0x4f73d0]
lea edx, [esp + 0x40]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00411c90
lea ecx, [esp + 0x64]
call fcn.004cf9d0
cmp al, bl
jne 0x47e82d
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp esi, edi
mov byte [esp + 0xbc], 4
je 0x47e813
push ebx
mov ecx, esi
call fcn.00413810
add esi, 4
cmp esi, edi
jne 0x47e800
mov esi, dword [esp + 0x10]
push esi
call fcn.004deb10
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jmp 0x47ea31
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.004cfee0
mov esi, eax
lea edx, [esp + 0xc]
mov byte [esp + 0xbc], 6
cmp edx, esi
je 0x47e95f
mov ecx, esi
call fcn.00476d10
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00476d10
cmp edi, eax
ja 0x47e8aa
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00476f90
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00476d50
mov ecx, esi
call fcn.00476d10
mov edx, dword [esp + 0x10]
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
jmp 0x47e95f
mov ecx, esi
call fcn.00476d10
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00476d30
cmp edi, eax
ja 0x47e908
mov edi, dword [esi + 4]
lea ecx, [esp + 0xc]
call fcn.00476d10
mov ecx, dword [esp + 0x10]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00476f90
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.00476d80
mov ecx, esi
call fcn.00476d10
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax*4]
mov dword [esp + 0x14], edx
jmp 0x47e95f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00476d50
mov edx, dword [esp + 0x10]
push edx
call fcn.004deb10
add esp, 4
mov ecx, esi
call fcn.00476d10
cmp eax, ebx
jge 0x47e935
xor eax, eax
shl eax, 2
push eax
call fcn.004df7b5
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.00476d80
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.00476d50
mov eax, dword [esp + 0x24]
push eax
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004cfc20
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x47ea20
mov ecx, dword [esp + 0x14]
mov edx, ecx
sub edx, eax
test edx, 0xfffffffc
je 0x47ea20
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 4
call fcn.00476d50
mov eax, dword [esp + 0x10]
push eax
call fcn.004deb10
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.004cf740
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], bl
call fcn.00411e90
lea ecx, [esp + 0xc4]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004beab0
mov ax, 1
jmp 0x47ea6e
lea ecx, [esp + 0xc]
mov byte [esp + 0xbc], 4
call fcn.00411b10
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 3
call fcn.004cf740
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], bl
call fcn.00411e90
lea ecx, [esp + 0xc4]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004beab0
xor ax, ax
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4
ret 4