Function at 0x1149f90
Capabilities:
Delete file
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push 0x100f330
push esi
call fcn.01139f60
mov eax, dword [esi]
push 0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
push 0x1021bec
push 0x1014dcc
push connect
push eax
call fcn.010b5740
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edi, eax
test edi, edi
je 0x1149feb
push edi
call ebx
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [esi]
push eax
call fcn.010cdad0
test eax, eax
jne 0x114a084
mov ecx, dword [esi]
push ecx
call fcn.01126b10
cmp dword [esi + 0xa18], 0
je 0x114a019
push 4
push 0x1022244
push esi
call fcn.01143b20
push 1
push esi
call fcn.0105f780
cmp dword [esi + 0xa40], 0
je 0x114a072
mov eax, dword [esi]
push 0
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 8]
push ecx
push 0x1022234
push 0x1014dcc
push connect
push eax
call fcn.010b5740
test eax, eax
je 0x114a072
mov edi, dword [eax]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test edi, edi
je 0x114a072
push 0
push 0x1022218
push esi
call fcn.01143b20
mov edx, dword [esi]
push 1
push 0
push edx
call fcn.010d5e00
push esi
call fcn.01127e90
mov eax, dword [esi]
push esi
mov dword [eax + 0x129c8], 1
call fcn.01052e40
mov eax, dword [esi]
push 0x101de00
add eax, 0x3c22
push 0x100b62c
push eax
call fcn.0107fe70
mov edi, eax
test edi, edi
je 0x114a0c6
push edi
call ebx
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov ecx, dword [esi]
push ecx
call fcn.010f1440
cmp dword [esi + 0x9dc], 0
jne 0x114a220
mov eax, dword [esi]
lea edx, [ebp + 8]
push edx
push 0
push 0
push 0
push 0
push 0x22e078
push eax
call fcn.010918a0
push 1
lea ecx, [esi + 0x1d6c]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov edx, dword [esi]
push edx
call fcn.01044dc0
mov ecx, dword [esi]
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0
push 0
push 0x22e038
push ecx
call fcn.010918a0
mov eax, dword [esi]
lea edx, [esi + 0x8a6]
push edx
push eax
call fcn.010b69d0
mov dword [ebp - 4], 2
lea ebx, [ebx]
mov eax, dword [esi]
push 0x100cb04
add eax, 0x766c
push 0x100b62c
push eax
call fcn.0107fe70
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x114a1ec
mov eax, dword [esi]
push 0x100cb04
add eax, 0x766c
push 0x100b62c
push eax
call fcn.0107fe70
mov dword [ebp - 8], eax
test eax, eax
je 0x114a1dc
mov edi, dword [esi]
push 0x40
call fcn.01029a40
lea ebx, [edi + eax*4 + 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x40
push edi
call fcn.010b3c70
push 0
push edi
call fcn.0104d420
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov ecx, dword [ebp + 8]
push 0
push 0
push ecx
push edi
mov dword [ebp - 0xc], 0
call fcn.0108fb30
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [esi]
cmp dword [eax + 0x8238], 0
je 0x114a208
push 1
push 0x100cb04
push 0
push 0
push esi
call fcn.01107e80
sub dword [ebp - 4], 1
jne 0x114a140
mov ecx, dword [esi]
push ecx
call fcn.010c5560
push esi
call fcn.01126bc0
push 1
push esi
call fcn.01119060
mov edx, dword [esi]
push edx
call fcn.010cdad0
test eax, eax
jne 0x114a287
mov eax, dword [esi]
mov ecx, dword [eax + 0x3550]
cmp dword [ecx + 0xe48], 0
je 0x114a267
push 1
push 0
push eax
call fcn.010d5e00
mov edx, dword [esi]
mov eax, dword [edx + 0x3550]
push esi
mov dword [eax + 0xe48], 0
call fcn.0111a060
mov edi, dword [esi]
push 0x10134a4
lea ebx, [edi + 0x3c22]
push ebx
push edi
call fcn.01099620
push 0x1013498
push ebx
push edi
call fcn.01099620
push esi
call fcn.010d08c0
mov edx, dword [esi]
lea ecx, [edx + 0x3c22]
test ecx, ecx
jne 0x114a29d
xor eax, eax
jmp 0x114a2b2
cmp word [ecx], 0
mov eax, ecx
je 0x114a2ae
add eax, 2
cmp word [eax], 0
jne 0x114a2a5
sub eax, ecx
sar eax, 1
push 0
push 0x104d6e0
push eax
push ecx
push edx
call fcn.0102d3a0
mov ecx, dword [esi]
push 0x10020f8
push 0x10182b8
push connect
push ecx
call fcn.010b6090
mov edx, dword [esi]
push 0
push 0
push 0
push 0x1014dcc
push connect
push edx
call fcn.010b5bc0
mov edi, dword [esi]
lea ebx, [edi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x40
push edi
call fcn.010b3c70
mov ecx, dword [edi + 0x1e8]
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push 0
push reloc.WS2_32.dll_closesocket
mov dword [ebp + 8], 0
call ecx
test eax, eax
jne 0x114a351
mov edx, dword [ebp + 8]
push 1
push eax
push eax
push edx
push 0x1014dcc
push 0x10b6520
push edi
call fcn.010b61c0
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x1fc]
push eax
call ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
cmp dword [esi + 0x9dc], 0
jne 0x114a408
cmp dword [ebp + 0xc], 0
je 0x114a408
mov ebx, dword [esi]
push 0
push 1
lea edi, [esi + 0x272]
push edi
push ebx
call fcn.0108fb30
test eax, eax
jne 0x114a38d
push edi
push ebx
call fcn.01108150
test edi, edi
jne 0x114a395
xor eax, eax
jmp 0x114a3ad
cmp word [edi], 0
mov eax, edi
je 0x114a3a9
lea ecx, [ecx]
add eax, 2
cmp word [eax], 0
jne 0x114a3a0
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.0102c110
mov edi, eax
test edi, edi
je 0x114a3e6
push 0x5c
push edi
call fcn.0102bfe0
test eax, eax
je 0x114a3d6
xor edx, edx
mov word [eax], dx
mov eax, dword [esi]
mov ecx, dword [eax + 0x110]
push edi
call ecx
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [esi]
mov edx, dword [eax + 0x12a10]
mov eax, dword [eax + 0x314]
push edx
call eax
mov eax, dword [esi]
mov edx, dword [eax + 0x110]
lea ecx, [eax + 0x3c22]
push ecx
call edx
mov esi, dword [esi]
lea eax, [esi + 0x3c22]
push eax
push esi
call fcn.01049f00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8