Function at 0x402190
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4c
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0x401df0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], esi
call edi
push 0x7f00
push 0
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x7f00
push 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], str.SvmToy
call edi
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push esi
push 0
push 0
push 0x228
push 0x1f4
push 0x80000000
push 0x80000000
push 0xcf0000
push str.SVM_Toy
push str.SvmToy
push 0
call edi
mov ecx, dword [esp + 0x64]
push ecx
push eax
mov dword [0x4214e0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4214e0]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4214e0]
push 0
push esi
push 0
push eax
push 0x19
push 0x32
push 0x1f4
push 0
push 0x50000000
push str.Change
push str.button
push 0
call edi
mov ecx, dword [0x4214e0]
push 0
push esi
push 1
push ecx
push 0x19
push 0x32
push 0x1f4
push 0x32
push 0x50000000
push 0x41b2b8
push str.button
push 0
call edi
push 0
mov edx, dword [0x4214e0]
push esi
push 2
push edx
push 0x19
push 0x32
push 0x1f4
push 0x64
push 0x50000000
push str.Clear
push str.button
push 0
call edi
mov eax, dword [0x4214e0]
push 0
push esi
push 4
push eax
push 0x19
push 0x32
push 0x1f4
push 0x96
push 0x50000000
push str.Save
push str.button
push 0
call edi
mov ecx, dword [0x4214e0]
push 0
push esi
push 3
push ecx
push 0x19
push 0x32
push 0x1f4
push 0xc8
push 0x50000000
push str.Load
push str.button
push 0
call edi
mov edx, dword [0x4214e0]
push 0
push esi
push 5
push edx
push 0x19
push 0xfa
push 0x1f4
push 0xfa
push 0x50000000
push 0
push str.edit
push 0
call edi
push str._t_2__c_100
push eax
mov dword [0x4214e4], eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x420010]
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call esi
mov ecx, dword [0x420014]
push ecx
mov dword [0x4214f0], eax
call esi
mov edx, dword [0x420018]
push edx
mov dword [0x4214ec], eax
call esi
mov dword [0x4214f8], eax
mov eax, dword [0x4214e0]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0x1f4
push 0x1f4
push eax
mov dword [0x4214f4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x4214fc], eax
mov ecx, dword [0x4214f4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [0x4214fc]
push edx
push eax
mov dword [0x4214e8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x4214e8]
push 0x42
push 0x1f4
push 0x1f4
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x402460
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebp
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x402440
pop ebp
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x4c
ret 0x10