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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x55f2b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 1
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x11c], esi
push eax
push 0
push esi
mov dword [edi], 0
mov dword [ebp - 0x10c], 0x100
mov dword [ebp - 0x118], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4c6560
nop dword [eax]
lea eax, [ebp - 0x114]
push eax
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c6527
mov ebx, dword [ebp - 0x114]
mov dword [ebp - 0x108], eax
mov dword [edi], eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push 0
push dword [ebp - 0x110]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4c6494
cmp eax, 0xea
jne 0x4c6509
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4c6509
mov esi, dword [0x55f1a8]
inc eax
push eax
mov ecx, esi
call dword [0x51a4a0]
call esi
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x4c6509
lea ecx, [ebp - 0x108]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x110]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c64ee
mov ecx, dword [ebp - 0x108]
cmp ecx, 1
je 0x4c64ee
mov eax, dword [edi]
mov esi, 1
mov byte [ecx + eax], 0
jmp 0x4c650b
push dword [edi]
mov esi, dword [fcn.004b7430]
mov ecx, esi
call dword [0x51a4a0]
call esi
add esp, 4
mov dword [edi], 0
xor esi, esi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4c6560
mov ebx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x11c]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x100
push ecx
lea ecx, [ebp - 0x104]
mov eax, ebx
push ecx
push eax
inc ebx
push esi
mov dword [ebp - 0x118], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4c6440
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edi], eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.004d0675
mov esp, ebp
pop ebp
ret
Function at 0x4c72c0
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x55f2b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004cc3d0
add esp, 4
test eax, eax
jne 0x4c74da
mov byte [ebp - 0x108], al
call fcn.004ca620
cmp eax, 3
jne 0x4c7372
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c738d
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.DatabasePath
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4c738d
cmp eax, 2
jne 0x4c74da
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x108]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4c7394
mov eax, dword [str.hosts]
mov dword [ecx], eax
mov ax, word [0x52ed64]
mov word [ecx + 4], ax
mov al, byte [0x52ed66]
mov byte [ecx + 6], al
lea eax, [ebp - 0x108]
push 0x52ed68
push eax
call fcn.004f6a45
add esp, 8
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x4c7402
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x4c74da
pop edi
mov dword [ebx], 0
mov eax, 0xe
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d0675
mov esp, ebp
pop ebp
ret
push esi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.004cc490
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x210], esi
test esi, esi
jne 0x4c748c
nop dword [eax]
mov ecx, dword [ebx]
push edi
push dword [ecx]
call fcn.004cc3b0
add esp, 8
test eax, eax
je 0x4c748c
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov eax, dword [esi]
test eax, eax
je 0x4c745f
nop dword [eax]
push edi
push eax
call fcn.004cc3b0
add esp, 8
test eax, eax
je 0x4c745a
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4c7440
jmp 0x4c745f
cmp dword [esi], 0
jne 0x4c7486
push dword [ebx]
call fcn.004cc230
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x214]
call fcn.004cc490
mov esi, eax
mov dword [ebp - 0x210], eax
add esp, 0x10
test esi, esi
je 0x4c7420
jmp 0x4c748c
mov esi, dword [ebp - 0x210]
push dword [ebp - 0x214]
call fcn.004f6ad3
add esp, 4
cmp esi, 0xd
jne 0x4c74bd
mov esi, 4
mov dword [ebx], 0
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d0675
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4c74c7
mov dword [ebx], 0
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d0675
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 4
pop edi
xor ecx, ebp
pop ebx
call fcn.004d0675
mov esp, ebp
pop ebp
ret
Function at 0x4c7fb0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x55f2b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [esi + 0x91b8], 0
jne 0x4c8089
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push 0x8004667e
push edi
mov dword [ebp - 0x24], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [esi + 0x1c], 0
lea eax, [esi + 0x1c]
jle 0x4c8013
push 4
push eax
push 0x1001
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4c80cd
cmp dword [esi + 0x20], 0
lea eax, [esi + 0x20]
jle 0x4c8039
push 4
push eax
push 0x1002
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4c80cd
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x4c8066
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4c8089
xorps xmm0, xmm0
mov ecx, 2
movups xmmword [ebp - 0x20], xmm0
push eax
mov word [ebp - 0x20], cx
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
push 0x10
jmp 0x4c80be
cmp eax, 0x17
jne 0x4c8089
lea ebx, [esi + 0x60]
mov edx, 0x52f058
mov ecx, ebx
lea esi, [eax - 0xb]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4c809c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4c8078
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d0675
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebx]
xor eax, eax
mov dword [ebp - 0x1e], 0
mov word [ebp - 0x1a], ax
mov dword [ebp - 8], eax
mov eax, 0x17
mov word [ebp - 0x20], ax
movups xmmword [ebp - 0x18], xmm0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x4c8089
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0675
mov esp, ebp
pop ebp
ret

Function at 0x4c80f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 0x91b8]
test esi, esi
je 0x4c8123
push dword [eax + 0x91bc]
mov esi, dword [esi + 8]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0x51a4a0]
call esi
add esp, 0x10
pop esi
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_connect]
pop esi
pop ebp
ret
Function at 0x4c9320
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
push esi
mov esi, dword [ecx + 0x91b8]
test esi, esi
je 0x4c9364
push dword [ecx + 0x91bc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov esi, dword [esi + 0x10]
mov ecx, esi
push 1
push eax
push dword [ebp + 0xc]
call dword [0x51a4a0]
call esi
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_send]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c9df0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x4c9e00
lea ecx, [eax + 2]
jmp 0x4c9e08
cmp eax, 0x17
jne 0x4c9e63
lea ecx, [eax - 7]
push esi
sub eax, 2
je 0x4c9e31
sub eax, 0x15
je 0x4c9e23
push 0x273f
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
jmp 0x4c9e47
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004ca360
jmp 0x4c9e3d
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004c9fe0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x4c9e57
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4c9e57
xor eax, eax
pop esi
pop ebp
ret
sar esi, 0x1f
and esi, 0xfffffffe
lea eax, [esi + 1]
pop esi
pop ebp
ret
push 0x273f
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop ebp
ret

Function at 0x4cab40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], 2
push ebx
mov word [ebp - 8], ax
mov eax, dword [ebp + 8]
push esi
push edi
lea edi, [ebp - 8]
mov bh, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
inc bh
lea edi, [edi + 1]
movzx esi, bh
mov bl, byte [esi + eax]
add dl, bl
mov byte [ebp - 1], dl
movzx edx, dl
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
mov byte [edx + eax], bl
movzx ecx, byte [esi + eax]
mov dl, byte [ebp - 1]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + eax]
xor byte [edi - 1], cl
sub dword [ebp - 0xc], 1
jne 0x4cab68
pop edi
mov cl, dl
mov byte [eax + 0x100], bh
pop esi
mov byte [eax + 0x101], cl
mov ax, word [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cabc0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x14
mov ecx, dword [edx]
shr ecx, 3
not ecx
and ecx, 1
test dword [edx], 0x100
je 0x4cabe0
mov eax, dword [edx + 0x38]
jmp 0x4cabe2
xor eax, eax
push esi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
movzx eax, word [edx + 0x7c]
push ecx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004ccf70
mov edi, eax
add esp, 0x20
test edi, edi
je 0x4cac45
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4cac25
mov esi, dword [fcn.004b7430]
push ecx
mov ecx, esi
call dword [0x51a4a0]
call esi
add esp, 4
push 0
push 0
push 0
push edi
push dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov ecx, esi
call dword [0x51a4a0]
call esi
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov edx, dword [ebp + 8]
lea esi, [ebp - 8]
xor eax, eax
mov word [ebp - 8], ax
mov bh, byte [edx + 0x17e]
mov cl, byte [edx + 0x17f]
lea edi, [eax + 2]
inc bh
lea esi, [esi + 1]
movzx eax, bh
add edx, eax
mov bl, byte [edx + 0x7e]
add cl, bl
movzx eax, cl
mov byte [ebp - 1], cl
mov ecx, dword [ebp + 8]
add ecx, eax
movzx eax, byte [ecx + 0x7e]
mov byte [edx + 0x7e], al
mov byte [ecx + 0x7e], bl
movzx eax, byte [edx + 0x7e]
mov edx, dword [ebp + 8]
add al, bl
mov cl, byte [ebp - 1]
movzx eax, al
movzx eax, byte [eax + edx + 0x7e]
xor byte [esi - 1], al
sub edi, 1
jne 0x4cac61
mov byte [edx + 0x17e], bh
mov al, cl
mov bx, word [ebp - 8]
mov byte [edx + 0x17f], al
mov ax, bx
shr ax, 8
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], bl
mov si, word [ebp - 0xc]
movzx eax, si
and eax, 0x7ff
lea eax, [eax + eax*2]
lea edx, [edx + eax*4]
mov eax, dword [edx + 0x1a4]
add edx, 0x1a0
cmp eax, edx
je 0x4cacf5
mov ecx, dword [eax + 8]
cmp word [ecx], si
je 0x4cac46
mov eax, dword [eax + 4]
cmp eax, edx
jne 0x4cace2
mov edi, dword [ebp + 8]
push 8
mov word [edi + 0x7c], bx
mov esi, dword [0x55f1a8]
mov ecx, esi
call dword [0x51a4a0]
call esi
add esp, 4
mov ecx, eax
pop ebx
test ecx, ecx
jne 0x4cad30
push dword [ebp - 0x10]
call fcn.004cd170
add esp, 4
push 0
push 0
push 0
push 0xf
jmp 0x4cac2c
mov eax, dword [ebp + 0x18]
push ecx
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
push 0x4cad60
mov dword [ecx + 4], eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push edi
call fcn.004cccc0
push dword [ebp - 0x10]
call fcn.004cd170
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ccbe0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 8
push ebx
push esi
xor ebx, ebx
push edi
test ecx, ecx
jle 0x4ccca9
mov edi, dword [ebp + 0xc]
xor edx, edx
add edi, 4
mov esi, edi
mov eax, SysReAllocString
sub eax, ebx
cmp dword [esi], eax
ja 0x4ccca9
add ebx, dword [esi]
inc edx
add esi, 8
mov dword [ebp - 4], ebx
cmp edx, ecx
jl 0x4ccc00
test ebx, ebx
jne 0x4ccc29
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x55f1a8]
mov ecx, esi
push ebx
call dword [0x51a4a0]
call esi
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x4ccc56
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov esi, eax
nop dword [eax + eax]
push dword [edi]
push dword [edi - 4]
push esi
call fcn.004e8240
add esi, dword [edi]
lea edi, [edi + 8]
add esp, 0xc
sub ebx, 1
jne 0x4ccc60
mov esi, dword [ebp - 8]
push ebx
mov ebx, dword [ebp - 4]
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push esi
mov esi, dword [fcn.004b7430]
mov edi, eax
mov ecx, esi
call dword [0x51a4a0]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2726
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d3899
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4de574
Capabilities:
Contain obfuscated stackstrings

Disassembly:
aam 0xc6
inc ebp
mov dl, 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
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.004de2f6
dec ebx
aas
loopne 0x4de59b
lea eax, [ebp - 0x58]
push eax
call fcn.004de306
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004de2bb
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 0x4de5e4
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.004de2f6
jmp 0x8da400f7
Function at 0x4df22e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi - 0x55000004], edx
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004de306
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004de2bb
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004de2f6
sbb esi, edi
jmp 0x1525b51

Function at 0x4df6ea
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x4df703
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4df74c
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x4df6f6
call fcn.004de2f6
cmp ebp, dword [ebp + 0x3c]
stosd dword es:[edi], eax
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
invalid
test ebp, esp
clc
Function at 0x4dfa46
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x38c]
jae 0x4dfa98
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
ror dword [ebx - 0x74773], 0xff
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x4dfa39
and dword [ebp - 0x700], 0
jmp 0x4dfaae
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x688]
jae 0x4dfb00
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x4dfaa1
and byte [ebp - 0x714], 0
and byte [ebp - 0x713], 0
mov byte [ebp - 0x712], 0x71
and byte [ebp - 0x711], 0
mov byte [ebp - 0x710], 0xc8
dec eax
mov byte [ebp - 0x70f], 0xe2
mov byte [ebp - 0x70e], 0xe1
mov byte [ebp - 0x70d], 0xe1
mov byte [ebp - 0x70c], 0xea
mov byte [ebp - 0x70b], 0xc8
mov byte [ebp - 0x70a], 0xe7
mov byte [ebp - 0x709], 0xf6
mov byte [ebp - 0x708], 0xbc
invalid

Function at 0x502ea1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00502d17

Function at 0x504bb2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00504705
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x403203
pop dword [ebp - 0x44]
mov eax, 0xcbe03ab6
sub eax, 0xcba008b3
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x3f89bc98
add dword [ebp - 0x54], 0xec888b3
mov dword [ebp - 0x50], 0x354c13e9
sub dword [ebp - 0x50], 0x318c7a4
mov dword [ebp - 0x4c], 0x965203c0
add dword [ebp - 0x4c], 0xb5fa406e
mov dword [ebp - 0x48], 0xbd2fb96e
add dword [ebp - 0x48], 0x42d04692
lea eax, [ebp - 0x54]
push eax
mov eax, 0x467db5f1
add eax, 0xb9c2ba73
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xd3bb03bd
add dword [ebp - 0x54], 0xa0b76599
mov dword [ebp - 0x50], 0x3c23241
add dword [ebp - 0x50], 0x3daa2f34
mov dword [ebp - 0x4c], 0xc418b214
sub dword [ebp - 0x4c], 0x60a945a8
mov dword [ebp - 0x48], 0xa78a11a2
add dword [ebp - 0x48], 0x5875ee5e
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x275d4255
sub eax, 0x271cd1ad
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3bb91
push 0
call eax
mov ecx, 0xd02d51ef
sub ecx, 0xd02cf56b
xor edi, edi
add edi, eax
mov esi, 0x11af9adf
sub esi, 0x116e9adf
add esi, dword [ebp - 0x44]
mov ebx, 0xfa9a9675
add ebx, 0x1b5297a1
sub dword [ebp - 0xc], edi
mov edx, dword [esi]
xor dword [ebp - 0x18], edx
sub edx, ebx
mov dword [ebp - 8], 0xbcf492a7
mov dword [edi], edx
xor dword [ebp - 4], ecx
add edi, 0x951939a1
add edi, 0x6ae6c663
add esi, 0xbcb3d7ca
add esi, 0x434c283a
loop 0x403327
add eax, 0x164e3
mov ebx, eax
add eax, 5
mov ecx, 0x2da92059
sub ecx, 0x2d692059
add ecx, dword [ebp - 0x44]
call ebx
leave
ret