joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56cc50
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0056cd10
mov dword [ebp - 8], 0
jmp 0x56cca7
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jae 0x56ccfa
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
jmp 0x56ccc8
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 8
jge 0x56cceb
mov eax, dword [ebp - 0x14]
shr eax, 1
mov ecx, dword [ebp - 0x14]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x56ccbf
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 0x70], edx
jmp 0x56cc9e
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x5792fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65f810]
jne 0x579306
repz ret
jmp fcn.0058951c
Function at 0x596582
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0058665e
and dword [ebp - 4], 0
cmp dword [0x67f390], 0
mov ebx, eax
jne 0x596633
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5966e4
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x604b98
push edi
call esi
test eax, eax
je 0x5966e4
push eax
call fcn.005865ec
mov dword [esp], 0x604b88
push edi
mov dword [0x67f390], eax
call esi
push eax
call fcn.005865ec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x67f394], eax
call esi
push eax
call fcn.005865ec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x67f398], eax
call esi
push eax
call fcn.005865ec
pop ecx
mov dword [0x67f3a0], eax
test eax, eax
je 0x596633
push 0x604b40
push edi
call esi
push eax
call fcn.005865ec
pop ecx
mov dword [0x67f39c], eax
mov eax, dword [0x67f39c]
cmp eax, ebx
je 0x59668b
cmp dword [0x67f3a0], ebx
je 0x59668b
push eax
call fcn.00586667
push dword [0x67f3a0]
mov esi, eax
call fcn.00586667
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x59668b
test edi, edi
je 0x59668b
call esi
test eax, eax
je 0x596682
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x596682
test byte [ebp - 0xc], 1
jne 0x59668b
or dword [ebp + 0x10], 0x200000
jmp 0x5966c4
mov eax, dword [0x67f394]
cmp eax, ebx
je 0x5966c4
push eax
call fcn.00586667
pop ecx
test eax, eax
je 0x5966c4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5966c4
mov eax, dword [0x67f398]
cmp eax, ebx
je 0x5966c4
push eax
call fcn.00586667
pop ecx
test eax, eax
je 0x5966c4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x67f390]
call fcn.00586667
pop ecx
test eax, eax
je 0x5966e4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5966e6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x59ab20
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
lea eax, [ecx + 1]
ret

Function at 0x59c400
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret
Function at 0x59d010
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x59d023
xor eax, eax
pop ebx
add esp, 8
ret
push ebp
mov ebp, dword [esp + 0x14]
push esi
test ebp, ebp
jne 0x59d03d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x59d032
sub eax, edx
mov ebp, eax
lea ecx, [ebp*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 4]
push ecx
push 1
call fcn.0059e530
add esp, 8
mov dword [esp + 0x10], eax
mov esi, eax
test ebp, ebp
jle 0x59d1aa
push edi
mov edi, 1
jmp 0x59d079
mov ebx, dword [esp + 0x20]
mov dl, byte [ebx + edi - 1]
xor al, al
cmp edi, ebp
mov byte [esp + 0x12], al
jge 0x59d08a
mov al, byte [edi + ebx]
lea ecx, [edi + 1]
cmp ecx, ebp
jge 0x59d099
mov cl, byte [edi + ebx + 1]
mov byte [esp + 0x12], cl
mov bl, al
mov cl, dl
shr bl, 4
and dl, 3
shl dl, 4
or dl, bl
movzx ebx, byte [esp + 0x12]
and al, 0xf
add al, al
shr bl, 6
add al, al
or al, bl
mov bl, byte [esp + 0x12]
shr cl, 2
and bl, 0x3f
mov byte [esp + 0x13], al
cmp cl, 0x1a
jae 0x59d0d0
add cl, 0x41
jmp 0x59d0ee
cmp cl, 0x34
jae 0x59d0da
add cl, 0x47
jmp 0x59d0ee
cmp cl, 0x3e
jae 0x59d0e4
sub cl, 4
jmp 0x59d0ee
setne cl
lea ecx, [ecx*4 + 0x2b]
mov byte [esi], cl
inc esi
cmp dl, 0x1a
jae 0x59d0fb
add dl, 0x41
jmp 0x59d119
cmp dl, 0x34
jae 0x59d105
add dl, 0x47
jmp 0x59d119
cmp dl, 0x3e
jae 0x59d10f
sub dl, 4
jmp 0x59d119
setne dl
lea edx, [edx*4 + 0x2b]
mov byte [esi], dl
inc esi
cmp edi, ebp
jge 0x59d150
mov al, byte [esp + 0x13]
cmp al, 0x1a
jae 0x59d12e
add al, 0x41
mov byte [esi], al
jmp 0x59d153
cmp al, 0x34
jae 0x59d138
add al, 0x47
mov byte [esi], al
jmp 0x59d153
cmp al, 0x3e
jae 0x59d142
sub al, 4
mov byte [esi], al
jmp 0x59d153
setne al
lea eax, [eax*4 + 0x2b]
mov byte [esi], al
jmp 0x59d153
mov byte [esi], 0x3d
lea eax, [edi + 1]
inc esi
cmp eax, ebp
jge 0x59d193
cmp bl, 0x1a
jae 0x59d169
add bl, 0x41
mov al, bl
mov byte [esi], al
jmp 0x59d196
cmp bl, 0x34
jae 0x59d177
add bl, 0x47
mov al, bl
mov byte [esi], al
jmp 0x59d196
cmp bl, 0x3e
jae 0x59d185
sub bl, 4
mov al, bl
mov byte [esi], al
jmp 0x59d196
setne al
lea eax, [eax*4 + 0x2b]
mov byte [esi], al
jmp 0x59d196
mov byte [esi], 0x3d
add edi, 3
lea edx, [edi - 1]
inc esi
cmp edx, ebp
jl 0x59d075
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x59f0f0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5ede28
mov eax, dword fs:[0]
push eax
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
cmp dword [esp + 0x30], 1
mov dword [esp + 0xc], 0
jne 0x59f145
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0x5c
call fcn.00456450
push eax
lea ecx, [esp + 0x1c]
call fcn.004384f0
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x59f154
lea eax, [esp + 0x18]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esp + 0x2c], 8
jb 0x59f173
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00506f70
add esp, 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret

Function at 0x59f190
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5ede69
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0xc], ecx
lea edi, [esi + 4]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ecx
mov dword [esp + 0x10], esi
mov word [edi], ax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], 1
cmp eax, 0x104
jb 0x59f1fb
push 0xffffffffffffffff
push 0x104
mov ecx, esi
call fcn.004384f0
jmp 0x59f20b
push ecx
mov ecx, 0x104
sub ecx, eax
push ecx
mov ecx, esi
call fcn.004583f0
cmp dword [esi + 0x18], 8
jb 0x59f213
mov edi, dword [edi]
mov eax, dword [esi + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.004384f0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x5a01e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.0057c720
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
push edi
mov dword [esp + 0x14], ecx
je 0x5a022f
mov eax, 1
mov dword [esi], ebx
jmp 0x5a0231
mov ebx, dword [esi]
test ecx, ecx
je 0x5a02f8
push ebx
call fcn.005a1e90
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x5a0260
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.005a2160
add esp, 0xc
mov ebp, dword [esp + 0xa8]
cmp edi, ebp
jge 0x5a0299
mov ecx, dword [esp + 0x10]
push ecx
lea edi, [esi + 4]
push ebx
push edi
call fcn.005a0d90
mov edx, dword [esp + 0x20]
push ebp
push edx
push edi
call fcn.005a0e20
lea ebp, [esi + 0x34]
push ebp
lea eax, [esi + 0x38]
push eax
push edi
call fcn.005a0e30
add esp, 0x24
jmp 0x5a02d4
cmp ebp, 0x80
jbe 0x5a02b5
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.005a2160
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esi + 0x38]
push edx
call fcn.0057bfc0
mov eax, dword [esp + 0xb4]
lea ebp, [esi + 0x34]
add esp, 0xc
mov dword [ebp], eax
mov ebp, dword [ebp]
cmp ebp, 0x80
je 0x5a02fc
mov ecx, 0x80
sub ecx, ebp
push ecx
lea edx, [esi + ebp + 0x38]
push 0
push edx
call fcn.00578cb0
add esp, 0xc
jmp 0x5a02fc
test eax, eax
je 0x5a0375
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x5a0300
mov ebp, dword [esp + 0x10]
push ebp
lea edi, [esi + 0x14]
push ebx
push edi
call fcn.005a0d90
push ebx
call fcn.005a1e90
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.005a0e20
add esp, 0x1c
xor eax, eax
jmp 0x5a0340
mov cl, byte [esi + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x5a0340
push ebp
lea edi, [esi + 0x24]
push ebx
push edi
call fcn.005a0d90
push ebx
call fcn.005a1e90
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.005a0e20
add esp, 0x1c
lea eax, [esi + 0x14]
push eax
add esi, 4
push esi
call fcn.005a0f50
mov ecx, dword [esp + 0xa0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005792fc
add esp, 0x8c
ret
Function at 0x5a2040
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.0057c720
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
test eax, eax
je 0x5a20a5
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileType]
test eax, eax
je 0x5a20a5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.0057f72f
add eax, 0x40
push eax
call fcn.00593a8b
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005792fc
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.0057aa27
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp eax, 0x80000000
jae 0x5a2134
call fcn.005a1f60
test eax, eax
je 0x5a2134
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005792fc
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005792fc
add esp, 0x108
ret
Function at 0x5c8800
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x5c8819
mov edi, ebx
mov ebx, eax
jmp 0x5c881b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x5c8831
push eax
push esi
call fcn.005a6fa0
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x5c884f
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [ebx + 4]
jl 0x5c8838
cmp eax, dword [edi + 4]
jge 0x5c8866
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x5c8854
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x5c8891
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
lea esp, [esp]
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x5c8891
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x5c8880
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x5d9470
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5d94a1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x5d94a1
mov dword [ebp - 8], 0
jmp 0x5d94a8
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x5d9700
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x112c
call fcn.0057c720
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x100c], 0
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x5d975a
mov dword [ebp - 0x1128], 0
lea ecx, [ebp + 8]
call fcn.00436170
mov eax, dword [ebp - 0x1128]
jmp 0x5d98a5
mov edx, dword [ebp - 0x1010]
shr edx, 2
mov dword [ebp - 0x1014], edx
mov dword [ebp - 0x1018], 0
jmp 0x5d9784
mov eax, dword [ebp - 0x1018]
add eax, 1
mov dword [ebp - 0x1018], eax
mov ecx, dword [ebp - 0x1018]
cmp ecx, dword [ebp - 0x1014]
jae 0x5d988b
mov edx, dword [ebp - 0x1018]
cmp dword [ebp + edx*4 - 0x1008], 0
jne 0x5d97a8
jmp 0x5d9775
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp + eax*4 - 0x1008]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x101c], 0
jne 0x5d97d4
jmp 0x5d9775
lea edx, [ebp - 0x1124]
push edx
push 4
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x101c]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x5d9806
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5d9775
push 0x100
lea eax, [ebp - 0x1120]
push eax
mov ecx, dword [ebp - 0x1020]
push ecx
mov edx, dword [ebp - 0x101c]
push edx
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
jne 0x5d983b
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5d9775
lea ecx, [ebp + 8]
call fcn.00435d90
push eax
lea ecx, [ebp - 0x1120]
push ecx
call fcn.00586380
add esp, 8
test eax, eax
jne 0x5d9879
mov edx, dword [ebp - 0x1018]
mov eax, dword [ebp + edx*4 - 0x1008]
mov dword [ebp - 0x100c], eax
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5d988b
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5d9775
mov eax, dword [ebp - 0x100c]
mov dword [ebp - 0x112c], eax
lea ecx, [ebp + 8]
call fcn.00436170
mov eax, dword [ebp - 0x112c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005792fc
mov esp, ebp
pop ebp
ret
Function at 0x5d98f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x20], 1
jne 0x5d9965
lea ecx, [ebp - 0x20]
push ecx
call fcn.005d98c0
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.00436a90
movzx edx, al
test edx, edx
jne 0x5d9954
push 5
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.00435d90
push eax
push 0x6186a8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 0x21], 1
lea ecx, [ebp - 0x20]
call fcn.00436170
mov al, byte [ebp - 0x21]
jmp 0x5d9967
mov byte [ebp - 0x22], 0
lea ecx, [ebp - 0x20]
call fcn.00436170
mov al, byte [ebp - 0x22]
jmp 0x5d9967
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005792fc
mov esp, ebp
pop ebp
ret
Function at 0x5d9980
Capabilities:
Create process on windows
Delete file
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edf14
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a8], ecx
push 0x44
push 0
lea eax, [ebp - 0x46c]
push eax
call fcn.00578cb0
add esp, 0xc
mov dword [ebp - 0x46c], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x424]
push ecx
call fcn.00578cb0
add esp, 0xc
mov byte [ebp - 0x414], 0
push 0x3ff
push 0
lea edx, [ebp - 0x413]
push edx
call fcn.00578cb0
add esp, 0xc
mov ecx, dword [ebp - 0x4a8]
call fcn.00434750
push eax
mov ecx, dword [ebp - 0x4a8]
call fcn.00435d90
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
call fcn.005788de
add esp, 0x10
lea ecx, [ebp - 0x488]
push ecx
call fcn.005d9680
add esp, 4
mov dword [ebp - 0x4ac], eax
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], edx
mov dword [ebp - 4], 0
push 0x6186e8
mov eax, dword [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.00433320
add esp, 0xc
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x4b4]
call fcn.00435d90
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
lea ecx, [ebp - 0x4a4]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.00436170
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x46c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x5d9ae6
mov ecx, dword [ebp - 0x4a8]
call fcn.00435d90
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x5d9b53
push 0xffffffffffffffff
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x4a8]
cmp dword [edx + 0x20], 1
jne 0x5d9b39
push 5
push 0
push 0
mov ecx, 0x682cd0
call fcn.00435d90
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [ebp - 0x4a8]
call fcn.00435d90
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005792fc
mov esp, ebp
pop ebp
ret
Function at 0x5da0c0
Capabilities:
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
fld dword [ebp + 0x10]
fstp dword [ebp - 0x30]
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5da13d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
jne 0x5da13b
lea edx, [ebp - 0x1c8]
push edx
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x5da122
jmp 0x5da1a3
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5da139
jmp 0x5da1a3
jmp 0x5da13d
jmp 0x5da1a3
mov dword [ebp - 0x14], 0x10
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x24], eax
push 0x146e
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x26], ax
mov eax, 2
mov word [ebp - 0x28], ax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
fld dword [ebp + 0x10]
fstp dword [ebp - 4]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005792fc
mov esp, ebp
pop ebp
ret

Function at 0x5da1c0
Capabilities:
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x5da1de
jmp 0x5da2ad
cmp dword [0x682c9c], 0xffffffff
jne 0x5da27a
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x682c9c], eax
cmp dword [0x682c9c], 0xffffffff
jne 0x5da24d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
jne 0x5da24b
lea eax, [ebp - 0x1a0]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x5da22d
jmp 0x5da2ad
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x682c9c], eax
cmp dword [0x682c9c], 0xffffffff
jne 0x5da249
jmp 0x5da2ad
jmp 0x5da24d
jmp 0x5da2ad
mov ecx, 2
mov word [0x682ca4], cx
push 0x618860
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x682ca8], eax
push 0x146f
call dword [sym.imp.WS2_32.dll_htons]
mov word [0x682ca6], ax
mov dword [ebp - 4], 0x10
mov edx, dword [ebp - 4]
push edx
push 0x682ca4
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005817a0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x682c9c]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005792fc
mov esp, ebp
pop ebp
ret