Function at 0x421d10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44078c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.EpicWrapperDll.dll_Ordinal_1]
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc100u.dll_CWinApp::InitInstance]
call fcn.00421b60
cmp eax, 1
jne 0x421db1
mov eax, dword [0x1445a50]
cmp eax, ebx
jne 0x421d83
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
cmp eax, ebx
je 0x421d7c
mov esi, eax
call fcn.00426050
jmp 0x421d7e
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 ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
call fcn.0040e0f0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00421800
mov esi, dword [sym.imp.mfc100u.dll_new]
cmp dword [0x1445a00], ebx
jne 0x421ded
push 0x10c
call esi
add esp, 4
cmp eax, ebx
je 0x421de6
mov dword [eax + 0xf4], ebx
mov dword [eax + 0x108], ebx
mov dword [eax + 0xfc], ebx
jmp 0x421de8
xor eax, eax
mov dword [0x1445a00], eax
or edi, 0xffffffff
cmp dword [0x1445a04], ebx
jne 0x421e1b
push 0x60
call esi
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x421e11
push eax
call fcn.00410ae0
jmp 0x421e13
xor eax, eax
mov dword [ebp - 4], edi
mov dword [0x1445a04], eax
push 0xc
call esi
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x421e3d
mov ecx, eax
call dword [sym.imp.mfc100u.dll_CShellManager::CShellManager]
mov dword [ebp - 0x14], eax
jmp 0x421e40
mov dword [ebp - 0x14], ebx
push 0x1b8
mov dword [ebp - 4], edi
call esi
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
cmp eax, ebx
je 0x421e63
push eax
call fcn.0040e210
jmp 0x421e65
xor eax, eax
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [edi + 0xec], eax
mov edx, dword [eax]
push ebx
mov ecx, eax
mov eax, dword [edx + 0x168]
push 0x82
call eax
call fcn.00421a80
call dword [sym.imp.libssclient.dll_ssclient_init]
push 0x10
call esi
add esp, 4
cmp eax, ebx
je 0x421ea3
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x421ea5
xor eax, eax
mov ecx, edi
mov dword [ecx + 0xdc], eax
lea eax, [ecx + 0xe0]
mov ecx, dword [ecx + 0x10c]
push eax
push 0x20
call ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x18]
push edx
push 0x4227b0
mov dword [ebp - 0x18], eax
call dword [sym.imp.mfc100u.dll_AfxBeginThread]
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
jmp 0x421ef8
xor ebx, ebx
mov eax, dword [0x1445b6c]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x421f3d
mov dword [ebp - 0x10], 1
lea esp, [esp]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x421f24
call fcn.004140d0
cmp dword [edi + 0xa0], ebx
jne 0x421f32
mov esi, dword [esi]
mov ecx, dword [0x1445b6c]
cmp esi, dword [ecx]
jne 0x421f10
jmp 0x421f3d
push edi
mov eax, 0x1445a88
call fcn.00422c80
cmp dword [0x1445a0c], ebx
jne 0x422002
cmp dword [ebp - 0x10], ebx
je 0x421f5e
mov edx, dword [0x1445b6c]
mov eax, dword [edx]
cmp dword [eax], eax
je 0x422002
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
je 0x421f96
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x421f73
mov eax, dword [ebp - 0x30]
cmp eax, 0x12
je 0x422002
cmp eax, 0x211
je 0x421fb7
cmp eax, 0x212
jne 0x421ef8
cmp eax, 0x211
jne 0x421fbc
mov ebx, 1
mov ecx, dword [0x1445b6c]
mov eax, dword [ecx]
mov edi, dword [eax]
cmp edi, eax
je 0x421ef6
mov edi, edi
mov esi, dword [edi + 8]
test esi, esi
je 0x421ff2
mov edx, dword [esi + 0x20]
push ebx
push edx
call dword [sym.imp.libssclient.dll_ss_app_session_app_pause_set]
add esp, 8
mov dword [esi + 0x2c], eax
test eax, eax
je 0x421ff2
push esi
call fcn.00414180
mov edi, dword [edi]
mov eax, dword [0x1445b6c]
cmp edi, dword [eax]
jne 0x421fd0
jmp 0x421ef6
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xe0]
cmp eax, ebx
je 0x422017
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, dword [esi + 0xdc]
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
xor edi, edi
sar esi, 3
test esi, esi
jle 0x422041
jmp 0x422030
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 0x422030
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x422051
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