Function at 0x401b0e
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9b4
mov eax, dword [0x432008]
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 0x433d48
push 0
mov edi, 0xfde9
mov ebx, ecx
push edi
call esi
push 0x258
lea eax, [esp + 0x5c]
push eax
push 0xffffffffffffffff
push 0x433fa0
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 0x401bb5
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 [0x4336f8], 0
je 0x401c01
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]
mov esi, eax
xor eax, eax
push eax
push eax
push 0x31
push dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], eax
call edi
test eax, eax
je 0x401c3e
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
push 0x520
lea eax, [esp + 0x4c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x401da3
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x38]
xor eax, eax
sub edx, dword [esp + 0x40]
sub edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x4c]
add edx, dword [esp + 0x50]
cmovns eax, edx
mov dword [esp + 0x14], eax
xor eax, eax
add ecx, dword [esp + 0x54]
cmovns eax, ecx
mov dword [esp + 0x1c], eax
xor eax, eax
test edx, edx
cmovns eax, edx
test eax, eax
jg 0x401cba
xor eax, eax
test ecx, ecx
cmovns eax, ecx
test eax, eax
jle 0x401da3
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x28]
push eax
push ebx
call esi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x2c]
add eax, dword [esp + 0x34]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 6
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
push eax
xor eax, eax
push eax
push eax
push eax
push ebx
call edi
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x10]
call esi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x2c]
add eax, dword [esp + 0x34]
push 6
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
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 + 0x1c]
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
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 + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
xor edx, edx
add eax, dword [esp + 0x1c]
push 5
push edx
push edx
push eax
push dword [esp + 0x24]
push edx
push esi
call edi
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401db3
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebx
call fcn.00401a60
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.0040b844
mov esp, ebp
pop ebp
ret