joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d854
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46d85c
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x46d995
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x41
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405718
lea eax, [ebp - 0xc]
mov edx, 0x46d9ac
call fcn.00405818
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
mov esi, eax
cmp esi, 1
jle 0x46d95e
lea eax, [ebp - 0x18]
call fcn.00489d40
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040a5d4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409b7c
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
call fcn.004039a0
mov edx, 0x46d9b0
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403970
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x20]
call fcn.00405794
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409b7c
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00405974
jne 0x46d920
lea eax, [ebp - 8]
mov edx, 0x46d9bc
call fcn.004055c8
jmp 0x46d92f
lea eax, [ebp - 8]
mov edx, dword [esi*4 + 0x4941f8]
call fcn.004055c8
push dword [ebp - 4]
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00405718
push dword [ebp - 0x2c]
push 0x46d9ac
push 0x46d9d0
push dword [ebp - 8]
push 0x46d9dc
lea eax, [ebp - 4]
mov edx, 6
call fcn.004058e0
inc ebx
cmp bl, 0x5b
jne 0x46d879
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d99c
lea eax, [ebp - 0x2c]
call fcn.00405530
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405554
ret

Function at 0x46d9e0
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x11
call fcn.004057a0
add esp, 0x18
pop ebx
ret

Function at 0x46da50
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x46da84
call sub.user32.dll_FindWindowA
push 0
push 0x46da94
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x46daa4
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x46dab4
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x46dae8
call sub.user32.dll_FindWindowA
push 0
push 0x46daf8
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x46db08
push 0
push eax
call sub.user32.dll_FindWindowExA
push 5
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x46db18
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x46db3c
call sub.user32.dll_FindWindowA
push 0
push 0x46db4c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x46db5c
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x46db80
call sub.user32.dll_FindWindowA
push 0
push 0x46db90
push 0
push eax
call sub.user32.dll_FindWindowExA
push 5
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x46dd38
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
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 0x46ddf8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46dddd
xor eax, eax
push ebp
push 0x46ddd6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.advapi32.dll_StartServiceA
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dddd
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ddff
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x46e0dc
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
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 0x46e238
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409edc
cmp eax, 5
ja case.default.0x46e122
jmp dword [eax*4 + 0x46e129]
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA
jmp case.default.0x46e122
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
jmp case.default.0x46e122
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
jmp case.default.0x46e122
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA
jmp case.default.0x46e122
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA
jmp case.default.0x46e122
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e23f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret
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
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
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
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
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
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
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
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 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 0x47101f
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 0x471047
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 0x47107a
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 0x4710a2
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
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 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 0x473448
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 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
mov eax, dword [ebp + 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x473525
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x473538
call sub.wininet.dll_InternetOpenA
mov dword [0x49a18c], eax
cmp dword [0x49a18c], 0
je 0x4734ee
push 0
push 0x8000000
push 1
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp + 8]
call fcn.00409edc
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [0x49a18c]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [0x49a188], eax
cmp dword [0x49a188], 0
je 0x4734ee
jmp 0x4734f9
xor ebx, ebx
mov byte [0x49422c], 0
jmp 0x473502
mov bl, 1
mov byte [0x49422c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47352c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret

Function at 0x473560
Capabilities:
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
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 0x4735d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x49422c], 0
je 0x4735bd
xor ebx, ebx
push 0
push 2
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [0x49a188]
push eax
call sub.wininet.dll_FtpPutFileA
test eax, eax
je 0x4735bd
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4735df
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x473978
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x473a27
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4739aa
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4739cf
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405a44
mov eax, dword [ebp - 8]
mov edx, 0x473a3c
call fcn.00405974
je 0x473a02
mov eax, esi
mov ecx, 0x473a3c
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x473a0c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473a2e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x473d08
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x473daa
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x473d94
push 0
push edi
call sub.KERNEL32.DLL_GetFileSize
mov esi, eax
push esi
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x473948]
call fcn.00406928
add esp, 4
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push edi
call sub.KERNEL32.DLL_ReadFile
push edi
call sub.KERNEL32.DLL_CloseHandle
cmp esi, dword [ebp - 0xc]
jne 0x473d94
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473db1
lea eax, [ebp - 4]
call fcn.00405530
ret