joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47db9c
Capabilities:
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov byte [esi], 1
mov eax, dword [ebp - 4]
call fcn.0047cd08
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47dd2a
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47dd2a
xor eax, eax
push ebp
push 0x47dd23
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x34], 0x2710
push 4
lea eax, [ebp - 0x34]
push eax
push 0x1006
push 0xffff
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x47dc14
call fcn.0040beb4
call fcn.0040a0a4
fstp qword [ebp - 0x18]
wait
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x30
call fcn.00402d34
lea eax, [ebp - 0x64]
push eax
mov cl, 3
mov dl, 3
xor eax, eax
call fcn.0047db4c
call fcn.0040a0a4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x7c]
call fcn.0047d480
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov word [ebp - 0x74], 2
mov dword [ebp - 0x70], ebx
mov ax, word [ebp - 8]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x72], ax
push 0x10
lea eax, [ebp - 0x74]
push eax
push 0
push 0x30
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_sendto
inc eax
jne 0x47dc91
call fcn.0040beb4
mov dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x30
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_recvfrom
cmp eax, 0x30
je 0x47dcbb
call fcn.0040beb4
lea eax, [ebp - 0x44]
call fcn.0047d3f8
fstp qword [ebp - 0x20]
wait
lea eax, [ebp - 0x3c]
call fcn.0047d3f8
fstp qword [ebp - 0x28]
wait
call fcn.0040a0a4
fstp qword [ebp - 0x30]
wait
fld qword [ebp - 0x30]
fsub qword [ebp - 0x18]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x28]
fsubp st(1)
fstp qword [edi]
wait
fld qword [edi]
fdiv dword [0x47dd34]
fadd qword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
fstp qword [eax]
wait
cmp dword [ebp - 0x3c], 0
jne 0x47dd09
mov byte [esi], 1
jmp 0x47dd0c
mov byte [esi], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dd2a
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_closesocket
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47dd38
Capabilities:
Create udp socket
Get hostname
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47df56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x147]
push eax
call sub.wsock32.dll_gethostname
lea edx, [ebp - 0x148]
mov eax, 0x47df64
call fcn.00402ac4
mov edx, eax
dec edx
lea eax, [ebp - 0x148]
call fcn.00402b04
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47df32
mov dword [ebp - 8], 0x7d0
push 4
lea eax, [ebp - 8]
push eax
push 0x1006
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
inc eax
je 0x47df32
mov dword [ebp - 8], 1
push 4
lea eax, [ebp - 8]
push eax
push 0x20
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
inc eax
je 0x47df32
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x30
call fcn.00402d34
lea eax, [ebp - 0x38]
push eax
mov cl, 3
mov dl, 3
xor eax, eax
call fcn.0047db4c
call fcn.0040a0a4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x150]
call fcn.0047d480
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x48], 2
mov dword [ebp - 0x44], 0xffffffff
push 0x7b
call sub.wsock32.dll_htons
mov word [ebp - 0x46], ax
push 0x10
lea eax, [ebp - 0x48]
push eax
push 0
push 0x30
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.wsock32.dll_sendto
inc eax
je 0x47df32
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x30
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.wsock32.dll_recvfrom
cmp eax, 0xffffffff
je 0x47df32
cmp eax, 0x30
jne 0x47df0c
push 2
push 4
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyaddr
mov esi, eax
test esi, esi
jne 0x47deca
push dword [ebp - 0x44]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x154]
call fcn.004042ec
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x47df0c
lea eax, [ebp - 0x254]
mov edi, dword [esi]
mov edx, edi
call fcn.00402e28
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x148]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402cc4
je 0x47df0c
lea eax, [ebp - 0x258]
mov edx, edi
call fcn.004042ec
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x30
lea eax, [ebp - 0x38]
push eax
push ebx
call sub.wsock32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x47de8d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47df5d
lea eax, [ebp - 0x258]
call fcn.004040f4
lea eax, [ebp - 0x154]
call fcn.004040f4
ret
Function at 0x42660b
Capabilities:
Terminate process

Disassembly:
call fcn.00426618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42ca92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x42cb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x42cb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x42cb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042cb71
test eax, eax
je 0x42cb67
add ebx, 0x14
jmp 0x42cb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x42cb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x42cddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x42cddd
mov eax, 1
test eax, eax
je 0x42cddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x42cddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x42cdd3
mov ebx, eax
and eax, 0x80000000
jne 0x42cd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x42cddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x42cddd
mov eax, 1
test eax, eax
je 0x42cddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x42cddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x42cca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x42cddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x42cb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x42cddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x42cca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x42ce9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x42cfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x42cfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0042cff8
test eax, eax
je 0x42cfee
add ebx, 0x28
dec ecx
jne 0x42cfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x42d09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x42d0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x42d12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x42d0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x42d12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x42d105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x42d12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x42d123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x42d12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x42d16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x42d172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x42d1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x42d1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x42ddff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0042df04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0042df20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0042deec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0042df04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0042decb
push ecx
push dword [ebp + 8]
call fcn.0042df04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0042df04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0042decb
push ecx
push dword [ebp + 8]
call fcn.0042df04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0042df04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0042decb
push ecx
push dword [ebp + 8]
call fcn.0042df04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0042df04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0042decb
cmp ecx, 0x2b
jne 0x42de0f
leave
ret 0xc

Function at 0x42f4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x42f544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0xaa10
push 0
call dword [eax + 0x20]
test eax, eax
je 0x42f5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0xaa10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0xaa10
call fcn.0042f3fa
push 0xaa10
push dword [ebp + 0xc]
call fcn.0042d1a8
test eax, eax
jne 0x42f5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0xaa10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0042f5dd
test eax, eax
je 0x42f5d6
jmp 0x42f574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x42f5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x42f60b
Capabilities:
Terminate process

Disassembly:
call fcn.0042f618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x408000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00407d75
stc
sti
add al, al
lea eax, [ebp - 0x58]
push eax
call fcn.00407d85
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00407d3a
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x408063
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00407d75
hlt

Function at 0x408140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00407d85
push eax
push esi
push dword [ebp + 8]
call fcn.00407d3a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00407d85
push eax
push esi
push dword [ebp + 8]
call fcn.00407d3a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00407d75
cmp ch, byte [eax - 0x62772fd7]
jl 0x4081fa
invalid
invalid
Function at 0x4087d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00407d3a
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00407d75
aam 0x8c
jae 0x408845
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], pe_nt_image_headers32
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.00407d85
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00407d3a
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.00407d75
invalid
cli
invalid

Function at 0x40ac90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x412018]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x40acb0
xor eax, eax
jmp 0x40ad66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ad64
mov dword [ebp - 0x25c], 0
call fcn.00409bd0
test eax, eax
je 0x40ace0
mov eax, 1
jmp 0x40ad66
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea ecx, [ebp - 0x254]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40ad64
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0xffffffff
je 0x40ad3b
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp + 0xc]
je 0x40ad3b
xor eax, eax
jmp 0x40ad66
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040a3e0
add esp, 8
test eax, eax
je 0x40ad64
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40ad5d
mov eax, dword [ebp - 0x238]
jmp 0x40ad66
mov eax, 1
jmp 0x40ad66
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00407668
mov esp, ebp
pop ebp
ret
Function at 0x417f10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b3fab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a8394
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417f92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a5ea5
mov eax, dword [eax]
push 0x4dece0
push eax
call fcn.00498034
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a861f
test bl, bl
je 0x417f92
push 0x4dece0
lea ecx, [esp + 0xc]
call fcn.004a89af
push 0x4decec
lea ecx, [esp + 0xc]
call fcn.004a89af
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x417fce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a861f
jmp 0x418099
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x418052
lea edx, [esp + 0x7c]
push 0x4dece8
push edx
call fcn.00498034
add esp, 8
test eax, eax
je 0x418052
lea eax, [esp + 0x7c]
push 0x4dece4
push eax
call fcn.00498034
add esp, 8
test eax, eax
je 0x418052
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x417fe2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a861f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4188b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x418912
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc