Function at 0x423a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb0f4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], ebx
mov dword [edi], ebx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x18]
mov ebp, 1
push eax
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.00406bd0
mov dword [esp + 0x24], ebp
mov eax, dword [eax]
push 0x4f6d9c
push eax
call fcn.004c9c08
add esp, 8
cmp eax, ebx
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
sete byte [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423af2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x30], bl
je 0x423b94
call fcn.00412cf0
push eax
call fcn.00413030
mov ebp, eax
cmp ebp, ebx
je 0x423b7c
push 0x30
call fcn.004c99ad
add esp, 4
cmp eax, ebx
je 0x423b46
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax], vtable.CSomImageWnd.0
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov esi, eax
jmp 0x423b48
xor esi, esi
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x20]
mov eax, 3
call fcn.004246c0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebp
call fcn.00424710
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
je 0x423b76
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push ebx
push ebx
push ebx
push esi
call eax
mov dword [edi + 0xc], esi
mov dword [edi + 8], ebx
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00406bd0
mov dword [esp + 0x24], 2
mov eax, dword [eax]
push str.SetList
push eax
call fcn.004c9c08
add esp, 8
cmp eax, ebx
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
sete byte [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423be3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x30], bl
je 0x423b7c
push pe_nt_image_headers32
call fcn.004c99ad
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 3
cmp eax, ebx
je 0x423c10
push eax
call fcn.00423850
mov ebp, eax
jmp 0x423c12
xor ebp, ebp
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x28], bl
mov eax, esp
mov dword [esp + 0x34], esp
push ecx
mov dword [eax], ecx
mov ecx, esp
mov dword [ecx], ebx
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x38], esp
xor eax, eax
push ecx
lea edi, [ebp + 4]
call fcn.00424630
mov eax, dword [ebp + 8]
push 0x20
push 0x20
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x4000
cmp eax, ecx
je 0x423c76
mov edx, dword [ebp + 8]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
fld1
push ecx
mov eax, 0x17b
fstp dword [esp]
mov esi, ebp
call fcn.004245b0
mov eax, dword [esp + 0x38]
mov esi, str.BtnBg
call fcn.00472da0
cmp eax, ebx
je 0x423cc1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x3c]
push str.block
sub ecx, 0xffffff80
push eax
push ecx
mov ecx, str.img_src
call fcn.00451eb0
mov dword [ebp + 0xf4], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], ebp
mov dword [eax + 8], ebx
jmp 0x423b7e