joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49918c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49933d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040593c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x499354
call fcn.00405598
mov eax, ebx
call fcn.004283f4
mov edi, eax
dec edi
test edi, edi
jl 0x499244
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004283c8
mov edx, dword [0x466640]
call fcn.004045e8
test al, al
je 0x499240
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004283c8
lea edx, [ebp - 0x14]
call fcn.00473d9c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040593c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040560c
inc esi
dec edi
jne 0x4991f2
mov al, byte [0x499358]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x499364
mov eax, dword [ebp - 0xc]
call fcn.00410c34
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405324
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00473d9c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x499354
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00473d9c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x499354
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x499354
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x499370
call fcn.0040bf48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499344
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 0x14]
call fcn.0040528c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004052b0
ret
Function at 0x49a7f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b148]
call fcn.00405dfc
xor eax, eax
push ebp
push 0x49a934
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x88444c], 0
jne 0x49a843
mov ecx, dword [0x892360]
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f444
call fcn.00404c28
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403464
mov eax, ebx
call fcn.00405b50
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49a944
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004070f4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405b60
test eax, eax
jle 0x49a8db
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49a8d4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405514
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004054fc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a228
test eax, eax
jne 0x49a8d4
mov ebx, 0x15
jmp 0x49a8e0
mov ebx, 0x10
jmp 0x49a8e0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x88444c]
call fcn.0049a748
mov eax, dword [ebp - 8]
call fcn.0049a748
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040710c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a93b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 0x10]
mov edx, dword [0x41b148]
call fcn.00405ecc
ret
Function at 0x49c028
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x49c190
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040b1d4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a048
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040554c
mov ecx, eax
mov edx, 2
mov eax, dword [ebp - 0x1c]
call fcn.004057ac
mov eax, dword [ebp - 0x1c]
mov edx, 0x49c1a4
call fcn.00405698
jne 0x49c0a6
lea eax, [ebp - 0x1c]
mov edx, 0x49c1b0
call fcn.00405324
mov eax, dword [ebp - 0x1c]
call fcn.0040574c
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040b0d4
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00405324
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
mov eax, dword [0x894668]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x894668]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49c120
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, 0x49c1c0
call fcn.00405598
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x41bac8]
call fcn.0040f388
call fcn.00404c28
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.00421da8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x894668]
push eax
call sub.kernel32.dll_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00421828
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00408bdc
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c197
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040528c
ret
Function at 0x49f15c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0040281c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49f1cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405484
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f1d4
mov eax, dword [ebp - 0xc]
call fcn.0040283c
ret

Function at 0x49f29c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x40
call fcn.00403464
mov eax, dword [ebp - 4]
mov dword [eax], 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49f2ef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49f3d4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f2f9
cmp dword [ebp - 0xc], 0
je 0x49f310
push 0x49f3e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49f360
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x10]
test eax, eax
je 0x49f360
xor eax, eax
push ebp
push 0x49f34c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x49f33e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f35a
cmp byte [ebp - 5], 0
jne 0x49f3ca
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 4]
mov dword [eax], 1
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1934
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x105
mov eax, dword [ebp - 8]
call fcn.0040b6d0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempPathA
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0040b6bc
mov eax, dword [ebp - 0xc]
call fcn.0040b71c
mov esp, ebp
pop ebp
ret

Function at 0x4a1974
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040573c
mov eax, dword [ebp - 0xc]
call fcn.0040573c
xor eax, eax
push ebp
push 0x4a1a11
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040574c
push eax
push 1
push 3
push 1
push 0x10030
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a19e9
mov byte [ebp - 0xd], 0
jmp 0x4a19f6
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1a18
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004052b0
ret

Function at 0x4a1a20
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x4a1b23
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a1a70
mov byte [ebp - 9], 0
jmp 0x4a1b00
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [0x884494], eax
cmp byte [0x884498], 0
je 0x4a1af7
cmp byte [ebp - 9], 0
jne 0x4a1ae4
push 0
push 0x4a1b34
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040a878
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4a1b48
call fcn.00405598
mov eax, dword [ebp - 0x1c]
call fcn.0040574c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4a1af7
push 0
push 0x4a1b50
push 0x4a1b60
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1b2a
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 8]
call fcn.0040528c
ret
Function at 0x4a1c14
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x4a1c96
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4a1c59
mov byte [ebp - 9], 0
jmp 0x4a1c80
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov al, byte [ebp - 0x11]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1c9d
lea eax, [ebp - 8]
call fcn.0040528c
ret

Function at 0x4a1ca4
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x4a1d2b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10000
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4a1cec
mov byte [ebp - 9], 0
jmp 0x4a1d15
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_DeleteService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov al, byte [ebp - 0x11]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1d32
lea eax, [ebp - 8]
call fcn.0040528c
ret
Function at 0x4a1ed4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a1edc
push ecx
xor eax, eax
push ebp
push 0x4a20aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x894d58], 0x80102058
mov dword [0x894d5c], 0x8010205c
mov dword [0x894d60], 0x80102060
mov dword [0x894d64], 0x80102064
mov dword [0x894d68], 0x80102068
mov dword [0x894d6c], 0x8010206c
mov dword [0x894d70], 0x8010204c
mov dword [0x894d74], 0x80102050
mov dword [0x894d78], 0x80102054
mov dword [0x894d7c], 0x80102040
mov dword [0x894d80], 0x80102044
mov dword [0x894d84], 0x80102070
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402c0c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
mov edx, 0x4a20c0
call fcn.0040b0d4
mov eax, dword [ebp - 8]
call fcn.0040ad3c
test al, al
jne 0x4a1faa
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402c0c
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 8]
mov edx, 0x4a20d0
call fcn.0040b0d4
cmp dword [0x88448c], 0
je 0x4a1fc1
lea eax, [ebp - 8]
mov edx, dword [0x88448c]
call fcn.00405324
mov eax, dword [0x894d8c]
call fcn.004a1d3c
mov ecx, 0x894d88
mov edx, dword [ebp - 8]
mov eax, dword [0x894d8c]
call fcn.004a1e24
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4a207c
mov eax, dword [0x894d8c]
call fcn.004a1d3c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0040b19c
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
call fcn.004a1934
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004100b4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00405598
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040574c
push eax
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4a207c
xor eax, eax
mov dword [0x884490], eax
jmp 0x4a2073
mov ecx, 0x894d88
mov edx, dword [ebp - 0xc]
mov eax, dword [0x894d8c]
call fcn.004a1e24
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4a207c
push 0x1f4
call sub.kernel32.dll_Sleep_1
inc dword [0x884490]
cmp dword [0x884490], 5
jl 0x4a2048
mov al, byte [ebp - 0xd]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a20b1
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004052b0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004052b0
ret
Function at 0x4a20d8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x4a226e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x894d58], 0x80102058
mov dword [0x894d5c], 0x8010205c
mov dword [0x894d60], 0x80102060
mov dword [0x894d64], 0x80102064
mov dword [0x894d68], 0x80102068
mov dword [0x894d6c], 0x8010206c
mov dword [0x894d70], 0x8010204c
mov dword [0x894d74], 0x80102050
mov dword [0x894d78], 0x80102054
mov dword [0x894d7c], 0x80102040
mov dword [0x894d80], 0x80102044
mov dword [0x894d84], 0x80102070
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402c0c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
mov edx, 0x4a2284
call fcn.0040b0d4
mov eax, dword [0x894d8c]
call fcn.004a1d3c
mov ecx, 0x894d88
mov edx, dword [ebp - 8]
mov eax, dword [0x894d8c]
call fcn.004a1e24
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4a2240
mov eax, dword [0x894d8c]
call fcn.004a1d3c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040b19c
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
call fcn.004a1934
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004100b4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00405598
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040574c
push eax
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4a2240
xor eax, eax
mov dword [0x884490], eax
jmp 0x4a2237
mov ecx, 0x894d88
mov edx, dword [ebp - 0xc]
mov eax, dword [0x894d8c]
call fcn.004a1e24
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4a2240
push 0x1f4
call sub.kernel32.dll_Sleep_1
inc dword [0x884490]
cmp dword [0x884490], 5
jl 0x4a220c
mov al, byte [ebp - 0xd]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2275
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004052b0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004052b0
ret
Function at 0x4a228c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a2294
push ecx
xor eax, eax
push ebp
push 0x4a241a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x894d58], 2
mov dword [0x894d5c], 3
mov dword [0x894d60], 4
mov dword [0x894d64], 5
mov dword [0x894d68], 6
mov dword [0x894d6c], 7
mov dword [0x894d70], 8
mov dword [0x894d74], 9
mov dword [0x894d78], 0xa
mov dword [0x894d7c], 0xb
mov dword [0x894d80], 0xc
mov dword [0x894d84], 0xd
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402c0c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
mov edx, 0x4a2430
call fcn.0040b0d4
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, 0x4a2440
call fcn.00405598
mov eax, dword [ebp - 0x14]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [0x894d88], eax
cmp dword [0x894d88], 0xffffffff
jne 0x4a23f4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040b19c
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
call fcn.004a1934
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004100b4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00405598
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040574c
push eax
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4a23f4
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4a2440
call fcn.00405598
mov eax, dword [ebp - 0x24]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [0x894d88], eax
cmp dword [0x894d88], 0xffffffff
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2421
lea eax, [ebp - 0x24]
mov edx, 8
call fcn.004052b0
ret
Function at 0x4a3e20
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x4a3f28
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor eax, eax
push ebp
push 0x4a3ef7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a3ed7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a3ebf
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 2]
mov byte [eax + 2], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 3]
mov byte [eax + 3], dl
jmp 0x4a3eed
mov ecx, 0x4a3f40
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
jmp 0x4a3eed
mov ecx, 0x4a3f68
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a3f0d
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3f2f
lea eax, [ebp - 4]
call fcn.0040528c
ret

Function at 0x4a3f80
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x4a400e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
call sub.icmp.dll_IcmpCreateFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4a3ff8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004a3e20
mov eax, dword [ebp - 8]
push eax
push 0x80
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
call sub.icmp.dll_IcmpSendEcho
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
setne byte [ebp - 9]
mov eax, dword [ebp - 0x10]
push eax
call sub.icmp.dll_IcmpCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4015
lea eax, [ebp - 4]
call fcn.0040528c
ret