joyce8/EMBER2024-capa huggingface dataset:
Function at 0x509eef
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x6b4bc1
call fcn.0066bd6c
push ecx
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.004274a7
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.004274a7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x50a0fd
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6bc817
call fcn.0066bd6c
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0051d034
xor ebx, ebx
mov dword [esi + 0xc], 0x6f72a8
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], 0x6d706c
mov dword [esi + 0x14], ebx
mov al, byte [ebp + 8]
lea ecx, [esi + 0x34]
mov byte [esi + 0x18], al
movzx eax, al
push eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x6f732c
mov dword [esi + 0xc], 0x6f7368
mov dword [esi + 0x10], 0x6f73ec
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], bl
push dword [eax]
mov byte [ebp - 4], 2
call fcn.0050664b
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
xor eax, eax
mov dword [esi + 0x7c], ebx
inc eax
mov dword [esi + 0x2c], ebx
lock xadd dword [0x7cd6c0], eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x50ebaf
Capabilities:
Clear file content
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x7cd725], 0
push ebx
push esi
push edi
je 0x50ebcb
cmp byte [0x7cd6c9], 0
je 0x50ebcb
xor bl, bl
jmp 0x50ebcd
mov bl, 1
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 8]
je 0x50ec05
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x50ebe1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test eax, 0x200
je 0x50ec28
push 0
lea eax, [ebp + 8]
mov byte [ebp + 0x23], 0
push eax
push 0
push 0
push 1
lea eax, [ebp + 0x23]
push eax
jmp 0x50ec1c
cmp byte [0x7cd6c8], 0
je 0x50ec28
push 0
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0
push 0
push 0x900c4
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
cmp byte [ebp + 0x1c], 0
jne 0x50ec99
mov edi, dword [ebp + 0x10]
mov byte [0x7cd710], 1
test bl, bl
je 0x50ec4a
push dword [edi + 0xc]
push dword [edi + 8]
push esi
call fcn.004601b1
jmp 0x50ec6a
push 0
push dword [edi + 0xc]
push dword [edi + 8]
push esi
call fcn.0045febc
and eax, edx
cmp eax, 0xffffffff
je 0x50eca3
push esi
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
je 0x50eca3
cmp byte [0x7cd725], 0
je 0x50ec92
cmp byte [0x7cd6c9], 0
je 0x50ec92
cmp byte [0x7cd6c8], 0
jne 0x50ec92
push dword [edi + 0xc]
push dword [edi + 8]
push esi
call dword [0x7cdbc8]
mov byte [0x7cd710], 0
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
mov byte [0x7cd710], 0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
jmp 0x50ec9c

Function at 0x50ff08
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, 0x6bcf48
call fcn.0066bd6c
sub esp, 0x14
push ebx
xor ebx, ebx
mov byte [ebp - 0xd], 1
push edi
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
push dword [edi + 4]
call fcn.0050fc88
mov edx, dword [ebp - 0x20]
test al, al
je 0x50ffbe
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sub eax, edx
sar eax, 2
push esi
mov esi, ebx
test eax, eax
je 0x50ff8f
push dword [edx + esi*4]
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x50ff7a
mov byte [ebp - 0xd], bl
mov edi, ebx
test esi, esi
jle 0x50ff7a
mov eax, dword [ebp - 0x20]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
inc edi
cmp edi, esi
jl 0x50ff69
mov ecx, dword [ebp - 0x1c]
inc esi
mov edx, dword [ebp - 0x20]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x50ff52
mov edi, dword [ebp - 0x14]
sub ecx, edx
sar ecx, 2
pop esi
test ecx, ecx
je 0x50ffb2
push dword [edx + ebx*4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x1c]
inc ebx
mov edx, dword [ebp - 0x20]
sub eax, edx
sar eax, 2
cmp ebx, eax
jb 0x50ff99
mov al, byte [ebp - 0xd]
test al, al
je 0x50ffbc
inc dword [edi + 0x18]
mov bl, al
test edx, edx
je 0x50ffd1
mov ecx, dword [ebp - 0x18]
sub ecx, edx
and ecx, 0xfffffffc
push ecx
push edx
call fcn.00427112
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x510bdd
Capabilities:
Resume thread

Disassembly:
mov eax, 0x6b84b3
call fcn.0066bd6c
sub esp, 0xc
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x18], esi
je 0x510c5b
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
call fcn.0050fc88
mov ecx, dword [ebp - 0x18]
test al, al
je 0x510c48
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x510c45
push dword [ecx + esi*4]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [ebp - 0x18]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x14]
inc esi
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x510c20
dec dword [edi + 0x18]
test ecx, ecx
je 0x510c5b
mov eax, dword [ebp - 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00427112
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x514a68
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 1
push 0
push 2
push 2
mov esi, ecx
call fcn.0047a8dd
mov eax, dword [esi + 4]
mov ecx, esi
mov edi, dword [ebp + 8]
push edi
mov dword [esi + 0x18], eax
call fcn.00478e1a
test eax, eax
je 0x514aaf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Unable_to_bind_to_UPnP_port:__d
push 1
call fcn.00514336
add esp, 0xc
xor al, al
jmp 0x514b3c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [edi + 0xc]
push 4
push eax
push 9
push 0
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x514ae1
call edi
push eax
push str.UPnP:_Could_not_setup_socket_to_send_multicast_packets:__d
push 1
call fcn.00514336
add esp, 0xc
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff
push eax
push 4
push 0
push dword [esi + 4]
call ebx
test eax, eax
je 0x514b0d
call edi
push eax
push str.UPnP:_Could_not_set_unicast_TTL:__d
push 1
call fcn.00514336
add esp, 0xc
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff
push eax
push 0xa
push 0
push dword [esi + 4]
call ebx
pop ebx
test eax, eax
je 0x514b3a
call edi
push eax
push str.UPnP:_Could_not_set_multicast_TTL:__d
push 1
call fcn.00514336
add esp, 0xc
mov al, 1
pop edi
pop esi
leave
ret 4
Function at 0x514b42
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push 0
push 2
pop eax
push eax
push eax
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x514b7c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Unable_to_create_socket:__d
push 1
call fcn.00514336
add esp, 0xc
xor al, al
jmp 0x514c84
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x514b75
push esi
push 4
lea eax, [ebp - 8]
xor esi, esi
push eax
push 4
push 0xffff
push dword [ebx]
inc esi
mov dword [ebp - 8], esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x514bcb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Unable_to_setsockopt:__d
push esi
call fcn.00514336
jmp 0x514c10
push edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push 0x76c
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_bind]
pop edi
test eax, eax
je 0x514c15
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x6f856c
push esi
call fcn.0051419b
add esp, 0xc
jmp 0x514c70
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
push str.239.255.255.250
call esi
push str.0.0.0.0
mov dword [ebp - 0x10], eax
call esi
push 8
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push 0xc
push esi
push dword [ebx]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x514c74
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.UPnP:_Could_not_join_multicast_group:__d
push 1
call fcn.00514336
add esp, 0xc
mov byte [0x7cdc1f], 1
or dword [0x7cdc20], 0xffffffff
mov dword [0x7cdc24], esi
xor al, al
jmp 0x514c83
push str.UPnP:_Joined_multicast_group
push esi
call fcn.0051419b
pop ecx
pop ecx
mov al, 1
pop esi
pop ebx
leave
ret

Function at 0x5153bd
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 2
pop edi
push dword [ebp + 8]
xor ebx, ebx
mov word [ebp - 0x14], di
mov eax, 0xe714
mov word [ebp - 4], bx
mov esi, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
test eax, eax
pop esi
setg al
pop ebx
leave
ret 4
Function at 0x5156a8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
mov esi, ecx
push dword [ebp + 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0051561c
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
push 2
pop eax
push dword [ebp + 8]
mov word [ebp - 0x1c], ax
mov eax, 0xe714
mov word [ebp - 0x1a], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xc
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
pop esi
setg al
leave
ret 0x10

Function at 0x51570b
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 1
push 0
push 2
push 2
mov esi, ecx
call fcn.0047a8dd
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 4
push 0xffff
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x515746
xor al, al
jmp 0x51576a
push 0x14e7
call fcn.0051565d
push eax
lea ecx, [ebp - 0x18]
call fcn.004ccd7d
push eax
mov ecx, esi
call fcn.00478e1a
mov ecx, esi
call fcn.0047a05d
mov al, 1
pop esi
leave
ret
Function at 0x528a78
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x194
cmp dword [eax + 0x14], 0x10
push ebx
mov ebx, ecx
jb 0x528a8f
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
movzx eax, word [esi + 0x10]
push eax
push str.BT_SEARCH__HTTP_1.1_r_nHost:_239.192.152.143:6771_r_nPort:__u_r_nInfohash:__s_r_n_r_n_r_n
lea eax, [ebp - 0x194]
push 0x100
push eax
call fcn.00463add
add esp, 0x14
mov byte [ebp - 0x95], 0
lea edi, [ebp - 0x14]
mov eax, 0x1a73
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 4], ax
lea ecx, [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0047a584
lea ecx, [ebp - 0x194]
pop edi
lea edx, [ecx + 1]
pop esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528ae9
push dword [ebp + 0xc]
lea eax, [ebp - 0x94]
sub ecx, edx
push eax
push 0
push ecx
lea eax, [ebp - 0x194]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
pop ebx
setg al
leave
ret 8
Function at 0x52d98a
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x6beb5f
call fcn.0066bd6c
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
mov byte [ebp - 0xd], 1
push edi
mov dword [ebp - 0x20], ebx
call fcn.00478ba6
mov edi, dword [ebp + 8]
mov esi, 0x7cf200
and dword [ebp - 4], 0
mov ecx, esi
push edi
call fcn.0046566a
cmp eax, dword [0x7cf200]
jne 0x52da38
xor eax, eax
mov dword [ebp - 0x34], 0xf
push str.session_has_expired
mov byte [ebp + 8], al
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
mov dword [ebp - 0x48], eax
push 0x13
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
call fcn.0040fe0b
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0052db2e
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x52db11
mov ecx, dword [ebp - 0x48]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x52da2a
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
jmp 0x52db11
push edi
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00529ee2
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
and dword [esi + 0x2c], 0
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x28]
push edi
mov esi, 0x7cf200
push eax
mov ecx, esi
call fcn.00529ee2
mov ebx, dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x14], eax
mov ecx, esi
mov dword [ebp + 8], eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00529ee2
mov esi, dword [eax]
mov eax, dword [esi + 0x98]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov eax, ecx
cdq
and eax, dword [ebx + 0x90]
and edx, dword [ebx + 0x94]
or eax, edx
je 0x52dad2
not ecx
and ecx, dword [ebx + 0x90]
mov eax, ecx
cdq
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], edx
push dword [esi + 0x98]
push edi
call fcn.0052e878
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [esi + 0x98]
mov dword [ebp + 8], eax
jmp 0x52dad5
mov eax, dword [ebp + 8]
add ecx, ecx
mov dword [esi + 0x98], ecx
cmp ecx, 0x800000
jne 0x52daee
xor ecx, ecx
inc ecx
mov dword [esi + 0x98], ecx
mov edx, eax
sub edx, dword [ebp - 0x14]
push 0
pop eax
sbb eax, eax
test eax, eax
jg 0x52db08
jl 0x52db03
cmp edx, 0x64
jae 0x52db08
cmp ecx, dword [ebp - 0x18]
jne 0x52da8b
mov ecx, dword [ebp - 0x20]
push edi
call fcn.0052dbd0
mov dword [ebp - 4], 3
call fcn.00478be7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x5390f3
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x488
push ebx
push ebp
push esi
push edi
push 0
push 0x20
push dword [esp + 0x4b8]
lea eax, [esp + 0x24]
push eax
call fcn.0056085a
mov al, byte [esp + 0x37]
mov edx, dword [esp + 0x4a8]
and al, 0x3f
and byte [esp + 0x18], 0xf8
or al, 0x40
mov edi, dword [esp + 0x4ac]
mov ebp, edx
mov esi, dword [esp + 0x49c]
add ebp, 0x40
mov byte [esp + 0x37], al
mov ecx, edi
mov eax, dword [esp + 0x4a0]
adc ecx, 0
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax], ebp
test edi, edi
jb 0x539186
ja 0x539164
test edx, edx
je 0x539186
mov ebp, dword [esp + 0x4a4]
mov al, byte [ecx + ebp]
mov byte [ecx + esi + 0x40], al
add ecx, 1
adc ebx, 0
cmp ebx, edi
jb 0x53916b
ja 0x539182
cmp ecx, edx
jb 0x53916b
mov ebp, dword [esp + 0x10]
xor ecx, ecx
xor ebx, ebx
mov al, byte [esp + ecx + 0x38]
mov byte [ecx + esi + 0x20], al
add ecx, 1
adc ebx, 0
jne 0x53919f
cmp ecx, 0x20
jb 0x53918a
push 0
pop ebx
add edx, 0x20
lea eax, [esi + 0x20]
adc edi, ebx
push edi
push edx
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0056085a
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.00560cfc
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x29c]
push eax
call fcn.0056154a
lea eax, [esp + 0x298]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.005614de
mov ecx, ebx
mov edx, ebx
mov al, byte [esp + ecx + 0x58]
mov byte [ecx + esi], al
add ecx, 1
adc edx, ebx
jne 0x53920d
cmp ecx, 0x20
jb 0x5391fa
push dword [esp + 0x14]
mov eax, dword [esp + 0x4b4]
push ebp
push esi
add eax, 0x20
push eax
push esi
lea eax, [esp + 0x16c]
push eax
call fcn.005393f0
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00560cfc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.00560cbd
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00560d2e
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x9c]
push eax
push eax
call fcn.00560c6f
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00560db4
mov ecx, ebx
mov edx, ebx
mov al, byte [esp + ecx + 0x78]
mov byte [ecx + esi + 0x20], al
add ecx, 1
adc edx, ebx
jne 0x5392a9
cmp ecx, 0x20
jb 0x539295
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x488
ret 0x18

Function at 0x5421cc
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [0x7cf3fc]
or edx, 0xffffffff
test esi, esi
jne 0x5421fb
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
cmp eax, 4
jb 0x54223a
shr eax, 2
mov ecx, dword [esi]
lea esi, [esi + 4]
crc32 edx, ecx
sub eax, 1
jne 0x5421ea
jmp 0x54223a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x54223a
push ebx
mov ebx, dword [esp + 0xc]
test bl, 7
je 0x542225
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x542208
test ecx, ecx
je 0x542239
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [esi + eax*4]
inc ebx
sub ecx, 1
jne 0x542225
pop ebx
not edx
mov eax, edx
pop esi
ret 8
Function at 0x542894
Capabilities:
Create directory

Disassembly:
mov eax, 0x6c00bc
call fcn.0066bd6c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], 0x6f4e94
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x14]
push dword [ebp + 8]
mov dword [esi + 0x10], eax
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.004274a7
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 2
jb 0x5428f2
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, esi
call fcn.00542c3b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x543390
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x48
mov eax, 0x6c0133
call fcn.0066bd6c
sub esp, 0x44
push ebx
mov ebx, ecx
push esi
xor esi, esi
cmp dword [ebx + 0x1c], esi
jne 0x5433b4
push 3
pop esi
jmp 0x54355d
push edi
lea edi, [ebx + 0x64]
push edi
call fcn.0045f5f5
test al, al
jne 0x5433ca
push 2
pop esi
jmp 0x54355c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test al, al
jne 0x5433dd
xor esi, esi
inc esi
jmp 0x54355c
xor eax, eax
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov eax, dword [ebx]
lea ecx, [ebp]
push ecx
mov ecx, ebx
mov dword [ebp - 4], esi
call dword [eax + 0xc]
mov byte [ebp - 4], 1
cmp dword [ebx + 0x4c], esi
jne 0x54340d
cmp dword [ebp + 0x10], 0
je 0x54346c
push 0x6d7eb8
lea ecx, [ebp + 0x30]
call fcn.00427613
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x543424
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x30]
push eax
call fcn.004275b5
push 0x6d7eb8
lea ecx, [ebp + 0x30]
call fcn.00437203
push 0x6d6cc8
lea ecx, [ebp + 0x30]
call fcn.00437203
cmp dword [ebp + 0x10], 0
lea eax, [ebx + 0x3c]
je 0x543456
lea eax, [ebp]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x543460
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x30]
call fcn.004275b5
xor eax, eax
lea edi, [ebp + 0x18]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
pop edi
push edi
push esi
push eax
call fcn.0066f070
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x50], edi
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x543494
mov ecx, dword [ecx]
cmp dword [ebp + 0x44], 8
lea edx, [ebp + 0x30]
jb 0x5434a0
mov edx, dword [ebp + 0x30]
lea eax, [ebx + 0x64]
cmp dword [eax + 0x14], 8
jb 0x5434ab
mov eax, dword [eax]
lea edi, [ebp + 0x18]
push edi
lea edi, [ebp - 0x50]
push edi
push ecx
push esi
push dword [ebx + 0x58]
push esi
push esi
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x5434cb
push 5
jmp 0x5434dc
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0x18], 0xffffffff
jne 0x5434df
push 4
pop esi
jmp 0x543519
mov ecx, ebx
call fcn.005436ee
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x94], eax
lea eax, [ebp + 0x28]
push eax
call fcn.00543570
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0xb8], ecx
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0x98], 1
lea ecx, [ebp]
call fcn.0042756c
mov eax, dword [ebp + 0x44]
cmp eax, 8
jb 0x54355c
mov ecx, dword [ebp + 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x2c], ecx
cmp eax, 0x1000
jb 0x543553
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x2c]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x4c
leave
ret