Function at 0x401bea
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x200
je 0x401e9f
cmp dword [ebp - 0x74], 0x200
ja 0x401c20
cmp dword [ebp - 0x74], 2
je 0x401c3f
cmp dword [ebp - 0x74], 0xf
je 0x401c53
jmp 0x4038b1
cmp dword [ebp - 0x74], 0x201
je 0x402d17
cmp dword [ebp - 0x74], 0x202
je 0x403687
jmp 0x4038b1
mov dword [esp], 0
call sub.USER32.dll_PostQuitMessage
sub esp, 4
jmp 0x4038d9
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_BeginPaint
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_EndPaint
sub esp, 8
jmp 0x4038d9
movzx eax, word [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
sar eax, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [0x405070]
cmp eax, dword [ebp - 0x5c]
jae 0x402ae1
mov eax, dword [0x405070]
add eax, 0x96
cmp eax, dword [ebp - 0x5c]
jbe 0x402ae1
cmp dword [ebp + 0x10], 1
je 0x402ae1
mov eax, dword [0x405074]
cmp eax, dword [ebp - 0x60]
jae 0x40214d
mov eax, dword [0x405074]
add eax, 0x20
cmp eax, dword [ebp - 0x60]
jbe 0x40214d
cmp dword [0x407210], 0
jne 0x401f21
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d0
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov dword [0x407210], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407220]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov eax, dword [0x405074]
add eax, 0x32
cmp eax, dword [ebp - 0x60]
jae 0x4023c3
mov eax, dword [0x405074]
add eax, 0x52
cmp eax, dword [ebp - 0x60]
jbe 0x4023c3
cmp dword [0x407210], 0
jne 0x402197
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d0
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov dword [0x407210], 2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40722c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov eax, dword [0x405074]
add eax, 0x64
cmp eax, dword [ebp - 0x60]
jae 0x40263b
mov eax, dword [0x405074]
add eax, 0x84
cmp eax, dword [ebp - 0x60]
jbe 0x40263b
cmp dword [0x407210], 0
jne 0x40240f
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d0
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov dword [0x407210], 3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407238]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov eax, dword [0x405074]
add eax, 0x96
cmp eax, dword [ebp - 0x60]
jae 0x4028b5
mov eax, dword [0x405074]
add eax, 0xb6
cmp eax, dword [ebp - 0x60]
jbe 0x4028b5
cmp dword [0x407210], 0
jne 0x402689
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d0
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov dword [0x407210], 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407244]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov dword [0x407210], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
cmp dword [ebp + 0x10], 1
je 0x4038d9
mov dword [0x407210], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov eax, dword [0x407210]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
je 0x402f94
cmp dword [ebp - 0x6c], 2
jg 0x402d3a
cmp dword [ebp - 0x6c], 1
je 0x402d53
jmp 0x403657
cmp dword [ebp - 0x6c], 3
je 0x4031d5
cmp dword [ebp - 0x6c], 4
je 0x403416
jmp 0x403657
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d1
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407218]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d1
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407224]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d1
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407230]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407240]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
mov dword [esp + 8], 0x40045
mov dword [esp + 4], 0
mov dword [esp], 0x7d1
call sub.WINMM.DLL_PlaySoundA
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40726c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40721c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407228]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x32
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407234]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x64
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x40723c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x96
mov eax, dword [0x405074]
add eax, 0x96
mov dword [esp + 8], eax
mov eax, dword [0x405070]
mov dword [esp + 4], eax
mov eax, dword [0x407270]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x407270]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f4
mov dword [esp + 0xc], 0x2e1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
jmp 0x4038d9
call sub.USER32.dll_ReleaseCapture
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0xa1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
jmp 0x4038d9
mov eax, dword [0x407210]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
je 0x403763
cmp dword [ebp - 0x70], 2
jg 0x4036aa
cmp dword [ebp - 0x70], 1
je 0x4036c3
jmp 0x4038d9
cmp dword [ebp - 0x70], 3
je 0x403803
cmp dword [ebp - 0x70], 4
je 0x4038a0
jmp 0x4038d9
mov dword [esp + 4], 2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0x407010
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
mov byte [0x407013], 0
mov dword [esp + 4], 0x405012
mov dword [esp], 0x407010
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x407010
mov dword [esp + 8], sym._CreateThread_void_
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
jmp 0x4038d9
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0x407010
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
mov byte [0x407013], 0
mov dword [esp + 4], 0x405028
mov dword [esp], 0x407010
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
mov dword [esp + 4], 2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x407010
mov dword [esp + 8], sym._CreateThread_void_
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
jmp 0x4038d9
mov dword [esp + 4], 2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0x407010
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
mov byte [0x407013], 0
mov dword [esp + 4], str.langdian_setup_setup.exe
mov dword [esp], 0x407010
call sub.KERNEL32.dll_lstrcatA
sub esp, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x407010
mov dword [esp + 8], sym._CreateThread_void_
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
jmp 0x4038d9
mov dword [esp], 0
call sub.USER32.dll_PostQuitMessage
sub esp, 4
jmp 0x4038d9
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_DefWindowProcA
sub esp, 0x10
mov dword [ebp - 0x68], eax
jmp 0x4038e0
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
leave
ret 0x10