Function at 0x47b000
Capabilities:
Access peb ldr_data
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b43c7
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0xec8960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc8], edi
mov eax, dword [ebp + 8]
lea ebx, [edi + 8]
mov dword [ebp - 0xd4], edi
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov dword [ebp - 0xc8], ebx
mov dword [ebx], 0
lea ecx, [ebx + 0xc]
mov dword [ecx], vtable.MYFILE.0
call fcn.00461340
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x30], 1
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x40], 1
mov dword [ebp - 4], 3
lea ecx, [edi + 0x78]
mov dword [edi + 0x78], vtable.MYFILE.0
call fcn.00461340
lea ecx, [edi + 0x94]
mov dword [ecx], vtable.MYFILE.0
call fcn.00461340
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 5
mov ebx, dword [0xf051a8]
mov dword [edi + 0x400c8], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x40034]
test esi, esi
je 0x47b105
test ebx, ebx
je 0x47b120
mov ecx, ebx
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b0fc
test dx, dx
je 0x47b0f8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b0fc
add eax, 4
add ecx, 4
test dx, dx
jne 0x47b0d6
xor eax, eax
jmp 0x47b101
sbb eax, eax
or eax, 1
test eax, eax
je 0x47b165
test ebx, ebx
je 0x47b11c
push ebx
call fcn.0048e011
add esp, 4
mov dword [0xf051a8], 0
test esi, esi
je 0x47b165
cmp word [esi], 0
je 0x47b165
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b130
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
call fcn.0045c5b0
mov ecx, eax
mov dword [0xf051a8], ecx
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x47b155
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
call fcn.0045ec80
mov ecx, edi
call fcn.0047afb0
mov ebx, dword [edi + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x4001c]
mov esi, dword [eax + 4]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0xcc], ecx
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.MYFILE.0
call fcn.00461340
mov ecx, dword [ebp - 0x18]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x47b1c1
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
call fcn.0045cd00
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_CharToOemW]
push dword [ebp - 0xc4]
mov byte [ebp - 4], 6
mov ecx, ebx
push dword [ebp - 0xcc]
mov eax, dword [edi]
push dword [ebp - 0xd0]
push dword [ebp - 0x14]
mov dl, byte [eax]
push dword [eax + 0x40078]
push edx
call dword [ebp - 0xc8]
test al, al
sete bl
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.MYFILE.0
call fcn.004613b0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x47b23b
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0x14]
call fcn.0048e011
add esp, 4
push dword [ebp - 0x1c]
call fcn.0048e011
add esp, 4
mov byte [ebp - 4], 5
test bl, bl
je 0x47b26a
mov ecx, dword [edi]
mov dword [ecx + 0x40068], 0
jmp 0x47b3d1
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
lea ecx, [edi + 0x78]
call fcn.004612c0
xor eax, eax
mov dword [ebp - 0xc4], eax
cmp dword [edi + 0x30], eax
jle 0x47b2fb
xor ebx, ebx
nop word [eax + eax]
mov esi, dword [edi + 0x34]
add esi, ebx
cmp dword [esi], 3
jne 0x47b2ec
push 0x88
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0048b190
add esp, 0xc
lea eax, [edi + 8]
push edi
push ecx
push esi
push eax
lea ecx, [ebp - 0xc0]
call fcn.00478c00
mov byte [ebp - 4], 8
lea edx, [ebp - 0xc0]
mov ecx, dword [edi + 4]
push dword [edi]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.0047ae20
mov eax, dword [ebp - 0xc4]
inc eax
add ebx, 0x28
mov dword [ebp - 0xc4], eax
cmp eax, dword [edi + 0x30]
jl 0x47b290
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
cmp byte [ebp + 0x10], 0
mov dword [edi + 0x400c0], eax
mov dword [edi + 0x400c4], edx
mov dword [edi + 0x400b8], 0
mov dword [edi + 0x400bc], 0
je 0x47b3b9
xor ebx, ebx
cmp dword [edi + 0x30], ebx
jle 0x47b3b9
xor eax, eax
mov dword [ebp - 0xc4], eax
mov esi, dword [edi + 0x34]
add esi, eax
cmp dword [esi], 3
jne 0x47b3aa
push 0x88
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0048b190
add esp, 0xc
lea eax, [edi + 8]
push edi
push ecx
push esi
push eax
lea ecx, [ebp - 0xc0]
call fcn.00478c00
xor esi, esi
mov byte [ebp - 4], 9
cmp dword [ebp - 0x44], esi
jle 0x47b395
nop
push esi
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.0047ab40
inc esi
cmp esi, dword [ebp - 0x44]
jl 0x47b380
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.0047ae20
mov eax, dword [ebp - 0xc4]
inc ebx
add eax, 0x28
mov dword [ebp - 0xc4], eax
cmp ebx, dword [edi + 0x30]
jl 0x47b342
mov ecx, dword [edi + 4]
push dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp dword [edi + 0x1c], 0
lea ecx, [edi + 0x14]
jl 0x47b3d1
call fcn.0045c630
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret 0x10