Function at 0x4220c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4407bc
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4a12d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.EpicWrapperDll.dll_Ordinal_1]
mov ebx, dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.mfc100u.dll_CWinApp::InitInstance]
call fcn.00421bb0
cmp eax, 1
jne 0x422163
mov eax, dword [0x1445a50]
cmp eax, edi
jne 0x422135
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
cmp eax, edi
je 0x42212e
mov esi, eax
call fcn.004260a0
jmp 0x422130
xor eax, eax
mov dword [0x1445a50], eax
mov eax, dword [eax]
imul eax, eax, 0x1bc
mov ecx, dword [eax + 0x4a17c4]
mov eax, dword [eax + 0x4a1834]
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
call fcn.0040e130
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00421850
mov esi, dword [sym.imp.mfc100u.dll_new]
cmp dword [0x1445a00], edi
jne 0x42219f
push 0x10c
call esi
add esp, 4
cmp eax, edi
je 0x422198
mov dword [eax + 0xf4], edi
mov dword [eax + 0x108], edi
mov dword [eax + 0xfc], edi
jmp 0x42219a
xor eax, eax
mov dword [0x1445a00], eax
cmp dword [0x1445a04], edi
jne 0x4221ce
push 0x60
call esi
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4221c0
push eax
call fcn.00410b00
jmp 0x4221c2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1445a04], eax
push 0xc
call esi
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
cmp eax, edi
je 0x4221f0
mov ecx, eax
call dword [sym.imp.mfc100u.dll_CShellManager::CShellManager]
mov dword [ebp - 0x14], eax
jmp 0x4221f3
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ebx + 0xd4]
push edi
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xd0]
push 1
push edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x30]
push ecx
push 0x422a50
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.mfc100u.dll_AfxBeginThread]
mov edi, ebx
call fcn.00421ad0
call dword [sym.imp.libssclient.dll_ssclient_init]
push 0x10
call esi
xor edi, edi
add esp, 4
cmp eax, edi
je 0x422266
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x422268
xor eax, eax
mov edx, dword [ebx + 0x10c]
mov dword [ebx + 0xdc], eax
lea eax, [ebx + 0xe0]
push eax
push 0x20
call edx
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
push 0x1a8
mov dword [ebx + 0xf4], edx
call esi
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
cmp eax, edi
je 0x4222be
push eax
call fcn.00429e70
jmp 0x4222c0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xf8], eax
mov edx, dword [eax]
push edi
mov ecx, eax
mov eax, dword [edx + 0x168]
push 0xc7
call eax
mov ecx, dword [ebx + 0xf8]
push 5
call dword [sym.imp.mfc100u.dll_CWnd::ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x18]
push ecx
push 0x422920
mov dword [ebp - 0x18], eax
call dword [sym.imp.mfc100u.dll_AfxBeginThread]
xor eax, eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], edi
jmp 0x422328
mov ebx, dword [ebp + 8]
mov edx, dword [0x1445b6c]
mov eax, dword [edx]
mov esi, dword [eax]
cmp esi, eax
je 0x42236d
mov dword [ebp - 0x10], 1
lea ecx, [ecx]
mov edi, dword [esi + 8]
test edi, edi
je 0x422355
call fcn.00414100
cmp dword [edi + 0xa0], 0
jne 0x422362
mov esi, dword [esi]
mov eax, dword [0x1445b6c]
cmp esi, dword [eax]
jne 0x422340
jmp 0x42236d
push edi
mov eax, 0x1445a88
call fcn.00422cd0
cmp dword [0x1445a0c], 0
jne 0x422443
cmp dword [ebp - 0x10], 0
je 0x422390
mov ecx, dword [0x1445b6c]
mov eax, dword [ecx]
cmp dword [eax], eax
je 0x422443
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x4c]
push edx
call esi
test eax, eax
je 0x4223d6
jmp 0x4223b0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x4c]
push edx
call esi
test eax, eax
jne 0x4223b0
mov eax, dword [ebp - 0x48]
cmp eax, 0x12
je 0x422443
cmp eax, 0x211
je 0x4223f0
cmp eax, 0x212
jne 0x422328
xor ebx, ebx
cmp eax, 0x211
jne 0x4223fe
mov ebx, 1
mov eax, dword [0x1445b6c]
mov eax, dword [eax]
mov edi, dword [eax]
cmp edi, eax
je 0x422325
nop
mov esi, dword [edi + 8]
test esi, esi
je 0x422432
mov ecx, dword [esi + 0x20]
push ebx
push ecx
call dword [sym.imp.libssclient.dll_ss_app_session_app_pause_set]
add esp, 8
mov dword [esi + 0x2c], eax
test eax, eax
je 0x422432
push esi
call fcn.004141b0
mov edi, dword [edi]
mov edx, dword [0x1445b6c]
cmp edi, dword [edx]
jne 0x422410
jmp 0x422325
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x422455
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, dword [ebx + 0xdc]
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
xor edi, edi
sar esi, 3
test esi, esi
jle 0x422481
lea esp, [esp]
mov eax, dword [ebx]
mov ecx, dword [eax + edi*8]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
inc edi
cmp edi, esi
jl 0x422470
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x422491
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4