Function at 0x422070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44074c
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.00421b60
cmp eax, 1
jne 0x422113
mov eax, dword [0x1445a50]
cmp eax, edi
jne 0x4220e5
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
cmp eax, edi
je 0x4220de
mov esi, eax
call fcn.00426050
jmp 0x4220e0
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.0040e0f0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00421800
mov esi, dword [sym.imp.mfc100u.dll_new]
cmp dword [0x1445a00], edi
jne 0x42214f
push 0x10c
call esi
add esp, 4
cmp eax, edi
je 0x422148
mov dword [eax + 0xf4], edi
mov dword [eax + 0x108], edi
mov dword [eax + 0xfc], edi
jmp 0x42214a
xor eax, eax
mov dword [0x1445a00], eax
cmp dword [0x1445a04], edi
jne 0x42217e
push 0x60
call esi
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x422170
push eax
call fcn.00410ae0
jmp 0x422172
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 0x4221a0
mov ecx, eax
call dword [sym.imp.mfc100u.dll_CShellManager::CShellManager]
mov dword [ebp - 0x14], eax
jmp 0x4221a3
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 0x422a00
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.mfc100u.dll_AfxBeginThread]
mov edi, ebx
call fcn.00421a80
call dword [sym.imp.libssclient.dll_ssclient_init]
push 0x10
call esi
xor edi, edi
add esp, 4
cmp eax, edi
je 0x422216
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x422218
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 0x42226e
push eax
call fcn.00429e20
jmp 0x422270
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 0x4228d0
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 0x4222d8
mov ebx, dword [ebp + 8]
mov edx, dword [0x1445b6c]
mov eax, dword [edx]
mov esi, dword [eax]
cmp esi, eax
je 0x42231d
mov dword [ebp - 0x10], 1
lea ecx, [ecx]
mov edi, dword [esi + 8]
test edi, edi
je 0x422305
call fcn.004140d0
cmp dword [edi + 0xa0], 0
jne 0x422312
mov esi, dword [esi]
mov eax, dword [0x1445b6c]
cmp esi, dword [eax]
jne 0x4222f0
jmp 0x42231d
push edi
mov eax, 0x1445a88
call fcn.00422c80
cmp dword [0x1445a0c], 0
jne 0x4223f3
cmp dword [ebp - 0x10], 0
je 0x422340
mov ecx, dword [0x1445b6c]
mov eax, dword [ecx]
cmp dword [eax], eax
je 0x4223f3
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 0x422386
jmp 0x422360
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 0x422360
mov eax, dword [ebp - 0x48]
cmp eax, 0x12
je 0x4223f3
cmp eax, 0x211
je 0x4223a0
cmp eax, 0x212
jne 0x4222d8
xor ebx, ebx
cmp eax, 0x211
jne 0x4223ae
mov ebx, 1
mov eax, dword [0x1445b6c]
mov eax, dword [eax]
mov edi, dword [eax]
cmp edi, eax
je 0x4222d5
nop
mov esi, dword [edi + 8]
test esi, esi
je 0x4223e2
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 0x4223e2
push esi
call fcn.00414180
mov edi, dword [edi]
mov edx, dword [0x1445b6c]
cmp edi, dword [edx]
jne 0x4223c0
jmp 0x4222d5
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x422405
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 0x422431
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 0x422420
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x422441
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