Function at 0x489370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x642efc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0046a130
xor ebx, ebx
mov dword [esi], 0x655870
mov dword [esp + 0x34], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
lea eax, [esp + 0x10]
push eax
push 0xf
mov dword [esi + 0x15c], 0xffffffff
mov dword [esi + 0x160], ebx
mov ecx, dword [0x6a09fc]
push pe_nt_image_headers32
mov byte [esp + 0x40], 1
mov dword [esp + 0x1c], ebx
call fcn.004d67c0
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0041ef50
mov ebp, dword [sym.imp.user32.dll_SetRect]
push 0xf
push pe_nt_image_headers32
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
call ebp
mov ecx, dword [0x6a09fc]
push ebx
push 2
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ebx
lea edx, [esp + 0x2c]
push edx
call fcn.0041f9b0
push 0x60
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x34], 2
je 0x489446
mov ecx, eax
call fcn.0049ec40
mov edi, eax
jmp 0x489448
xor edi, edi
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x38], 1
call fcn.0049f010
mov ecx, dword [0x6a07e4]
push edi
call fcn.004a0440
push edi
mov ecx, esi
call fcn.0046a730
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x48947f
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x10], ebx
mov ecx, dword [0x6a09fc]
lea eax, [esp + 0x10]
push eax
push 0x128
push pe_nt_image_headers32
call fcn.004d67c0
push 0x25
push pe_nt_image_headers32
push 0xf
push ebx
lea ecx, [esp + 0x2c]
push ecx
call ebp
mov ecx, dword [0x6a09fc]
push ebx
push 2
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ebx
lea edx, [esp + 0x2c]
push edx
call fcn.0041f9b0
mov ecx, dword [esp + 0x10]
push 1
push 0xc0000000
push 0xc0000000
push 0x15
push 0xfc
push ebx
push 2
call fcn.0041f8f0
mov edi, 0x15
lea ecx, [ecx]
push 0x2b
push pe_nt_image_headers32
push 0x26
push ebx
lea eax, [esp + 0x2c]
push eax
call ebp
mov ecx, dword [0x6a09fc]
push ebx
push 2
call fcn.004d6b60
push eax
push edi
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0041f9b0
add edi, 5
cmp edi, 0x11e
jl 0x4894f0
push 0x34
mov edi, pe_nt_image_headers32
push edi
push 0x2a
push ebx
lea edx, [esp + 0x2c]
push edx
call ebp
mov ecx, dword [0x6a09fc]
push ebx
push 2
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 0x11e
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.0041f9b0
mov ecx, dword [esp + 0x10]
push 1
push 0xc0000000
push 0xffb99e6b
push 1
push 0xfc
push 0x15
push 2
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0xc0000000
push 0xffb99e6b
push 0xb4
push 0x90
push 0x2a
push 0x18
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0xc0000000
push 0xffb99e6b
push 0x20
push 0x31
push 0x2a
push 0xb5
call fcn.0041f8f0
push 0x60
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x34], 3
je 0x4895e5
mov ecx, eax
call fcn.0049ec40
mov ebp, eax
jmp 0x4895e7
xor ebp, ebp
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
mov byte [esp + 0x38], 1
call fcn.0049f010
mov ecx, dword [0x6a07e4]
push ebp
call fcn.004a0440
push ebp
mov ecx, esi
call fcn.0046a740
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x48961e
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x48], edi
je 0x489631
mov eax, dword [esi]
push esi
mov ecx, esi
mov dword [esi + 0x48], edi
call dword [eax + 0xc0]
mov ecx, dword [esi + 0x4c]
mov eax, 0x109
cmp ecx, eax
je 0x48964b
mov edx, dword [esi]
push esi
mov ecx, esi
mov dword [esi + 0x4c], eax
call dword [edx + 0xc0]
call fcn.0042d3e0
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2c], eax
call fcn.0042d3e0
mov eax, dword [eax + 0x10]
sub eax, dword [esi + 0x4c]
cdq
sub eax, edx
sar eax, 1
push 1
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0046a700
mov ecx, esi
call fcn.004889a0
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [0x6a07c4], esi
mov dword [esi + 0x174], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret