Function at 0x490ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5df4d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x5f5614]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 8], 1
mov eax, dword [esi]
lea ecx, [esi + 0x48]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
call fcn.0046d230
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x24]
mov cx, word [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
lea edx, [esi + ecx*2 + 0x4a]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
call fcn.0046d230
mov eax, dword [esi + 0x30]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
mov dx, word [esi + 0x2c]
mov dword [esp + 0x38], eax
add ecx, edx
lea eax, [esi + ecx*2 + 0x4c]
lea ecx, [esp + 0x3c]
push eax
call fcn.0046d230
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 0x34]
mov dx, word [esi + 4]
xor eax, eax
add ecx, edx
mov ax, word [esi + 0x2c]
add ecx, eax
lea ecx, [esi + ecx*2 + 0x4e]
push ecx
lea ecx, [esp + 0x44]
call fcn.0046d230
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov esi, dword [edi]
mov edx, dword [esp + 8]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0x50], edx
mov eax, dword [esp + 0xc]
push ecx
lea ecx, [esi + 0x58]
mov dword [esi + 0x54], eax
call fcn.0046d100
mov edx, dword [esp + 0x14]
mov dword [esi + 0x5c], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x68], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 0x6c], eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x70], ecx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esi + 0x74], edx
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esi + 0x7c]
mov dword [esi + 0x78], eax
call fcn.0046d100
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esi + 0x84]
mov dword [esi + 0x80], edx
call fcn.0046d100
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esi + 0x88]
call fcn.0046d100
mov edx, dword [esp + 0x44]
mov dword [esi + 0x8c], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 3
call fcn.0046cf50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.0046cf50
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 1
call fcn.0046cf50
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.0046cf50
mov ecx, dword [esp + 0x50]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4