joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bbd60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x410], 0
push 0x400
push 0
lea eax, [ebp - 0x40f]
push eax
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x418], 0
cmp dword [ebp + 8], 0
je 0x5bbdd7
push 0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.00527a50
add esp, 0x10
jmp 0x5bbdfc
cmp dword [ebp + 8], 0
jne 0x5bbdfc
push 0x400
lea eax, [ebp - 0x410]
push eax
call fcn.005a39e0
add esp, 8
test eax, eax
je 0x5bbdfc
xor eax, eax
jmp 0x5bbfb8
push 1
call fcn.005bd420
add esp, 4
test eax, eax
jne 0x5bbe11
xor eax, eax
jmp 0x5bbfb8
push 0x400
lea ecx, [ebp - 0x410]
push ecx
call fcn.00595150
add esp, 8
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.005a25a0
add esp, 8
mov dword [ebp - 0x414], eax
push 0
push 0x20
push 0
lea ecx, [ebp - 0x440]
push ecx
call fcn.005286a0
add esp, 0x10
mov dword [ebp - 0x440], 2
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x43c], 2
cmp dword [ebp - 0x414], 0
je 0x5bbe88
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x444], edx
jmp 0x5bbe94
lea eax, [ebp - 0x410]
mov dword [ebp - 0x444], eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x440]
push edx
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x5bbebe
cmp dword [ebp - 0x420], 0
jne 0x5bbedd
cmp dword [ebp - 0x414], 0
je 0x5bbed6
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.005834f0
add esp, 4
xor eax, eax
jmp 0x5bbfb8
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x41c], edx
jmp 0x5bbefa
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0
je 0x5bbf8d
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.005286a0
add esp, 0x10
push 2
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x5bbf49
jmp 0x5bbeeb
push 0
push str.127.0.0.1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00527cc0
add esp, 0xc
test eax, eax
je 0x5bbf77
push 0
push str.0.0.0.0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bbf7c
jmp 0x5bbeeb
mov dword [ebp - 0x418], 1
jmp 0x5bbf8d
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 0x414], 0
je 0x5bbfb2
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.005834f0
add esp, 4
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x5c82c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
mov byte [ebp - 8], cl
mov edx, dword [ebp + 0x10]
sar edx, 8
and edx, 0xff
mov byte [ebp - 7], dl
mov eax, dword [ebp + 0x10]
sar eax, 0x10
and eax, 0xff
mov byte [ebp - 6], al
mov ecx, dword [ebp + 0x10]
sar ecx, 0x18
and ecx, 0xff
mov byte [ebp - 5], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
test edx, edx
je 0x5c8351
mov ecx, dword [ebp - 4]
movsx edx, byte [ebp + ecx - 8]
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx], cl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jle 0x5c8346
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x5c830b
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x5d8d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x5d8d34
mov eax, dword [ebp + 0x10]
mov dword [0x6b13ac], eax
jmp 0x5d8d3e
mov dword [0x6b13ac], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [0x6b13a4], ecx
cmp dword [0x6af5bc], 0
je 0x5d8d5f
mov edx, dword [0x6b13a0]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x5d8dd0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x6b13a0], eax
cmp dword [0x6b13a0], 0
jne 0x5d8d7f
xor eax, eax
jmp 0x5d8dd5
push 4
push 1
call fcn.00537afe
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5d8d98
xor eax, eax
jmp 0x5d8dd5
mov eax, dword [ebp - 4]
mov ecx, dword [0x6b13a0]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0x5d8c90
call fcn.00539625
add esp, 0xc
mov dword [0x6af5bc], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x6af5bc], 0
jne 0x5d8dd0
xor eax, eax
jmp 0x5d8dd5
mov eax, dword [0x6af5bc]
mov esp, ebp
pop ebp
ret

Function at 0x5d8e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.00539dbc
add esp, 4
mov dword [0x6af1b0], eax
cmp dword [0x6af1b0], 0
je 0x5d8e37
mov eax, dword [0x6af1b0]
jmp 0x5d8eb2
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push str.SOFTWAREFLEXlm_License_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5d8eb0
mov dword [ebp - 0xc], 0x400
lea edx, [ebp - 0xc]
push edx
push 0x6af1b8
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5d8ea2
mov dword [0x6af1b0], 0x6af1b8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6af1b0]
jmp 0x5d8eb2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x5d8eb2
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5e03f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x5e042f
push 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.005e0360
add esp, 8
cmp eax, 0xffffffff
jne 0x5e042f
call fcn.005e0130
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
call fcn.005e0460
test eax, eax
je 0x5e044f
push 4
lea edx, [ebp - 4]
push edx
push 0x1b
push 0x29
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov esp, ebp
pop ebp
ret

Function at 0x5e0460
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 8], edx
cmp dword [ebp - 0x10], 6
jb 0x5e04b4
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x604c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x40], 0xc
mov byte [ebp - 0x3f], 0x52
mov byte [ebp - 0x3e], 0xe3
mov byte [ebp - 0x3d], 0xa8
mov byte [ebp - 0x3c], 0xf6
mov byte [ebp - 0x3b], 0xd4
mov byte [ebp - 0x3a], 0xc7
mov byte [ebp - 0x39], 0x68
mov byte [ebp - 0x38], 0xf2
mov byte [ebp - 0x37], 0x36
mov byte [ebp - 0x36], 0x1c
mov byte [ebp - 0x35], 0x88
mov byte [ebp - 0x34], 0x15
mov byte [ebp - 0x33], 0x36
mov byte [ebp - 0x32], 0x97
mov byte [ebp - 0x31], 0xde
mov byte [ebp - 0x30], 0x55
mov byte [ebp - 0x2f], 0x9a
mov byte [ebp - 0x2e], 0x9e
mov byte [ebp - 0x2d], 0xdf
mov byte [ebp - 0x2c], 5
mov byte [ebp - 0x2b], 0xd5
mov byte [ebp - 0x2a], 0xf3
mov byte [ebp - 0x29], 0x52
mov byte [ebp - 0x28], 0xe1
mov byte [ebp - 0x27], 0xe1
mov byte [ebp - 0x26], 0xcb
mov byte [ebp - 0x25], 0xfb
mov byte [ebp - 0x24], 0xb4
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0xca
mov byte [ebp - 0x20], 0x29
mov byte [ebp - 0x1f], 0xed
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x62
mov byte [ebp - 0x1c], 0x6a
mov byte [ebp - 0x1b], 0xba
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0xa1
mov byte [ebp - 0x18], 0xb0
mov byte [ebp - 0x17], 0x2b
mov byte [ebp - 0x16], 0x27
mov byte [ebp - 0x15], 0x60
mov byte [ebp - 0x14], 0x87
mov byte [ebp - 0x13], 0x81
mov byte [ebp - 0x12], 0xd1
mov byte [ebp - 0x11], 0xa4
mov byte [ebp - 0x10], 0x10
mov byte [ebp - 0xf], 0xf7
mov byte [ebp - 0xe], 0xd2
mov byte [ebp - 0xd], 0x6b
mov byte [ebp - 0xc], 0xce
mov byte [ebp - 0xb], 0xb5
mov byte [ebp - 0xa], 0x12
mov byte [ebp - 9], 0xc5
mov dword [ebp - 0x44], 0x38
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x44]
ja 0x604d33
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp + edx - 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00528390
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret

Function at 0x6052b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 0x6a07f0
lea eax, [ebp - 0x28]
push eax
call fcn.00527900
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x6052e5
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jge 0x605306
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x6052fc
jmp 0x605306
mov al, byte [ebp - 0x28]
sub al, 1
mov byte [ebp - 0x28], al
jmp 0x6052dc
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x605c00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x68d878
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00611fe0
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00612200
add esp, 8
push 0x40
push 0x1000
mov edx, dword [ebp - 0xc]
add edx, 0xa
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x605c54
xor eax, eax
jmp 0x605c8d
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00528390
add esp, 0x10
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.005286a0
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call fcn.005834f0
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x610780
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc50
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0
push 0x401
push 0
lea ecx, [ebp - 0x828]
push ecx
call fcn.005286a0
add esp, 0x10
push 0
push 0x20
push 0
lea edx, [ebp - 0x848]
push edx
call fcn.005286a0
add esp, 0x10
push 0
push 0x401
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.005286a0
add esp, 0x10
push 0
push 0x401
push 0
lea ecx, [ebp - 0xc50]
push ecx
call fcn.005286a0
add esp, 0x10
push 0xa
push 0x20
lea edx, [ebp - 0x848]
push edx
push 0x401
lea eax, [ebp - 0x828]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x610850
mov eax, dword [ebp - 4]
push eax
call fcn.005bd710
add esp, 4
mov eax, dword [ebp - 0x41c]
jmp 0x610885
lea ecx, [ebp - 0x848]
push ecx
call fcn.00536a8b
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 0x828]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.006108a0
add esp, 0x10
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x610ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0xb0
mov byte [ebp - 0x3a], 0x4b
mov byte [ebp - 0x39], 0xa0
mov byte [ebp - 0x38], 0xad
mov byte [ebp - 0x37], 0xef
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x35], 0x4e
mov byte [ebp - 0x34], 0xa3
mov byte [ebp - 0x33], 0x2f
mov byte [ebp - 0x32], 0x90
mov byte [ebp - 0x31], 0xd2
mov byte [ebp - 0x30], 0xb0
mov byte [ebp - 0x2f], 0x45
mov byte [ebp - 0x2e], 0xa2
mov byte [ebp - 0x2d], 0x75
mov byte [ebp - 0x2c], 0x85
mov byte [ebp - 0x2b], 0xe8
mov byte [ebp - 0x2a], 0xa3
mov byte [ebp - 0x29], 0xfb
mov byte [ebp - 0x28], 0x7b
mov byte [ebp - 0x27], 0xd4
mov byte [ebp - 0x26], 0x81
mov byte [ebp - 0x25], 0x38
mov byte [ebp - 0x24], 0xd6
mov byte [ebp - 0x23], 0xf5
mov byte [ebp - 0x22], 0xdc
mov byte [ebp - 0x21], 0xa4
mov byte [ebp - 0x20], 0xba
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0xf8
mov byte [ebp - 0x1d], 0xb9
mov byte [ebp - 0x1c], 0xe9
mov byte [ebp - 0x1b], 0x83
mov byte [ebp - 0x1a], 0x8a
mov byte [ebp - 0x19], 0x7f
mov byte [ebp - 0x18], 0xa6
mov byte [ebp - 0x17], 0x18
mov byte [ebp - 0x16], 0xac
mov byte [ebp - 0x15], 0x17
mov byte [ebp - 0x14], 0xb9
mov byte [ebp - 0x13], 0x88
mov byte [ebp - 0x12], 0x11
mov byte [ebp - 0x11], 0xaa
mov byte [ebp - 0x10], 0x7a
mov byte [ebp - 0xf], 0x47
mov byte [ebp - 0xe], 0xf3
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], 0x37
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 2
mov byte [ebp - 9], 0xa
mov byte [ebp - 8], 0x1d
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x9c
mov byte [ebp - 5], 0x69
mov dword [ebp - 0x44], 0x38
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x44]
ja 0x610e03
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp + edx - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00528390
add esp, 0x10
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x610e20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x610f86
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x130], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x610f7a
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x610f64
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x6a35b4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.00534c8a
add esp, 4
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push str.ServiceName
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x12c], 0
je 0x610f55
push 0
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00527900
add esp, 0xc
mov eax, dword [ebp - 0x12c]
push eax
call fcn.005834f0
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0x104
jmp 0x610e73
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x610f8d
mov eax, 0xffffff01
jmp 0x610f8f
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x6114b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
cmp dword [0x6aff38], 0
jne 0x6115d1
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.IPHelperMutex
push str._s__d
lea ecx, [ebp - 0x110]
push ecx
call fcn.00535a83
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x61154c
xor eax, eax
jmp 0x6115d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x611568
push 0xffffffffffffffff
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x6aff38], 0
jne 0x6115b7
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6aff3c], eax
cmp dword [0x6aff3c], 0
jne 0x611596
mov dword [ebp - 0x114], 0xfffffffe
jmp 0x6115ad
push str.GetAdaptersAddresses
mov ecx, dword [0x6aff3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6aff34], eax
mov dword [0x6aff38], 1
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret
Function at 0x616440
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0x60
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00532490
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xc3d2e1f0
xor eax, eax
pop ebp
ret
Function at 0x4071f0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00409c7c
test esi, esi
jne 0x407226
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00409e04
jmp 0x407244
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00407134
mov edi, eax
test esi, esi
je 0x407244
cmp dword [ebx], 0
je 0x407244
dec esi
jmp 0x40722d
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x408914
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408da0
mov byte [esp], al
cmp byte [esp], 0
jne 0x408a9d
test edi, edi
je 0x408a9d
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4089dd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4089b8
cmp edi, 0xffffffff
je 0x408979
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408979
mov byte [esp], 0
jmp 0x408a9d
cmp dword [esi], 1
jg 0x4089b8
cmp dword [esi], 0
jne 0x4089aa
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4089aa
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408a9d
lea eax, [esp + 0xc]
call fcn.004085d0
dec ebp
test ebp, ebp
jg 0x40895e
cmp edi, 0xffffffff
je 0x4089dd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4089db
mov byte [esp], 0
jmp 0x408a9d
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408922
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4089dd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408b0c
mov edx, eax
mov ebx, dword [0x5fa8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408a41
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408a3f
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408a41
xor edi, edi
cmp byte [esp], 0
je 0x408a67
mov ebx, dword [esi]
test bl, 1
jne 0x408a7d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408a47
mov byte [esp + 1], 1
jmp 0x408a7d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408a67
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4089f4
cmp byte [esp], 0
je 0x408a9d
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x409914
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5fa05c], 0
je 0x40997b
cmp word [0x5fa348], 0xd7b2
jne 0x40993d
cmp dword [0x5fa350], 0
jbe 0x40993d
mov eax, 0x5fa344
call dword [0x5fa360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x4099a8
call fcn.0040a424
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5f4032], 0
jne 0x409997
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409b3c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x5f4034], 0
je 0x409b67
mov edx, edi
mov eax, esi
call dword [0x5f4034]
mov ebx, eax
jmp 0x409b78
mov eax, 8
call fcn.00406e70
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5fa05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409b04
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409ba8
mov eax, ebx
call fcn.00406e8c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc