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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e391
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409edc
cmp eax, 5
ja case.default.0x46e27f
jmp dword [eax*4 + 0x46e286]
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e27f
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e27f
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e27f
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e27f
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e27f
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
push 0x46e39c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteKeyA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e398
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x46e3f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e55e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x46e51a
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x124]
mov eax, dword [0x494a38]
call fcn.0042be44
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x14]
mov ecx, 0x46e56c
call fcn.00407050
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.004057a0
push dword [ebp - 0x128]
push 0x46e584
push dword [ebp - 8]
push 0x46e590
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004058e0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
call fcn.0040646c
push eax
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 0x14]
mov ecx, 0x46e598
call fcn.00407050
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e565
lea eax, [ebp - 0x12c]
call fcn.0040700c
lea eax, [ebp - 0x128]
call fcn.00405530
lea eax, [ebp - 0x124]
call fcn.0040700c
lea eax, [ebp - 0x14]
call fcn.0040700c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret
Function at 0x46e5b0
Capabilities:
Get system information on windows

Disassembly:
push ebx
add esp, 0xfffffe68
xor ebx, ebx
push 0
push 0x2c
lea eax, [esp + 0x160]
push eax
push 0
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e6f7
push 0
push 0x20
lea eax, [esp + 0x140]
push eax
push 3
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e6f7
push 0
push 0x138
lea eax, [esp + 8]
push eax
push 2
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e6f7
cmp dword [0x494218], 0
jne 0x46e61a
cmp dword [0x494214], 0
je 0x46e6ca
mov eax, dword [esp]
mov edx, dword [esp + 4]
sub eax, dword [0x494214]
sbb edx, dword [0x494218]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], edx
fild qword [esp + 0x184]
mov eax, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
sub eax, dword [0x49421c]
sbb edx, dword [0x494220]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], edx
fild qword [esp + 0x18c]
fdivp st(1)
fmul dword [0x46e704]
movzx eax, byte [esp + 0x180]
mov dword [esp + 0x194], eax
fild dword [esp + 0x194]
fdivp st(1)
fsubr dword [0x46e704]
fadd dword [0x46e708]
call fcn.0040345c
mov dword [0x494224], eax
mov eax, dword [0x494224]
xor edx, edx
cmp edx, dword [0x494218]
jne 0x46e6c2
cmp eax, dword [0x494214]
je 0x46e6ca
mov ebx, dword [0x494224]
mov eax, dword [esp]
mov dword [0x494214], eax
mov eax, dword [esp + 4]
mov dword [0x494218], eax
mov eax, dword [esp + 0x140]
mov dword [0x49421c], eax
mov eax, dword [esp + 0x144]
mov dword [0x494220], eax
mov eax, ebx
add esp, 0x198
pop ebx
ret
Function at 0x471010
Capabilities:
Find taskbar

Disassembly:
cmp al, 1
jne 0x471038
push 0xffffffffffffffff
push 0
push 0x471060
push 0
push 0
push 0x471068
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
push eax
call sub.user32.dll_EnableWindow
ret
test al, al
jne 0x47105f
push 0
push 0
push 0x471060
push 0
push 0
push 0x471068
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
push eax
call sub.user32.dll_EnableWindow
ret

Function at 0x471078
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push 5
push 0
push 0x471090
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4710a0
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push 0
push 0
push 0x4710b8
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4710f0
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4711ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4711c8
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x471199
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x47118b
lea edx, [ebp - 4]
lea eax, [ebp - 0x84]
call fcn.0040aaa8
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.004097dc
mov eax, dword [ebp - 0x88]
mov edx, 0x4711e0
call fcn.00405974
jne 0x47118b
cmp bl, 1
jne 0x471183
push 1
push esi
call sub.user32.dll_ShowWindow
jmp 0x47118b
push 0
push esi
call sub.user32.dll_ShowWindow
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x471130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4711c1
lea eax, [ebp - 0x88]
call fcn.00405530
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x4711e8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp + 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x471291
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push esi
call sub.advapi32.dll_RegCreateKeyA
mov esi, dword [ebp + 8]
test esi, esi
je 0x47123f
sub esi, 4
mov esi, dword [esi]
push esi
mov eax, dword [ebp + 8]
call fcn.004059dc
push eax
push 2
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x471265
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471298
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret
Function at 0x4714b8
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x47159e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405530
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x47157e
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x47151a
mov edi, 0x10
jmp 0x47151f
mov edi, 0x20
or edi, 4
push edi
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov edi, eax
test edi, edi
jbe 0x471578
cmp dword [ebp - 8], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x471568
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x47155c
lea eax, [ebp - 0x10]
push eax
push 0
push edi
call sub.advapi32.dll_StartServiceA
jmp 0x471568
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov edx, esi
mov eax, dword [ebp - 0x28]
call fcn.00471380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4715a5
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x471640
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x471649
mov eax, dword [ebp - 4]
add esp, 0xfffff7d8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4828], edx
mov dword [ebp - 0x482c], edx
mov dword [ebp - 0x4820], edx
mov dword [ebp - 0x4824], edx
mov dword [ebp - 0x481c], edx
mov dword [ebp - 0x4818], edx
mov esi, eax
xor eax, eax
push ebp
push 0x471828
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405530
push 5
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x47180a
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4800
lea eax, [ebp - 0x4814]
push eax
push 3
push 0x13f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EnumServicesStatusA
mov edi, dword [ebp - 0x10]
dec edi
test edi, edi
jl 0x4717f1
inc edi
lea ebx, [ebp - 0x4814]
mov eax, dword [ebx]
test eax, eax
je 0x4716fd
cmp byte [eax], 0
jne 0x47170d
mov eax, esi
mov edx, 0x471840
call fcn.00405818
jmp 0x471733
push dword [esi]
lea eax, [ebp - 0x4818]
mov edx, dword [ebx]
call fcn.00405728
push dword [ebp - 0x4818]
push 0x471840
mov eax, esi
mov edx, 3
call fcn.004058e0
mov eax, dword [ebx + 4]
test eax, eax
je 0x47173d
cmp byte [eax], 0
jne 0x47174d
mov eax, esi
mov edx, 0x471840
call fcn.00405818
jmp 0x471774
push dword [esi]
lea eax, [ebp - 0x481c]
mov edx, dword [ebx + 4]
call fcn.00405728
push dword [ebp - 0x481c]
push 0x471840
mov eax, esi
mov edx, 3
call fcn.004058e0
push dword [esi]
lea eax, [ebp - 0x4824]
mov edx, dword [ebx]
call fcn.00405728
mov eax, dword [ebp - 0x4824]
lea edx, [ebp - 0x4820]
call fcn.004712a4
push dword [ebp - 0x4820]
push 0x471840
mov eax, esi
mov edx, 3
call fcn.004058e0
push dword [esi]
lea eax, [ebp - 0x4828]
push eax
lea eax, [ebp - 0x482c]
mov edx, dword [ebx]
call fcn.00405728
mov eax, dword [ebp - 0x482c]
xor ecx, ecx
xor edx, edx
call fcn.004714b8
push dword [ebp - 0x4828]
push 0x47184c
mov eax, esi
mov edx, 3
call fcn.004058e0
add ebx, 0x24
dec edi
jne 0x4716f4
cmp dword [ebp - 0xc], 0
jne 0x4716b9
cmp dword [ebp - 8], 0
jbe 0x47180a
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47182f
lea eax, [ebp - 0x482c]
mov edx, 6
call fcn.00405554
ret
Function at 0x471850
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x471976
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x471953
xor eax, eax
push ebp
push 0x47193b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push 0
push 2
push 0x110
push 0xf01ff
push esi
push esi
push ebx
call sub.advapi32.dll_CreateServiceA
mov edi, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405728
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.00405728
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x471990
call fcn.00405864
mov eax, dword [ebp - 0x18]
call fcn.004059dc
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00405728
mov edx, dword [ebp - 0x14]
mov ecx, 0x4719bc
mov eax, 0x80000002
call fcn.004711e8
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47194c
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47197d
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x472924
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x472969
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472970
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x472974
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x4729d0
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a5a0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4729d7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x4729dc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe14
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x472c12
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x472bd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405530
lea eax, [ebp - 0x1e0]
call fcn.004719c8
lea eax, [ebp - 0x1e0]
mov edx, 0x472c28
call fcn.00405818
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
call fcn.00403770
movzx eax, byte [0x472c3c]
push eax
lea eax, [ebp - 0x1e4]
push eax
mov ecx, 0x472c48
mov edx, 0x472c54
mov eax, dword [ebp - 4]
call fcn.0040ef44
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 4]
call fcn.004055c8
movzx eax, byte [0x472c3c]
push eax
lea eax, [ebp - 0x1e8]
push eax
mov ecx, 0x472c60
mov edx, 0x472c6c
mov eax, dword [ebp - 4]
call fcn.0040ef44
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 4]
call fcn.004055c8
xor eax, eax
push ebp
push 0x472b0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
lea eax, [ebp - 0x1ec]
call fcn.004719c8
lea eax, [ebp - 0x1ec]
mov edx, 0x472c28
call fcn.00405818
mov eax, dword [ebp - 0x1ec]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472b17
cmp byte [ebp - 0xd], 0
je 0x472b89
lea eax, [ebp - 0x1dc]
call fcn.004034f4
call fcn.0040305c
jmp 0x472b65
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.00403cc4
lea eax, [ebp - 0x1dc]
call fcn.00403d30
call fcn.0040305c
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x472c48
lea eax, [ebp - 8]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x1dc]
call fcn.00403abc
call fcn.0040305c
test al, al
je 0x472b2f
lea eax, [ebp - 0x1dc]
call fcn.00403918
call fcn.0040305c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405818
lea eax, [ebp - 0x1dc]
call fcn.00403500
call fcn.0040305c
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1dc]
call fcn.00405cd0
call fcn.004040ac
call fcn.0040305c
lea eax, [ebp - 0x1dc]
call fcn.00403918
call fcn.0040305c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472be7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472c19
lea eax, [ebp - 0x1ec]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret
Function at 0x472c70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe20
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
lea esi, [ebp - 0x1d4]
xor eax, eax
push ebp
push 0x472de7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x472dab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00405530
lea eax, [ebp - 0x1d8]
call fcn.004719c8
lea eax, [ebp - 0x1d8]
mov edx, 0x472e00
call fcn.00405818
mov edx, dword [ebp - 0x1d8]
mov eax, esi
call fcn.00403770
push 0x80
lea eax, [ebp - 0x1dc]
call fcn.004719c8
lea eax, [ebp - 0x1dc]
mov edx, 0x472e00
call fcn.00405818
mov eax, dword [ebp - 0x1dc]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, esi
call fcn.004034f4
call fcn.0040305c
jmp 0x472d57
lea edx, [ebp - 8]
mov eax, esi
call fcn.00403cc4
mov eax, esi
call fcn.00403d30
call fcn.0040305c
push dword [ebp - 4]
push dword [ebp - 8]
push 0x472e1c
lea eax, [ebp - 4]
mov edx, 3
call fcn.004058e0
mov eax, esi
call fcn.00403abc
call fcn.0040305c
test al, al
je 0x472d29
mov eax, esi
call fcn.00403918
call fcn.0040305c
lea edx, [ebp - 0x1e0]
mov eax, dword [ebp - 4]
call fcn.00409b7c
cmp dword [ebp - 0x1e0], 0
jne 0x472d97
lea eax, [ebp - 4]
mov edx, 0x472e28
call fcn.004055c8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472dee
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x473208
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x65c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x473339
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.00405530
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x473320
xor edx, edx
push ebp
push 0x47330b
push dword fs:[edx]
mov dword fs:[edx], esp
lea ebx, [ebp - 8]
push 0
push 0
push ebx
push 0x400
lea eax, [ebp - 0x658]
push eax
push 0
push 0
push 0x4004747f
mov eax, dword [ebp - 4]
push eax
call sub.WS2_32.DLL_WSAIoctl
inc eax
je 0x473301
mov eax, dword [ebp - 8]
mov ecx, 0x4c
cdq
idiv ecx
dec eax
test eax, eax
jl 0x473301
inc eax
mov dword [ebp - 0xc], eax
lea ebx, [ebp - 0x654]
push esi
mov esi, ebx
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [ebp - 0x65c]
mov edx, edi
call fcn.00405728
mov edx, dword [ebp - 0x65c]
mov eax, esi
call fcn.00405818
push esi
lea esi, [ebx + 0x30]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebx + 0x18]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov eax, esi
mov edx, 0x473354
call fcn.00405818
add ebx, 0x4c
dec dword [ebp - 0xc]
jne 0x47329e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x473315
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_closesocket
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473340
lea eax, [ebp - 0x65c]
call fcn.00405530
ret