Function at 0x560270
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
jmp 0x56092e
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 0x1c]
and ecx, 1
test ecx, ecx
je 0x560397
mov edx, dword [ebp - 0x18]
and edx, 0xffff
mov dword [ebp - 0x78], edx
jmp 0x56039e
mov dword [ebp - 0x78], 0xa
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x14], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
mov word [0x56ae10], 0
mov word [0x56ab08], 0
cmp dword [ebp + 0xc], 0
jne 0x5603f0
mov ecx, dword [ebp + 8]
call fcn.005614d0
test eax, eax
jne 0x5603f0
xor eax, eax
jmp 0x560933
push 0x104
push 0x56ac7c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x56040f
xor eax, eax
jmp 0x560933
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.00561530
test eax, eax
jne 0x560439
push 0
push 0x56ab7c
push 0x5672d8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x560933
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp + 0x10]
mov dword [0x56ac1c], eax
call fcn.00563310
test eax, eax
je 0x56057d
mov word [0x56ae10], 1
mov dword [0x56adf8], 1
mov ecx, dword [0x56ae14]
and ecx, 3
test ecx, ecx
jne 0x560491
mov edx, dword [0x56ae14]
or edx, 3
mov dword [0x56ae14], edx
mov eax, dword [0x56ad80]
xor eax, 3
mov dword [0x56ad80], eax
mov ecx, dword [0x56ae14]
and ecx, 0x70
test ecx, ecx
jne 0x5604ba
mov edx, dword [0x56ae14]
or edx, 0x70
mov dword [0x56ae14], edx
mov eax, dword [0x56ad80]
xor eax, 0x70
mov dword [0x56ad80], eax
mov ecx, dword [0x56ae14]
and ecx, 0xa00
test ecx, ecx
jne 0x5604e8
mov edx, dword [0x56ae14]
or dh, 0xa
mov dword [0x56ae14], edx
mov eax, dword [0x56ad80]
xor eax, 0xa00
mov dword [0x56ad80], eax
mov ecx, dword [0x56ae14]
and ecx, 0xe000
test ecx, ecx
jne 0x560516
mov edx, dword [0x56ae14]
or dh, 0xe0
mov dword [0x56ae14], edx
mov eax, dword [0x56ad80]
xor eax, 0xe000
mov dword [0x56ad80], eax
mov ecx, dword [0x56ae14]
and ecx, 0x60000
test ecx, ecx
jne 0x560547
mov edx, dword [0x56ae14]
or edx, 0x60000
mov dword [0x56ae14], edx
mov eax, dword [0x56ad80]
xor eax, 0x60000
mov dword [0x56ad80], eax
mov ecx, dword [0x56ae14]
and ecx, 0x200000
test ecx, ecx
jne 0x560578
mov edx, dword [0x56ae14]
or edx, 0x200000
mov dword [0x56ae14], edx
mov eax, dword [0x56ad80]
xor eax, 0x200000
mov dword [0x56ad80], eax
jmp 0x560899
mov dword [0x56adf8], 0
mov ecx, 1
call fcn.005631b0
xor ecx, ecx
mov cx, word [0x56ab08]
and ecx, 0xc000
test ecx, ecx
jne 0x5605d1
xor edx, edx
mov dx, word [0x56ab08]
and edx, 0x1000
test edx, edx
je 0x5605d1
push 0
push 0x8003
push 0x111
mov eax, dword [0x56ac38]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x5605d6
call fcn.00560ca0
cmp dword [0x567250], 0
je 0x5605f5
mov ecx, dword [ebp - 0x4c]
call fcn.005633e0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.005634a0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jne 0x560625
xor ecx, ecx
mov cx, word [0x56ae10]
test ecx, ecx
je 0x560625
xor edx, edx
mov dx, word [0x56abdf]
test edx, edx
je 0x560625
mov ax, word [0x56abdf]
sub ax, 1
mov word [0x56abdf], ax
xor ecx, ecx
mov cx, word [0x56ab08]
and ecx, 0xd000
test ecx, ecx
jne 0x560654
xor edx, edx
mov dx, word [0x56ab08]
and edx, 0x100
test edx, edx
je 0x560654
mov word [0x56ae10], 1
cmp dword [ebp - 0x4c], 1
jne 0x5607b5
xor eax, eax
mov ax, word [0x56ae10]
test eax, eax
je 0x5607b5
xor ecx, ecx
mov cx, word [0x56ae08]
and ecx, 2
test ecx, ecx
jne 0x560698
cmp dword [0x56ae00], 0
je 0x560698
mov dx, word [0x56ae08]
or dl, 2
mov word [0x56ae08], dx
cmp dword [0x56adf8], 0
jne 0x56073e
xor eax, eax
mov ax, word [0x56ae08]
and eax, 2
test eax, eax
je 0x56073e
call fcn.00563790
mov word [0x56ac34], ax
xor ecx, ecx
mov cx, word [0x56ac34]
test ecx, ecx
je 0x56073e
mov word [0x56ae10], 0
xor edx, edx
mov dx, word [0x56ac34]
cmp edx, 2
jne 0x560713
xor eax, eax
mov ax, word [0x56ae0a]
and eax, 0x2000
test eax, eax
je 0x560713
push 0x1010
push 0x56ab7c
mov ecx, dword [0x56ac10]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x56073e
xor edx, edx
mov dx, word [0x56ae0a]
and edx, 0x1000
test edx, edx
je 0x56073e
push 0x1010
push 0x56ab7c
mov eax, dword [0x56ac70]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
mov cx, word [0x56ae08]
and ecx, 1
test ecx, ecx
jne 0x5607b5
cmp dword [0x56adfc], 0
je 0x560780
movsx edx, word [0x56abf1]
test edx, edx
jl 0x560780
movsx eax, word [0x56abf1]
shl eax, 6
mov ecx, dword [0x56aafc]
xor edx, edx
mov dx, word [ecx + eax + 0x28]
and edx, 8
test edx, edx
jne 0x5607a4
cmp dword [0x56adfc], 0
je 0x5607b5
movsx eax, word [0x56abf1]
test eax, eax
jge 0x5607b5
xor ecx, ecx
mov cx, word [0x56aadc]
and ecx, 8
test ecx, ecx
je 0x5607b5
mov dx, word [0x56ae08]
or dl, 1
mov word [0x56ae08], dx
xor eax, eax
mov ax, word [0x56ae08]
test eax, eax
je 0x560899
cmp dword [ebp - 0x4c], 1
jne 0x560899
xor ecx, ecx
mov cx, word [0x56ae10]
test ecx, ecx
je 0x560899
mov edx, 0x56ac00
mov ecx, 0x56abe1
lea eax, [ebp - 0x74]
push eax
call fcn.005649c0
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x60], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x64]
mov dword [0x56abe1], eax
mov ecx, dword [ebp - 0x60]
mov dword [0x56abe5], ecx
mov edx, dword [ebp - 0x5c]
mov dword [0x56abe9], edx
mov eax, dword [ebp - 0x58]
mov dword [0x56abed], eax
call fcn.00562cb0
test eax, eax
jne 0x560844
mov edx, 0x5672d0
mov ecx, 0x5672b4
call fcn.00564450
mov ecx, dword [ebp + 0x10]
call fcn.005641c0
test eax, eax
je 0x560876
call fcn.00564140
mov dword [ebp - 0x4c], eax
push 0
push 0
push 0x10
mov ecx, dword [0x56ac38]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov word [0x56ae10], 0
jmp 0x560899
mov dword [ebp - 0x4c], 0
mov word [0x56ae10], 0
push 0
push 0
push 0x10
mov edx, dword [0x56ac38]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x50]
call fcn.005609c0
mov dword [ebp - 4], eax
push 0
push 0
push 0x10
mov eax, dword [0x56ac38]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x56ae0c], 2
je 0x560911
cmp dword [ebp - 0x4c], 1
jne 0x560911
xor ecx, ecx
mov cx, word [0x56ae10]
test ecx, ecx
je 0x560911
xor edx, edx
mov dx, word [0x56ac74]
cmp edx, 0x8005
je 0x560911
mov eax, dword [ebp + 8]
push eax
push 0x567288
call dword [sym.imp.USER32.dll_UnregisterClassA]
xor ecx, ecx
mov cx, word [0x567298]
test ecx, ecx
je 0x560911
mov edx, dword [ebp - 0x54]
push edx
lea edx, [ebp - 0x50]
mov ecx, dword [ebp - 4]
call fcn.00560940
cmp dword [ebp - 0x50], 0
je 0x56091f
mov ecx, dword [ebp - 0x50]
call fcn.00564440
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x56036e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10