Function at 0x4038b0
Capabilities:
Delete file
Hide graphical window

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push 0x432640
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x12c]
push 0x432640
lea eax, [edi + edi*4]
lea esi, [edi + eax*2]
shl esi, 5
mov ebp, dword [esi + 0x431624]
mov dword [esi + 0x431624], 0
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x42e900]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov bl, byte [esp + 0x130]
test bl, bl
jne 0x403947
lea edx, [esi + 0x431628]
mov byte [esp + 0x13], 1
push edx
push str.Disconnecting_from__s...
push 0x42d900
call fcn.00410876
mov eax, dword [0x42fd24]
add esp, 0xc
push 0x42d900
push 0
push 0x408
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x4357f0]
lea ecx, [edi + 0xc350]
push 0
push ecx
push 4
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
test bl, bl
mov ebx, dword [esp + 0x128]
jne 0x4039cd
push 0
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push edi
push ebx
mov dword [esp + 0x30], 0x83050004
call fcn.0040fe50
add esp, 0x1c
test al, al
jne 0x40399f
mov byte [esp + 0x130], 1
push 0
lea edx, [esp + 0x20]
push 1
push edx
lea eax, [esp + 0x20]
push 4
push eax
push edi
push ebx
mov dword [esp + 0x30], 0x8305002c
call fcn.0040fe50
add esp, 0x1c
test al, al
jne 0x4039cd
mov byte [esp + 0x130], 1
mov eax, dword [esi + 0x431778]
test eax, eax
je 0x4039e0
push eax
call fcn.00410acf
add esp, 4
mov eax, dword [esi + 0x431730]
test eax, eax
je 0x4039f0
push eax
call sub.WS2_32.dll_closesocket
mov eax, dword [esi + 0x431774]
test eax, eax
je 0x403a01
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x130]
test al, al
jne 0x403a70
mov al, byte [esi + 0x431620]
test al, al
je 0x403a70
lea ebp, [esi + 0x431628]
push str.DBGVSVC
push ebp
call fcn.0040bdc0
push ebp
lea ecx, [esp + 0x2c]
push str._sADMIN_System32Dbgvsvc.exe
push ecx
call fcn.00410876
add esp, 0x14
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
lea eax, [esp + 0x24]
push str._sADMIN_System32Dbgv.sys
push eax
call fcn.00410876
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call fcn.004036d0
mov ebp, dword [esp + 0x1c]
add esp, 4
mov edx, dword [0x4357f0]
push 8
push 0xc350
push 4
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push ebx
call fcn.00401830
add esp, 8
test ebp, ebp
je 0x403ae9
push 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
call ebp
mov eax, dword [0x431624]
push 5
push eax
mov dword [0x4313b0], eax
mov dword [0x4247f4], 0
call ebp
mov eax, dword [esp + 0x18]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x431624]
push 0
push edi
push ebx
mov dword [0x4313b0], ecx
call fcn.004031d0
add esp, 0xc
mov al, byte [esp + 0x13]
mov byte [esi + 0x431622], 0
pop edi
pop esi
pop ebp
pop ebx
test al, al
je 0x403b12
mov edx, dword [0x42fd24]
push 0
push 0
push 0x409
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x114
ret