Function at 0x47b610
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 0x4b4b07
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0xec8980]
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 esi, [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], esi
mov dword [esi], 0
lea ecx, [esi + 0xc]
mov dword [ecx], vtable.MYFILE.0
call fcn.00461760
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x40], 1
lea ecx, [edi + 0x78]
mov dword [ebp - 4], 3
mov dword [ecx], vtable.MYFILE.0
call fcn.00461760
lea ecx, [edi + 0x94]
mov dword [ecx], vtable.MYFILE.0
call fcn.00461760
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 5
mov ebx, dword [0xf0526c]
mov dword [edi + 0x400c8], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x40034]
test esi, esi
je 0x47b714
test ebx, ebx
je 0x47b72f
mov ecx, ebx
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b70b
test dx, dx
je 0x47b707
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b70b
add eax, 4
add ecx, 4
test dx, dx
jne 0x47b6e5
xor eax, eax
jmp 0x47b710
sbb eax, eax
or eax, 1
test eax, eax
je 0x47b775
test ebx, ebx
je 0x47b72b
push ebx
call fcn.0048e4e1
add esp, 4
mov dword [0xf0526c], 0
test esi, esi
je 0x47b775
cmp word [esi], 0
je 0x47b775
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b740
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
call fcn.0045c9a0
mov ecx, eax
mov dword [0xf0526c], ecx
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x47b765
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
call fcn.0045f0a0
mov ecx, edi
call fcn.0047b5c0
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.00461760
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 0x47b7d1
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
call fcn.0045d0f0
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]
mov bl, al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.MYFILE.0
call fcn.004617d0
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x1c]
je 0x47b848
push ecx
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x14]
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x1c]
call fcn.0048e4e1
add esp, 4
mov byte [ebp - 4], 5
test bl, bl
jne 0x47b877
mov ecx, dword [edi]
mov dword [ecx + 0x40068], 0
jmp 0x47b9e1
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
lea ecx, [edi + 0x78]
call fcn.004616e0
xor eax, eax
mov dword [ebp - 0xc4], eax
cmp dword [edi + 0x30], eax
jle 0x47b902
xor ebx, ebx
mov esi, dword [edi + 0x34]
add esi, ebx
cmp dword [esi], 3
jne 0x47b8f3
push 0x88
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0048b660
add esp, 0xc
lea eax, [edi + 8]
push edi
push ecx
push esi
push eax
lea ecx, [ebp - 0xc0]
call fcn.00479270
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.0047b430
mov eax, dword [ebp - 0xc4]
inc eax
add ebx, 0x28
mov dword [ebp - 0xc4], eax
cmp eax, dword [edi + 0x30]
jl 0x47b897
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 0x47b9c9
xor ebx, ebx
cmp dword [edi + 0x30], ebx
jle 0x47b9c9
xor eax, eax
mov dword [ebp - 0xc4], eax
nop dword [eax]
mov esi, dword [edi + 0x34]
add esi, eax
cmp dword [esi], 3
jne 0x47b9ba
push 0x88
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0048b660
add esp, 0xc
lea eax, [edi + 8]
push edi
push ecx
push esi
push eax
lea ecx, [ebp - 0xc0]
call fcn.00479270
xor esi, esi
mov byte [ebp - 4], 9
cmp dword [ebp - 0x44], esi
jle 0x47b9a5
nop dword [eax]
push esi
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.0047b150
inc esi
cmp esi, dword [ebp - 0x44]
jl 0x47b990
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.0047b430
mov eax, dword [ebp - 0xc4]
inc ebx
add eax, 0x28
mov dword [ebp - 0xc4], eax
cmp ebx, dword [edi + 0x30]
jl 0x47b950
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 0x47b9e1
call fcn.0045ca20
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.00488f09
mov esp, ebp
pop ebp
ret 0x10