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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563088
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x5a7074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x4c], esi
push dword [esi + 4]
call fcn.0040d970
mov edx, str.mode_full
mov ecx, dword [eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x420148
test ax, ax
je 0x420144
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x420148
add ecx, 4
add edx, 4
test ax, ax
jne 0x420122
xor eax, eax
jmp 0x42014d
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x6c]
test eax, eax
sete byte [ebp - 0x45]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x420190
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x58]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42018b
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x420190
mov ecx, edx
call dword [ebp - 0x50]
cmp byte [ebp - 0x45], 0
je 0x4201a5
mov dword [edi + 0x17c], 1
jmp 0x420416
push dword [esi + 4]
lea ecx, [ebp - 0x70]
call fcn.0040d970
mov ecx, str.mode_tran
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4201dd
test dx, dx
je 0x4201d9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4201dd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4201b7
xor eax, eax
jmp 0x4201e2
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x70]
test eax, eax
sete byte [ebp - 0x45]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x420225
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x58]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x420220
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x420225
mov ecx, edx
call dword [ebp - 0x50]
cmp byte [ebp - 0x45], 0
je 0x42023a
mov dword [edi + 0x17c], 4
jmp 0x420416
push dword [esi + 4]
lea ecx, [ebp - 0x74]
call fcn.0040d970
mov edx, str.mode_text
mov ecx, eax
call fcn.00405640
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 0x45], al
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x420291
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x58]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42028c
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x420291
mov ecx, edx
call dword [ebp - 0x50]
cmp byte [ebp - 0x45], 0
je 0x4202a6
mov dword [edi + 0x17c], 3
jmp 0x420416
push dword [esi + 4]
lea ecx, [ebp - 0x78]
call fcn.0040d970
mov edx, str.mode_excel
mov ecx, eax
call fcn.00405640
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x45], al
call fcn.0040e180
cmp byte [ebp - 0x45], 0
je 0x4202dd
mov dword [edi + 0x17c], 2
jmp 0x420416
push dword [esi + 4]
lea ecx, [ebp - 0x7c]
call fcn.0040d970
mov edx, str.mode_normal
mov ecx, eax
call fcn.00405640
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x45], al
call fcn.0040e180
cmp byte [ebp - 0x45], 0
je 0x420314
mov dword [edi + 0x17c], 5
jmp 0x420416
push dword [esi + 4]
lea ecx, [ebp - 0x54]
call fcn.0040d970
mov dword [ebp - 0x50], eax
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jge 0x42032f
or esi, 0xffffffff
jmp 0x42034f
push str.mode_conv
push ecx
call fcn.0050d153
mov esi, eax
add esp, 8
test esi, esi
jne 0x420348
or esi, 0xffffffff
jmp 0x42034f
mov eax, dword [ebp - 0x50]
sub esi, dword [eax]
sar esi, 1
lea ecx, [ebp - 0x54]
call fcn.0040e180
cmp esi, 0xffffffff
je 0x420413
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
mov esi, dword [ebp - 0x4c]
push dword [esi + 4]
call fcn.0040d970
push 0x5840f4
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040d970
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x4c]
call fcn.00441cd0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040e180
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub eax, ecx
sar eax, 2
cmp eax, 3
jne 0x4203f0
push dword [ecx + 4]
call fcn.0053b92f
mov dword [edi + 0x180], eax
lea ecx, [edi + 0x184]
mov eax, dword [ebp - 0x64]
add esp, 4
add eax, 8
push eax
call fcn.004057d0
lea ecx, [ebp - 0x4c]
mov dword [edi + 0x17c], 6
call fcn.0040e180
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.00404fd0
jmp 0x420416
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x6b
push dword [0x5bf3a4]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [edi + 4]
call esi
and eax, 0xfffbffff
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x33
push 0
push 0
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x400000
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
mov ecx, eax
and ecx, 0xff3fffff
cmp eax, ecx
je 0x4204b7
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x17
push 0
push 0
push 0
push 0
push 0
push dword [edi + 4]
call esi
jmp 0x4204bd
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
push 0x10
push eax
push ecx
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
call esi
mov ecx, 0x4c
mov dword [ebp - 0x4c], 0
call fcn.0042eda0
mov ecx, 0x4d
mov dword [ebp - 0x34], eax
call fcn.0042eda0
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x4c]
mov eax, dword [edi + 0x38]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x28], eax
call fcn.00423560
mov ecx, dword [edi + 0x40]
mov esi, eax
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
test ecx, ecx
je 0x42053a
cmp ecx, esi
je 0x42053a
push ecx
call edx
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x40], esi
mov eax, dword [edi + 0x44]
mov esi, dword [ebp - 0x4c]
test eax, eax
je 0x42054e
cmp eax, esi
je 0x42054e
push eax
call edx
mov ecx, edi
mov dword [edi + 0x44], esi
call fcn.00423920
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x5d0478]
add edi, 0x10
mov dword [ebp - 0x54], eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5d033c]
lea eax, [ebp - 0x54]
push eax
call fcn.00429420
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x58]
lea ecx, [esi + 4]
mov esi, dword [ecx + 4]
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea edx, [edi + 0x34]
mov dword [ebp - 0x54], edx
test esi, esi
jle 0x4205c6
mov ecx, dword [ecx]
nop dword [eax]
cmp dword [ecx], edx
je 0x4205be
inc eax
add ecx, 4
cmp eax, esi
jl 0x4205b0
jmp 0x4205c3
cmp eax, 0xffffffff
jne 0x4205cf
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x54]
push eax
call fcn.004291f0
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xe0
call fcn.0050a09e
mov edx, eax
add esp, 4
mov dword [ebp - 0x54], edx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edx + 4], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x20], ecx
lea ecx, [edx + 0x28]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx], vtable.CDrawStyleTool.0
call fcn.0042bdd0
push dword [ebp - 0x54]
xorps xmm0, xmm0
movups xmmword [edx + 0xc8], xmm0
mov dword [edx + 0xc4], 0
mov dword [edi + 0xc8], edx
mov dword [edx + 0xdc], 0
mov esi, dword [edi + 4]
mov edi, dword [edi + 0xc8]
lea eax, [edi + 0x20]
push eax
push 0x5ba430
call fcn.004286d0
add esp, 0xc
movzx eax, ax
mov ecx, edi
push 0
push eax
push 0
push 0
push SysReAllocString
push 0
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.004283e0
mov esi, dword [ebp - 0x58]
push 0
mov eax, dword [esi + 0xc8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc8]
lea edi, [esi + 0xcc]
mov eax, dword [esi + 4]
lea esi, [edi + 0x38]
movaps xmm0, xmmword [0x58ac30]
mov dword [ecx + 0xd8], eax
lea eax, [ebp - 0x44]
push eax
push esi
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [edi + 0x2c], 0
mov ecx, edi
mov dword [edi + 0x28], 0
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [edi + 0x34], eax
inc dword [edi + 0x28]
inc dword [edi + 0x2c]
dec dword [edi + 0x30]
dec dword [edi + 0x34]
call fcn.0041ed60
mov eax, dword [0x5ba3d0]
mov ecx, str.EDIT
mov esi, dword [ebp - 0x58]
test eax, eax
push dword [ebp - 0x54]
cmovne ecx, eax
mov esi, dword [esi + 4]
mov dword [0x5ba3d0], ecx
lea eax, [edi + 0x20]
push eax
push 0x5ba3a0
call fcn.004286d0
add esp, 8
movzx eax, ax
mov ecx, edi
push eax
push 0
push 0
push 0x40011004
push 0
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00427440
push 0x583df0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
mov esi, dword [ebp - 0x58]
push 1
push eax
push 0x30
push dword [esi + 0xd0]
mov dword [esi + 0x128], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x17c]
cmp edx, 3
je 0x420791
cmp edx, 4
je 0x420791
cmp edx, 2
jne 0x420799
mov ecx, dword [esi + 4]
call fcn.0041d1d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050a055
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10