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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b898
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov byte [esi + 4], bl
mov dword [esi], vtable.CEffectUniversal.0
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
or eax, 0xffffffff
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
mov edi, 0xff
mov dword [esi + 0x30], edi
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x24], 1
mov ecx, dword [eax]
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp ecx, ebx
jne 0x4908c3
xor eax, eax
jmp 0x4908d9
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4908cf
mov edx, dword [edx + 0xc]
jmp 0x4908d1
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4908e9
xor eax, eax
jmp 0x4908ff
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4908f5
mov edx, dword [edx + 0xc]
jmp 0x4908f7
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x490912
xor eax, eax
jmp 0x490928
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x49091e
mov edx, dword [edx + 0xc]
jmp 0x490920
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 4]
mov ecx, 0x56a4bc
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], 0x80
mov dword [esi + 0x30], 0xffffff80
call fcn.00416ad0
mov edi, dword [0x5699f4]
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4909a1
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
jne 0x49097b
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x4909a4
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x490992
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov dword [ebp + 8], eax
jmp 0x4909a4
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
mov dword [ebp + 8], eax
jmp 0x4909a4
mov dword [ebp + 8], ebx
mov ecx, 0x56a4bc
call fcn.00416ad0
mov edi, dword [0x5699f4]
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4909e9
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4909e9
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4909df
mov ebx, dword [edx + 0xc]
mov eax, dword [eax + 4]
imul eax, ebx
add eax, ecx
jmp 0x4909eb
xor eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x74]
push ecx
mov ecx, eax
call fcn.00470c10
mov dword [esi + 0x38], eax
mov byte [esi + 4], 1
jmp 0x490a0b
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc