joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45db0f
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x14
mov eax, 0x4e2a51
call fcn.004bece3
xor ebx, ebx
push ebx
call fcn.0045d60d
push 0x526398
lea ecx, [ebp - 0x18]
call fcn.004024df
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push 0x5854f0
call fcn.0040228a
lea ecx, [ebp - 0x18]
call fcn.004067db
push dword [0x5854f4]
mov esi, SysReAllocString
push dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov byte [ebp - 4], 1
push dword [0x5854f4]
push dword [ebp - 0x18]
call fcn.0040aa64
pop ecx
pop ecx
cmp al, bl
je 0x45dbbe
push dword [ebp - 0x18]
mov eax, 0x2001f
push esi
lea edi, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00416053
test eax, eax
je 0x45dba9
push dword [0x5854f4]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, edi
call fcn.0041608f
lea ecx, [ebp - 0x20]
call fcn.0041608f
jmp 0x45dbbe
push dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004027b0
call fcn.004bed88
ret
Function at 0x46156d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e0e82
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x57b750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, 0x1b4
push edi
push dword [0x58488c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor ebx, ebx
test eax, eax
jne 0x4615be
push 0x64
mov dword [esi + 0x8f4], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call fcn.004985b0
pop ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], ebx
cmp eax, ebx
je 0x4615d9
push eax
call fcn.00404be4
jmp 0x4615db
xor eax, eax
or dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x8f4], eax
mov dword [eax + 0x150], 1
mov eax, dword [esi + 0x8f4]
mov edi, dword [esi + 0x90c]
mov dword [eax + 0x16c], edi
mov eax, dword [esi + 0x8f4]
mov edi, dword [esi + 0x908]
mov dword [eax + 0x170], edi
mov eax, dword [esi + 0x8f4]
mov dword [eax + 0x168], 0xff
mov eax, dword [esi + 0x8f4]
mov ecx, 0xfe
mov dword [eax + 0x158], ecx
lea edx, [ecx - 0x3d]
mov dword [eax + 0x15c], edx
mov eax, dword [esi + 0x8f4]
mov dword [eax + 0x60], ebx
mov eax, dword [esi + 0x8f4]
mov dword [eax + 0x17c], ebx
lea eax, [esi + 0x8f8]
cmp dword [eax], 0xffffffff
jne 0x461664
cmp dword [eax + 4], 0xffffffff
je 0x46167b
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x8f4]
mov dword [ecx + 0x160], edx
mov dword [ecx + 0x164], eax
mov eax, dword [esi + 0x8f4]
mov ecx, dword [eax + 0x160]
mov edx, dword [eax + 0x164]
mov dword [eax + 0x160], ecx
mov dword [eax + 0x164], edx
mov edi, dword [esi + 0x8f4]
push dword [0x5857b0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x13c]
test eax, eax
je 0x461722
cmp dword [edi + 0x154], ebx
jne 0x461722
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x140]
jmp 0x461722
mov eax, dword [esi + 0x8f4]
cmp eax, ebx
jne 0x4616d7
xor eax, eax
jmp 0x4616da
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x461737
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x461712
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
jne 0x4616fc
push 0x1b4
push dword [esi + 0x8f4]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x4616c9
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461c00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push str.Check_for_Update_started
call fcn.004024df
call fcn.0045c866
movzx eax, byte [0x5858c3]
push eax
movzx eax, byte [0x5858c2]
push eax
call fcn.00466e36
add esp, 8
mov ecx, esp
mov dword [ebp - 4], esp
push str.Check_for_Update_Completed
mov esi, eax
call fcn.004024df
call fcn.0045c866
cmp byte [0x5858c2], 0
pop ecx
je 0x461c61
test esi, esi
je 0x461c66
mov esi, dword [0x585880]
call fcn.0046156d
xor eax, eax
pop esi
leave
ret
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push str.ExitProcess_:_No_Updates
call fcn.004024df
call fcn.0045c866
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4640f1
Capabilities:
Check for time delay via gettickcount
Continue service
Modify service
Query service status
Start service

Disassembly:
push 0x34
mov eax, 0x4dcf59
call fcn.004becb0
lea edi, [ebp - 0x20]
call fcn.00463fab
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x20], ebx
je 0x464251
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
je 0x46425b
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x3c]
push eax
push edi
call esi
test eax, eax
jne 0x46414c
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
jmp 0x464267
mov eax, dword [ebp - 0x38]
dec eax
je 0x46417c
sub eax, 3
je 0x464178
sub eax, 3
jne 0x464135
lea eax, [ebp - 0x3c]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x464135
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, 1
jmp 0x464135
call fcn.0049a417
mov ecx, dword [eax + 4]
call fcn.004a0bf1
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
cmp eax, 0x420
jne 0x4641a6
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], bl
call fcn.004250eb
jmp 0x464178
cmp eax, ebx
jge 0x4641ba
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], bl
call fcn.004250eb
jmp 0x464135
lea eax, [ebp - 0x3c]
push eax
push edi
call esi
test eax, eax
je 0x4641aa
cmp byte [ebp - 0x18], bl
jne 0x4641de
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
jmp 0x46423c
mov eax, dword [ebp - 0x24]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x1f4
cmp eax, ecx
jb 0x46420a
mov ecx, 0x1388
cmp eax, ecx
jbe 0x46420c
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4641aa
cmp dword [ebp - 0x28], edi
ja 0x4641e4
call esi
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jbe 0x46423c
cmp dword [ebp - 0x24], ebx
ja 0x4641aa
cmp dword [ebp - 0x38], 2
je 0x4641ee
cmp dword [ebp - 0x38], 4
jne 0x4641aa
jmp 0x464199
cmp dword [ebp - 0x1c], ebx
je 0x46425b
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x20], ebx
je 0x464265
push dword [ebp - 0x20]
call esi
xor al, al
call fcn.004bed88
ret
Function at 0x4654ae
Capabilities:
Check if file exists

Disassembly:
push 0xcdc
mov eax, 0x4d8930
call fcn.004bed4f
mov edi, ecx
lea esi, [edi + 0x20]
push esi
mov dword [ebp - 0xc88], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi], bl
jne 0x4654de
push esi
jmp 0x4655b7
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x38]
push ecx
push eax
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
call fcn.004a6306
cmp eax, ebx
je 0x4654d8
mov esi, 0x82c
push esi
lea eax, [ebp - 0xc80]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004be850
mov eax, dword [edi + 0x38]
add esp, 0xc
cmp eax, ebx
je 0x465546
push eax
lea eax, [ebp - 0xc80]
call fcn.00410984
lea eax, [ebp - 0xa6e]
push eax
lea ecx, [ebp - 0xc8c]
mov byte [ebp - 4], 3
call fcn.004024df
push 0x208
lea eax, [ebp - 0x220]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.004be850
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call fcn.00473873
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4655c3
mov ecx, dword [ebp - 0xc8c]
add ecx, 0xfffffff0
call fcn.004027b0
push esi
lea eax, [ebp - 0xc80]
push ebx
push eax
call fcn.004be850
add esp, 0xc
push dword [ebp - 0xc88]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004bedab
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0xc84]
call fcn.004024df
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc8c]
mov dword [ebp - 0xc90], esp
mov ecx, esp
push eax
call fcn.0040228a
lea ecx, [ebp - 0xc84]
call fcn.004067db
push str..dat
lea eax, [ebp - 0xc84]
push eax
lea eax, [ebp - 0xc90]
push eax
call fcn.0040210c
add esp, 0xc
push eax
lea ecx, [ebp - 0xc84]
mov byte [ebp - 4], 6
call fcn.0040257e
mov ecx, dword [ebp - 0xc90]
add ecx, 0xfffffff0
call fcn.004027b0
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], 7
call fcn.004a8237
push ebx
push 0x9001
mov byte [ebp - 4], 8
push dword [ebp - 0xc84]
lea ecx, [ebp - 0xca0]
call fcn.004a86d6
cmp eax, ebx
je 0x465714
push ebx
push 0x1000
push ebx
lea eax, [ebp - 0xca0]
push eax
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 9
call fcn.004a7855
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 0xa
call fcn.004195c4
push dword [ebp - 0x434]
lea ecx, [ebp - 0xce8]
push dword [ebp - 0x438]
call fcn.00465b3e
push dword [ebp - 0x444]
lea eax, [ebp - 0xce8]
push dword [ebp - 0x448]
push eax
call fcn.004aa92b
lea ecx, [edi + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xce8]
push edx
call dword [eax + 8]
lea ecx, [ebp - 0xce8]
call fcn.004a769e
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 9
call fcn.004a7817
mov dword [ebp - 4], 8
jmp 0x465709
lea ecx, [ebp - 0xca0]
call fcn.004a81d1
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], 7
call fcn.004a8350
mov ecx, dword [ebp - 0xc84]
add ecx, 0xfffffff0
call fcn.004027b0
jmp 0x465592
Function at 0x46633b
Capabilities:
Check if file exists
Create process on windows
Terminate process

Disassembly:
push 0x14
mov eax, 0x4dcd78
call fcn.004becb0
mov esi, 0x54d90c
push esi
lea ecx, [ebp - 0x1c]
call fcn.00410881
mov edi, eax
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x18]
call fcn.00410881
push 0x585c20
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004020b5
push edi
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.004020b5
add esp, 0x18
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004027b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004027b0
push dword [0x585c20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4663fd
push 1
push 0x523938
push 0x54d910
push dword [ebp - 0x10]
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.ExitProcess_:_InstallUpdates
call fcn.004024df
call fcn.0045c866
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004027b0
call fcn.004bed88
ret
Function at 0x467979
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x57b750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
add esi, 4
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
cmp eax, ebx
je 0x4679a5
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [esi], ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 8], ebx
mov edi, SysReAllocString
cmp dword [ebp + 8], ebx
je 0x4679f6
push dword [ebp + 8]
call esi
push ebx
inc eax
cdq
push 2
push edx
push eax
call fcn.004c0f00
mov ecx, eax
add eax, edi
adc edx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edx
jne 0x4679f6
cmp eax, 0xffffffff
jbe 0x4679fb
mov dword [ebp - 0xc], ebx
jmp 0x467a36
cmp ecx, 0x400
jg 0x467a1a
push ecx
call fcn.00472910
pop ecx
test al, al
je 0x467a1a
mov eax, dword [ebp - 0x10]
call fcn.004c0750
mov eax, esp
jmp 0x467a25
push dword [ebp - 0x10]
lea ecx, [ebp - 8]
call fcn.004728e8
push 3
push dword [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.004651d7
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x467a5c
push dword [ebp + 0xc]
call esi
push ebx
inc eax
cdq
push 2
push edx
push eax
call fcn.004c0f00
mov esi, eax
add eax, edi
adc edx, ebx
mov dword [ebp - 0x1c], edx
jne 0x467a5c
cmp eax, 0xffffffff
jbe 0x467a60
xor eax, eax
jmp 0x467a93
cmp esi, 0x400
jg 0x467a7e
push esi
call fcn.00472910
pop ecx
test al, al
je 0x467a7e
mov eax, esi
call fcn.004c0750
mov eax, esp
jmp 0x467a87
push esi
lea ecx, [ebp - 8]
call fcn.004728e8
push 3
push esi
push dword [ebp + 0xc]
push eax
call fcn.004651d7
cmp dword [ebp - 0xc], ebx
je 0x467abb
cmp eax, ebx
je 0x467abb
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0040f73d
mov eax, esi
jmp 0x467ace
push 8
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 8]
call fcn.0040f73d
or eax, 0xffffffff
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b96ff
leave
ret 8
Function at 0x468b5d
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push edi
lea edx, [esi + 0x10]
push 6
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.0047282c
xor ebx, ebx
cmp eax, ebx
jge 0x468b7e
push eax
call fcn.004028d7
lea edx, [esi + 0x28]
push 6
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.0047282c
cmp eax, ebx
jl 0x468b78
or dword [esi + 0x40], 0xffffffff
mov dword [esi], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x2710
cmp dword [0x581c38], ebx
je 0x468bcf
push 0x581aa8
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x581c38], eax
pop edi
mov eax, esi
pop ebx
ret

Function at 0x468cd4
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [esi + 0x44], bl
je 0x468ce6
mov al, 1
jmp 0x468d58
mov eax, dword [esi + 0x40]
mov byte [ebp - 1], 1
cmp eax, 0xffffffff
jne 0x468cf6
xor al, al
jmp 0x468d58
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x468d52
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x468d4c
push dword [esi + 0x4c]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x468d4f
push 0x2c
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004be850
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x468d52
mov dword [esi + 0x48], eax
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
mov byte [esi + 0x44], al
pop ebx
leave
ret 8
Function at 0x468d5d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call edi
test eax, eax
je 0x468d84
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x468e2b
push ebx
xor ebx, ebx
push ebx
push dword [esi + 8]
call edi
cmp eax, 0x102
jne 0x468da2
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x468e2a
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0x28]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x468dea
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x468e1c
push dword [esi + 0x4c]
push dword [esi + 8]
call edi
test eax, eax
jne 0x468e1f
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x40]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x468e16
mov bl, 1
jmp 0x468e1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop ebx
pop edi
leave
ret 0xc
Function at 0x468e30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
mov ebx, eax
call edi
test eax, eax
je 0x468e5a
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x468f12
push 0
push dword [esi + 4]
call edi
cmp eax, 0x80
jne 0x468e71
mov dword [esi + 0x48], 0x2734
jmp 0x468e53
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
and dword [ebx], 0
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x468ecf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x468f04
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x468f07
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x468efe
mov bl, 1
jmp 0x468f09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop edi
pop ebx
leave
ret 4
Function at 0x472a04
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x57b750]
xor eax, ebp
mov dword [ebp + 0x190], eax
and dword [ebp - 0x7c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.004be850
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004024df
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
mov eax, esi
call fcn.004b96ff
add ebp, 0x194
leave
ret

Function at 0x472a97
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x57b750]
xor eax, ebp
mov dword [ebp + 0x190], eax
and dword [ebp - 0x7c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.004be850
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004024df
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
mov eax, esi
call fcn.004b96ff
add ebp, 0x194
leave
ret
Function at 0x472b90
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xc
mov eax, 0x4dc834
call fcn.004becb0
lea esi, [ebp - 0x10]
call fcn.00472a04
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x585970], ebx
jne 0x472bf1
push ecx
mov dword [ebp - 0x14], esp
mov esi, esp
push 0x523938
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.RESOURCESTRING
call fcn.004024df
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.IDS_CLEAN_REG_FOR_FREE
call fcn.004024df
push esi
mov byte [ebp - 4], bl
call fcn.004068e2
lea ecx, [ebp - 0x10]
call fcn.004067db
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.004025dd
lea esi, [ebp - 0x14]
call fcn.00472a97
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040257e
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
cmp dword [0x585970], ebx
jne 0x472c7d
push ecx
mov dword [ebp - 0x18], esp
mov esi, esp
push 0x523938
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.RESOURCESTRING
call fcn.004024df
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.IDS_CLEAN_REG_FOR_FREE
call fcn.004024df
push esi
mov byte [ebp - 4], bl
call fcn.004068e2
lea ecx, [ebp - 0x10]
call fcn.004067db
push 0x80
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.00472b2a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004027b0
call fcn.004bed88
ret