Function at 0x40a220
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1430
call fcn.00428ae0
mov eax, dword [0x4a90d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
call fcn.0041ad70
mov ecx, esi
call fcn.0041aff0
mov ecx, esi
mov ebx, eax
call fcn.00409c90
test eax, eax
je 0x40a2b4
push 0x1000
lea eax, [ebp - 0x140c]
push 0
push eax
call fcn.0042e960
add esp, 0xc
lea eax, [ebp - 0x140c]
push 0x800
push eax
push 0x81
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x47e558
lea eax, [ebp - 0x140c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a63
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1430]
mov dword [ebp - 0x1430], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x40a2de
mov dword [ebp - 0x1430], eax
jmp 0x40a335
cmp dword [ebp - 0x1430], 0
je 0x40a335
push 0x200
lea eax, [ebp - 0x80c]
push eax
push 0x4f
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a335
push 0x80
lea eax, [ebp - 0x304]
push eax
push 0x50
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a335
push 0x40
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x1e
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
mov ecx, esi
call fcn.00407d40
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1e
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0xfffffffffffffff2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
push 0x1e
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0xffffffffffffffde
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
test edi, edi
je 0x40a3fe
push 0x104
lea eax, [ebp - 0x40c]
push eax
push 0x4c
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0
push 0
push 0x800
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
lea eax, [ebp - 0x40c]
push eax
push 0x3f0
push 0
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x104
lea eax, [ebp - 0x40c]
push eax
push 0x5d
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x40c]
push eax
push 0x3f1
push 0
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, esi
call fcn.00407d40
mov edi, eax
lea eax, [ebp - 0x141c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x1410]
lea eax, [ebp - 0x142c]
sub ecx, dword [ebp - 0x1418]
mov dword [esi + 0x574], ecx
mov ecx, dword [ebp - 0x1414]
sub ecx, dword [ebp - 0x141c]
push eax
mov dword [esi + 0x57c], ecx
mov ecx, esi
push 0x3fe
call fcn.00407d40
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1420]
sub eax, dword [ebp - 0x1418]
push 0
push 0xa
mov dword [esi + 0x578], eax
mov eax, dword [ebp - 0x1414]
sub eax, dword [ebp - 0x1424]
push 0xc5
push 0x3fa
push edi
mov dword [esi + 0x580], eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0x104
push 0xc5
push 0x416
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0x104
push 0xc5
push 0x3f3
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, esi
call fcn.0040b0b0
mov ecx, esi
call fcn.0040ab80
push 0
push 0
push 0x8504
mov ecx, esi
call fcn.00407d40
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x3d
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a51d
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x412
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x3e
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a552
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x412
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x3f
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a587
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x412
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x40
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a5bc
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x412
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push dword [esi + 0x4b4]
push 0x14e
push 0x412
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x419
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a60d
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x41a
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a645
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x41b
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a67d
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x41c
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a6b5
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x420
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a6ed
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x421
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a725
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x422
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40a75d
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14a
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push dword [esi + 0x4b8]
push 0x14e
push 0x418
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, esi
call fcn.0040b290
call fcn.00414150
pop edi
test eax, eax
jne 0x40a7a2
push eax
push 0x418
mov ecx, esi
call fcn.00407d40
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.0041af80
cmp dword [esi + 0x250], 0
jne 0x40a7c0
push 5
mov ecx, esi
call fcn.00407d40
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00428a63
mov esp, ebp
pop ebp
ret