Function at 0x40256b
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
xor ebx, edx
push 0xef65b716
push 0x756453
lea ecx, [ebp - 0x164]
push ecx
push 0
call sub.USER32.DLL_GetMessageW
adc edi, 0x4a
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
xor edi, 0x4d
or edi, ebx
xor eax, ecx
neg edi
sbb esi, 0x586a6c6b
pop ecx
pop ebx
sub esi, 0x6d32
add ebx, esi
pop esi
lea ecx, [ebp - 0x1e0]
push ecx
push dword [ebp - 0x88]
push ebx
lea ecx, [ebp - 0x130]
push ecx
push dword [ebp - 0x1a4]
push 0xeaee5219
call sub.GDI32.DLL_PatBlt
mov ebx, edi
xor ecx, eax
push 0x35634345
push dword [ebp - 0xe4]
push 0xeb0c2188
call sub.GDI32.DLL_CreateCompatibleBitmap
dec edi
push esi
push dword [ebp - 0x1c8]
push 0
lea ecx, [ebp - 0x17c]
push ecx
push dword [ebp - 0xc8]
push 0xc07e0ada
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_FormatMessageW
add edi, 0x49
sbb ebx, eax
push 0xe9644278
push dword [ebp - 0x1f8]
push ebx
push 0
call sub.USER32.DLL_GetMessageW
neg edi
dec edi
call sub.KERNEL32.DLL_GetCurrentProcessId
xor edi, eax
sbb ebx, 0x45
lea edx, [ebp - 0x6c]
push edx
push 0x8c3407d5
call sub.GDI32.DLL_SetTextColor
neg edi
push 0x58
push 0x51
push 0x4a78
push eax
push 0x797761
push 0x64
push 0x624671
lea edx, [ebp - 0x104]
push edx
push 0xc0035abd
call sub.GDI32.DLL_SetTextColor
or ebx, 0x43
sbb ecx, edi
push 0x75775635
lea eax, [ebp - 0x3c]
push eax
push 0xb02aa5b4
call sub.GDI32.DLL_CreateCompatibleBitmap
sub ebx, ecx
lea ecx, [ebp - 0x9c]
push ecx
push 0x8a6a9c03
call sub.GDI32.DLL_GetTextMetricsW
neg ecx
sbb ecx, edi
pop ebx
and ecx, edx
pop edx
adc edi, 0x434d
pop esi
adc esi, ebx
dec edx
pop ebx
adc eax, ecx
not ecx
pop edi
add ecx, esi
or eax, 0x74
pop esi
pop esi
call sub.KERNEL32.DLL_GetProcessHeap
xor edi, ecx
mov ecx, 0x4757
push 0x32
push dword [ebp - 0x1b4]
push 0x475646
push 0x83e08d15
call sub.USER32.DLL_SendMessageW
and edi, 0x61
push 0x7254
push edi
push 0x9c71a925
call sub.KERNEL32.DLL_VirtualFree
not ecx
sbb ebx, 0x53
leave
inc ecx
jmp 0x4028c9
lea ecx, [ebp - 0x94]
push ecx
call fcn.00401456
or ebx, eax
push 0x947b4b39
call sub.GDI32.DLL_DeleteObject
push 0x33
lea eax, [ebp - 0xcc]
push eax
push 0x506676
push 0x32793754
call fcn.00402769
or ecx, 0x6636
mov ebx, edi
push 0xe67bcdb2
push 0x6b42
push 0x84c110fb
push 0x91fadd60
call sub.USER32.DLL_SetTimer
adc ebx, 0x4276
push 0x31347134
push 0x4673
push 0x376f38
mov ebx, 0x5379
adc ecx, edi
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
and edi, 0x55
push edx
lea ecx, [ebp - 0x1a8]
push ecx
lea eax, [ebp - 0x19c]
push eax
push 0x45546b
lea edx, [ebp - 0x1cc]
push edx
push 0x800a0739
call sub.GDI32.DLL_PatBlt
or ebx, eax
adc edi, 0x6554
push ebx
lea eax, [ebp - 0x1bc]
push eax
push 0xaa1b88f7
call sub.GDI32.DLL_CreateCompatibleBitmap
add ecx, esi
push 0x77
push 0xcc1f9942
call sub.GDI32.DLL_SetTextColor
or ecx, edi
not ecx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
and ebx, ecx
push 0xf86049a9
call sub.USER32.DLL_GetDC
sbb ecx, esi
neg ecx
push 0xbdb452c8
call sub.USER32.DLL_DestroyWindow
sbb ecx, esi
push 0x6b31
lea ecx, [ebp - 0xf0]
push ecx
push 0xfe308de2
call sub.GDI32.DLL_LineTo
and ebx, esi
not edi
push esi
push 0xc48eb711
call sub.GDI32.DLL_SetTextColor
not edi
add ebx, 0x35
call sub.KERNEL32.DLL_GetCurrentProcessId
neg ecx
call sub.KERNEL32.DLL_GetCommandLineA
xor edi, 0x67
sub edi, eax
push esi
push 0
call sub.USER32.DLL_ShowWindow
adc ecx, 0x70
push ecx
push 0x6545
push 0x9364c707
call sub.GDI32.DLL_GetObjectW
dec ebx
sbb ebx, ecx
push 0x34
push 0xd0885f49
push 0x32
push 0x6a38
push dword [ebp - 0x68]
push dword [ebp - 0x12c]
push dword [ebp - 0xc8]
push dword [ebp - 0x54]
push ecx
push 0
push 0
push ebx
call sub.USER32.DLL_CreateWindowExW
add ecx, esi
adc ecx, 0x6c
push 0xc59c469b
call sub.KERNEL32.DLL_SetUnhandledExceptionFilter
mov edi, 0x4441
or ebx, esi
lea eax, [ebp - 0x1c]
push eax
push 0x4f4d
push 0xc0b2af8a
push dword [ebp - 0x1c]
call sub.KERNEL32.DLL_VirtualAlloc
add edi, 0x416f
push 0xc6dcfcd7
call sub.KERNEL32.DLL_SetEvent
inc edi
lea edx, [ebp - 0xa4]
push edx
push 0xdf7a8639
call sub.USER32.DLL_GetWindowRect
mov ecx, edi
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
add ecx, esi
call sub.KERNEL32.DLL_GetACP
sbb ebx, ecx
jmp 0x40188f
sub ebx, 0x66
lea ecx, [ebp - 0x28]
push ecx
push 0x4d
push 0
lea ecx, [ebp - 0xfc]
push ecx
push 0x5674
push 0xb7266331
lea eax, [ebp - 0x1a0]
push eax
call sub.KERNEL32.DLL_FormatMessageW
lea edx, [ebp - 0x1f0]
push edx
push ebx
push eax
lea edx, [ebp - 0xc0]
push edx
call fcn.00401d6d
and ebx, 0x6a
xor ebx, 0x4e
call fcn.00401cb7
xor edi, 0x4271
add ecx, 0x6d4f
call fcn.00401c63
dec edi
add ebx, 0x4576
push 0xce8716d9
call sub.GDI32.DLL_DeleteObject
inc ecx
add ecx, ebx
push 0xd8c8d676
push 0x476b72
push ecx
push 0
call sub.USER32.DLL_GetMessageW
sbb ebx, 0x474d
not edi
push dword [ebp - 0x158]
push 0x88f94549
call sub.USER32.DLL_GetDlgItem
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x200]
push 0x464153
call fcn.00401c2f
xor ecx, 0x41714b
sbb ebx, ecx
push eax
lea edx, [ebp - 0x5c]
push edx
push dword [ebp - 0x1bc]
push dword [ebp - 0x13c]
push ecx
push 0x81aec03e
call sub.GDI32.DLL_PatBlt
xor ecx, ebx
call fcn.004016a4
sbb edi, 0x3466
call sub.KERNEL32.DLL_GetACP
dec ebx
push 1
call sub.GDI32.DLL_GetStockObject
and ecx, edx
inc ecx
lea ecx, [ebp - 0x19c]
push ecx
push 0x31
push 0x49
push 0x4769
push ecx
push 0x84a7d291
call sub.GDI32.DLL_PatBlt
neg edi
or edi, 0x6652
push 0xb5d10d26
call sub.GDI32.DLL_CreateCompatibleDC
push 0x56
lea ecx, [ebp - 0x1f4]
push ecx
push dword [ebp - 0x1d8]
push edi
call fcn.00402079
and ecx, esi
lea eax, [ebp - 0x1c4]
push eax
push 0x58
push dword [ebp - 0x24]
push 0xc89b3539
call sub.USER32.DLL_SendMessageW
xor edi, 0x4a
push 0xf96d30eb
call sub.KERNEL32.DLL_QueryPerformanceCounter
push eax
push 0x6356
push edx
push ebx
call fcn.00401f43
sub ecx, edx
push ebx
push 0xd198df7e
call sub.USER32.DLL_GetDlgItem
push ebx
push dword [ebp - 0x54]
push 0x543344
push ebx
call fcn.0040244a
inc ebx
call fcn.004023ae
and ebx, 0x596872
call fcn.00402342
and ecx, 0x41
or ebx, 0x67
push 0x893ff88c
call sub.GDI32.DLL_DeleteDC
push dword [ebp - 0xd0]
push 0x37686c47
push 0x6676
lea ecx, [ebp - 0x1e0]
push ecx
call fcn.004022f6
and ecx, 0x4d41
sub ecx, esi
push 0xe346abde
push 0x4f
push dword [ebp - 0x2c]
push 0
call sub.USER32.DLL_GetMessageW
adc ecx, edx
sbb ecx, 0x646b7379
call sub.KERNEL32.DLL_GetProcessHeap
push dword [ebp - 4]
push dword [ebp - 0x90]
push 0x496e7054
jmp 0x401a17
sub ecx, 0x59476337
inc ebx
push 0x444156
xor ecx, eax
and ebx, 0x3837
push 0x597432
and ecx, 0x73
push 0x5967
adc ecx, 0x4e
push 0xc97add83
sub ecx, 0x594a
or edi, ebx
call sub.USER32.DLL_PostMessageA
or eax, 2
xor eax, 2
je 0x4025ad
push dword [ebp + 8]
ret
push ebp
mov ebp, esp
add esp, 0xffffff34
test dword [ebp - 0x18], 0x1000
jne 0x4025c4
neg dword [ebp - 0x24]
jmp 0x402631
cmp ecx, 0x4462
je 0x4025d3
call fcn.00402517
jmp 0x402631
cmp dword [ebp - 0x28], 0x4e42
je 0x4025e1
neg dword [ebp - 0xc]
jmp 0x402631
cmp dword [ebp - 0xc], 0x4a5158
jne 0x4025f1
call fcn.00401349
jmp 0x402631
cmp ecx, 0
jne 0x402602
push 0x4b35
call fcn.004012f9
jmp 0x402631
test dword [ebp - 0x20], 0x8000
je 0x40261a
push 0x4d6c746d
call fcn.00401268
jmp 0x402631
test dword [ebp - 0x20], 0x40000
je 0x402631
adc dword [ebp - 0x14], eax
xor dword [ebp - 0x10], ebx
sbb dword [ebp - 0x18], 0x71
push esi
push 0x97840424
call sub.GDI32.DLL_GetDeviceCaps
mov ebx, esi
sbb edi, ecx
push 0xe352590f
push 0xbaa6ffd8
call sub.USER32.DLL_ReleaseDC
adc edi, ebx
dec ebx
push 0xb23228de
call sub.KERNEL32.DLL_SetEvent
push 0x59
push 0x4c413873
push 0x525755
push dword [ebp - 0x28]
call fcn.004011ed
adc ebx, edi
call fcn.00401dc4
mov edi, ecx
push 0xc54ecf87
call sub.GDI32.DLL_DeleteDC
inc ecx
jmp 0x4020b8
call fcn.004066ce
fstp st(5)
fstp st(5)
fstpnce st(1), st(0)
fstpnce st(5), st(0)
fstpnce st(5), st(0)
fstpnce st(1), st(0)
fstp st(1)
fstp st(1)
fstp st(1)
fstp st(1)
fstpnce st(1), st(0)
fstp st(1)
fstpnce st(1), st(0)
fstpnce st(5), st(0)
fstpnce st(1), st(0)
fstpnce st(1), st(0)
fstpnce st(1), st(0)
fstpnce st(5), st(0)
fstpnce st(5), st(0)
fstp st(5)
fstpnce st(5), st(0)
lodsd eax, dword [esi]
test dword [ebp - 0x4e], esp
jge 0x4028fb
mov dl, 0x7d
std
add al, 0x43
jmp 0xda1e06e2