Function at 0x41b050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fbf8
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 0x41b0e8
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 0x41b0b1
mov eax, dword [ebx + 0x3c]
push eax
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov edi, eax
call fcn.0041b3e0
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
mov dword [ebx + 0x28], eax
mov dword [eax + 0xc0], 2
cmp dword [ebx + 0x14], 0
jne 0x41b0d8
mov edx, dword [ebx + 0x28]
mov dword [edx + 0xf0], ecx
jmp 0x41b2ec
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx]
mov dword [eax + 0xf0], ecx
jmp 0x41b2ec
cmp eax, 2
jne 0x41b1fa
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 0x41b123
mov eax, dword [ebx + 0x3c]
push eax
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov edi, eax
call fcn.0041b3e0
mov edi, 1
jmp 0x41b125
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 0x41b145
mov edx, dword [ebx + 0x28]
mov dword [edx + 0xf0], ecx
jmp 0x41b150
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 0x41b1b1
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 0x41b1dd
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 0x41b293
cmp dword [ebx + 0x18], 0
je 0x41b255
mov edx, dword [ebx + 0x3c]
push 0
push edx
call fcn.0041db60
mov ebx, dword [ebx + 0x64]
add esp, 8
test ebx, ebx
je 0x41b234
cmp dword [ebx + 0xa0], 0
jne 0x41b234
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.0041db60
add esp, 8
cmp eax, 2
jne 0x41b317
mov eax, ebx
call fcn.0041b3b0
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 0x41b317
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 0x41b2c9
mov edx, dword [ebx + 0x3c]
push edx
call dword [sym.imp.mfc100u.dll_CWnd::FromHandle]
mov edi, eax
call fcn.0041b3e0
jmp 0x41b2cb
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