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

Disassembly:
push 0xffffffffffffffff
push 0x4b7e88
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push esi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
lea esi, [esp + 0x34]
mov dword [esp + 0x18], ebx
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
call fcn.0044a0f0
mov dword [esp + 0x164], ebx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
sub edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
push 1
push ecx
sub eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov ecx, 0x4c2200
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.00407450
push ecx
mov byte [esp + 0x170], 1
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, 0x4c21f4
call fcn.00407450
mov ecx, esi
mov byte [esp + 0x170], bl
call fcn.0044a9e0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x4c]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x47
push ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x144], ebx
call eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, 0x4cb928
call fcn.00407450
push ecx
mov byte [esp + 0x170], 2
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, str.margin_left
call fcn.00407450
mov ecx, esi
mov byte [esp + 0x170], bl
call fcn.0044a9e0
push 1
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, 0x4cb92c
call fcn.00407450
mov byte [esp + 0x16c], 3
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, str.margin_right
call fcn.00407450
mov ecx, esi
mov byte [esp + 0x170], bl
call fcn.0044a9e0
push 1
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, 0x4cb928
call fcn.00407450
push ecx
mov byte [esp + 0x170], 4
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.margin_top
call fcn.00407450
mov ecx, esi
mov byte [esp + 0x170], bl
call fcn.0044a9e0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, 0x4cb92c
call fcn.00407450
push ecx
mov byte [esp + 0x170], 5
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, str.margin_bottom
call fcn.00407450
mov ecx, esi
mov byte [esp + 0x170], bl
call fcn.0044a9e0
push 1
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.mainwnd_shadow
call fcn.00407450
push ecx
mov ecx, esp
mov byte [esp + 0x170], 6
mov dword [esp + 0x1c], esp
push ecx
mov ecx, str.skin
call fcn.00407450
mov ecx, esi
mov byte [esp + 0x170], bl
call fcn.0044a9e0
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x38]
push ebx
push eax
mov eax, dword [edx + 0x4c]
push 0xf
push ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x144], ebx
call eax
mov dword [esp + 0x164], 7
mov eax, dword [esp + 0x150]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e3bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x164], 0xffffffff
call fcn.00436cb0
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x15c
ret 4