Function at 0x4046da
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x63e53e
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
lea eax, [esp + 0x10]
push eax
push 0x26
mov dword [esi], 0x64f560
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov ecx, dword [0x6a09fc]
push 0x122
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebx
call fcn.004d67c0
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0041ef50
mov edi, dword [sym.imp.user32.dll_SetRect]
push 0x26
push pe_nt_image_headers32
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3b
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ebx
lea edx, [esp + 0x2c]
push edx
call fcn.0041f9b0
push 0x4c
push 0x22
push 0x26
push ebx
lea eax, [esp + 0x2c]
push eax
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3b
call fcn.004d6b60
push eax
push ebx
push pe_nt_image_headers32
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0041f9b0
push 0x60
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x34], 1
je 0x4047f4
mov ecx, eax
call fcn.0049ec40
mov ebp, eax
jmp 0x4047f6
xor ebp, ebp
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebp
mov byte [esp + 0x38], bl
call fcn.0049f010
mov ecx, dword [0x6a07e4]
push ebp
call fcn.004a0440
push ebp
mov ecx, esi
call fcn.0046a730
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x40482c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x6a09fc]
push 0xeb
push 0x122
call fcn.004d67c0
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0041ef50
xor ebp, ebp
push 0x51
push pe_nt_image_headers32
push 0x4c
push ebx
lea edx, [esp + 0x2c]
push edx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3b
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push ebp
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.0041f9b0
push 0x2b
push 0x44
push 0x26
push 0x22
lea ecx, [esp + 0x2c]
push ecx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3b
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push ebp
push pe_nt_image_headers32
lea edx, [esp + 0x2c]
push edx
call fcn.0041f9b0
add ebp, 5
cmp ebp, 0xe1
jl 0x404852
push 0x75
push 0xd5
push 0x61
push 0xbc
lea eax, [esp + 0x2c]
push eax
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 2
call fcn.004d6b60
push eax
push 0x1e
push 0x5f
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0041f9b0
push 0x5b
push pe_nt_image_headers32
push 0x51
push ebx
lea edx, [esp + 0x2c]
push edx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3b
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 0xe1
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.0041f9b0
push 0x30
push 0x66
push 0x26
push 0x44
lea ecx, [esp + 0x2c]
push ecx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3b
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 0xe1
push pe_nt_image_headers32
lea edx, [esp + 0x2c]
push edx
call fcn.0041f9b0
mov ecx, dword [esp + 0x10]
push 1
push 0x80000000
push 0xffb99e6b
push 0xbe
push 0x51
push 6
push 7
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0x80000000
push 0xff6e6857
push 1
push 0x48
push 0x1e
push 0xc
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0x80000000
push 0xff6e6857
push 0x14
push 0x51
push 6
push 0x5f
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0x80000000
push 0xffb99e6b
push 0x14
push 0x85
push 0x1e
push 0x73
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0x80000000
push 0xff6e6857
push 0x14
push 0x9d
push 0x50
push 0x5f
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0x80000000
push 0xff6e6857
push 0x14
push 0x9d
push 0x81
push 0x5f
call fcn.0041f8f0
mov ecx, dword [esp + 0x10]
push 1
push 0x80000000
push 0xff6e6857
push 0x14
push 0x9d
push 0xb1
push 0x5f
call fcn.0041f8f0
push 0x60
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x34], 2
je 0x404a61
mov ecx, eax
call fcn.0049ec40
mov edi, eax
jmp 0x404a63
xor edi, edi
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x38], bl
call fcn.0049f010
mov ecx, dword [0x6a07e4]
push edi
call fcn.004a0440
push edi
mov ecx, esi
call fcn.0046a740
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x404a99
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x10], ebx
mov ecx, esi
call fcn.00403db0
mov ecx, dword [esi + 0x48]
mov eax, 0x122
cmp ecx, eax
je 0x404aba
mov dword [esi + 0x48], eax
mov eax, dword [esi]
push esi
mov ecx, esi
call dword [eax + 0xc0]
mov ecx, dword [esi + 0x4c]
mov eax, 0xf0
cmp ecx, eax
je 0x404ad4
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
sub eax, 0x32
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
sub eax, 0x32
push 5
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0046a700
mov ecx, dword [esp + 0x2c]
mov dword [0x69e740], esi
mov byte [esi + 0x180], bl
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
or eax, 0xffffffff
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], eax
mov word [esi + 0x194], ax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret