Function at 0x41b0a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fc68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a12d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x60]
mov edi, 1
cmp eax, edi
jne 0x41b138
push 0xf4
call dword [sym.imp.mfc100u.dll_new]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, eax
je 0x41b101
mov eax, dword [ebx + 0x3c]
push eax
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov edi, eax
call fcn.0041b430
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
mov dword [ebx + 0x28], eax
mov dword [eax + 0xc0], 2
cmp dword [ebx + 0x14], 0
jne 0x41b128
mov edx, dword [ebx + 0x28]
mov dword [edx + 0xf0], ecx
jmp 0x41b33c
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx]
mov dword [eax + 0xf0], ecx
jmp 0x41b33c
cmp eax, 2
jne 0x41b24a
push 0xf4
call dword [sym.imp.mfc100u.dll_new]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], edi
test esi, esi
je 0x41b173
mov eax, dword [ebx + 0x3c]
push eax
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov edi, eax
call fcn.0041b430
mov edi, 1
jmp 0x41b175
xor eax, eax
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
mov dword [ebx + 0x28], eax
mov dword [eax + 0xc0], edi
cmp dword [ebx + 0x14], 0
jne 0x41b195
mov edx, dword [ebx + 0x28]
mov dword [edx + 0xf0], ecx
jmp 0x41b1a0
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx]
mov dword [eax + 0xf0], ecx
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x28]
mov esi, dword [edx]
push eax
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x168]
push eax
push 0x98
call edx
mov ecx, dword [ebx + 0x28]
push 5
call dword [sym.imp.mfc100u.dll_CWnd::ShowWindow]
mov eax, dword [ebx]
cmp eax, 0x133
jle 0x41b201
add eax, 0xfffffecd
cdq
add eax, dword [ebx + 0x50]
mov dword [ebx + 0x60], edi
adc edx, dword [ebx + 0x54]
add eax, 7
adc edx, 0
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x58], 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
cmp eax, 8
jle 0x41b22d
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
add eax, 7
adc ecx, 0
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x41b2e3
cmp dword [ebx + 0x18], 0
je 0x41b2a5
mov edx, dword [ebx + 0x3c]
push 0
push edx
call fcn.0041dbb0
mov ebx, dword [ebx + 0x64]
add esp, 8
test ebx, ebx
je 0x41b284
cmp dword [ebx + 0xa0], 0
jne 0x41b284
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.libssclient.dll_ss_app_session_exit]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x3c]
push edi
push ecx
call fcn.0041dbb0
add esp, 8
cmp eax, 2
jne 0x41b367
mov eax, ebx
call fcn.0041b400
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x41b367
push 0xf4
call dword [sym.imp.mfc100u.dll_new]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x41b319
mov edx, dword [ebx + 0x3c]
push edx
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov edi, eax
call fcn.0041b430
jmp 0x41b31b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x28], eax
mov dword [eax + 0xc0], 3
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x28]
neg eax
mov dword [ecx + 0xf0], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x28]
mov esi, dword [edx]
push eax
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x168]
push eax
push 0x98
call edx
mov ecx, dword [ebx + 0x28]
push 5
call dword [sym.imp.mfc100u.dll_CWnd::ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret