Function at 0x401a2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9b4
mov eax, dword [0x42e440]
xor eax, esp
mov dword [esp + 0x9b0], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x504]
push edi
push 0x258
push eax
push 0xffffffffffffffff
push 0x430750
push 0
mov ebx, ecx
mov edi, 0xfde9
push edi
mov dword [esp + 0x2c], ebx
call esi
push 0x258
lea eax, [esp + 0x5c]
push eax
push 0xffffffffffffffff
push 0x4309a8
push 0
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x508]
push eax
push ebx
call esi
lea eax, [esp + 0x58]
push eax
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0x3eb
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x401ad7
push eax
push 1
push 0x80
push ebx
call edi
push 0x3e8
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x640000
push 0
mov esi, eax
push 0x401
push esi
mov dword [esp + 0x20], esi
call edi
cmp dword [0x43052c], 0
je 0x401b23
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x32
push 1
push 0x40a
push esi
call edi
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x30], esi
call edi
test eax, eax
je 0x401b5a
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x401b5e
mov eax, dword [esp + 0x20]
push 0x520
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
je 0x401cb8
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
sub ebx, dword [esp + 0x54]
sub edi, dword [esp + 0x38]
sub ebx, dword [esp + 0x3c]
add edi, dword [esp + 0x40]
add ebx, dword [esp + 0x44]
mov dword [esp + 0x18], edi
test edi, edi
jns 0x401bbf
xor edi, edi
mov dword [esp + 0x18], edi
test ebx, ebx
jns 0x401bc5
xor ebx, ebx
test edi, edi
jg 0x401bd1
test ebx, ebx
jle 0x401cb4
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
call esi
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 6
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
add eax, edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x2c]
call edi
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x10]
call esi
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 6
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x20]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x14]
call esi
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 6
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x20]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x28]
call edi
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x14]
call esi
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push 5
push ecx
push ecx
add eax, ebx
push eax
push dword [esp + 0x28]
push ecx
push esi
call edi
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x401cc8
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebx
call fcn.0040197e
push 0
push 0x64
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x9bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040bd82
mov esp, ebp
pop ebp
ret