joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aabaf
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x814
mov eax, dword [0x5c9040]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
mov edi, dword [ebx + 0x11c]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1eb8]
sub eax, dword [edi + 0x1eb4]
add eax, 2
push eax
lea eax, [edi + 0x1cb4]
push eax
push 0x3c
pop edx
call fcn.004aa5e4
mov eax, dword [edi + 0x1eb4]
pop ecx
pop ecx
mov cl, byte [eax]
inc eax
mov dword [edi + 0x1eb4], eax
cmp cl, 0x18
je 0x4aad46
cmp cl, 0x23
je 0x4aad23
cmp cl, 0x27
jne 0x4aadc9
xor ebp, ebp
lea eax, [esp + 0x18]
push ebp
push 0x27
push 0xfa
push 0xff
push str._c_c_c_c
push 0x800
push eax
call fcn.00480c51
mov edi, dword [edi + 0x1cb0]
add esp, 0x1c
push 4
pop esi
test edi, edi
je 0x4aacc4
push dword [edi]
call fcn.00520660
inc eax
add eax, esi
pop ecx
cmp eax, 0x7fa
jae 0x4aacb9
push 0x2c
push dword [edi]
call fcn.0051c170
pop ecx
pop ecx
mov ecx, 0x800
lea ebx, [esp + 0x18]
mov edx, eax
sub ecx, esi
add ebx, esi
test edx, edx
jne 0x4aac9c
push dword [edi]
push ebp
push str._c_s
push ecx
push ebx
call fcn.00480c51
add esp, 0x14
jmp 0x4aacb7
lea eax, [edx + 1]
sub edx, dword [edi]
push eax
push 1
push dword [edi]
push edx
push ebp
push str._c_.s_c_s
push ecx
push ebx
call fcn.00480c51
add esp, 0x20
add esi, eax
mov edi, dword [edi + 4]
test edi, edi
jne 0x4aac58
mov ebx, dword [esp + 0x14]
push 0xf0
push 0xff
mov eax, 0x800
sub eax, esi
push str._c_c
push eax
lea eax, [esp + 0x28]
add eax, esi
push eax
call fcn.00480c51
add esp, 0x14
lea eax, [esi + 2]
push ebp
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x140]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4aad1d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0048c1c7
add esp, 0xc
push esi
jmp 0x4aadb8
lea esi, [edi + 0x1c28]
push esi
call fcn.00520660
pop ecx
push 0xf0
xor ebp, ebp
lea edi, [eax + 6]
mov eax, 0xff
push eax
push esi
push ebp
push 0x23
jmp 0x4aad67
lea esi, [edi + 0x1c08]
push esi
call fcn.00520660
pop ecx
push 0xf0
xor ebp, ebp
lea edi, [eax + 6]
mov eax, 0xff
push eax
push esi
push ebp
push 0x18
push 0xfa
push eax
push str._c_c_c_c_s_c_c
lea eax, [esp + 0x38]
push 0x800
push eax
call fcn.00480c51
add esp, 0x28
lea eax, [esp + 0x18]
push ebp
push edi
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x140]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4aadb4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0048c1c7
add esp, 0xc
lea eax, [edi - 2]
push eax
lea eax, [esp + 0x1e]
mov ecx, ebx
push eax
push 0x3e
pop edx
call fcn.004aa5e4
pop ecx
pop ecx
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051b034
add esp, 0x814
ret
Function at 0x4aade2
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x11c]
mov dword [esp + 0x18], eax
cmp edx, 0x1f
jne 0x4aaf34
lea ecx, [ebp + 0x1cb4]
lea edi, [ebp + 0x1eb4]
mov eax, ecx
mov dword [edi], ecx
cmp ecx, edi
jae 0x4aae1d
lea eax, [ecx + 1]
mov byte [ecx], 0xff
mov dword [edi], eax
cmp eax, edi
jae 0x4aae31
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4aae31
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [esp + 0x14], eax
movzx eax, word [ebp + 0x1caa]
push eax
call esi
mov ecx, dword [edi]
movzx edx, ax
cmp ecx, edi
jae 0x4aae9f
mov eax, dword [esp + 0x14]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x4aae9f
mov al, byte [esp + 0x15]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x4aae9f
mov byte [ecx], dl
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x4aae9f
shr edx, 8
mov byte [ecx], dl
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x4aae9f
mov byte [ecx], 0xff
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x4aae9f
mov byte [ecx], 0xf0
mov ecx, dword [edi]
inc ecx
mov dword [ebp + 0x1eb8], ecx
lea esi, [ebp + 0x1cb4]
sub ecx, esi
mov dword [edi], esi
sub ecx, 2
lea eax, [ebp + 0x1cb6]
push ecx
push eax
push 0x3e
pop edx
mov ecx, ebx
call fcn.004aa5e4
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.WS2_32.dll_send]
pop ecx
pop ecx
push 0
push 3
push esi
push dword [eax + 0x140]
call edi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x4aaef8
call esi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0048c1c7
add esp, 0xc
push 4
lea edx, [ebp + 0x1cb7]
mov ecx, ebx
call fcn.004ab2cb
pop ecx
push 0
push 2
lea eax, [ebp + 0x1cbb]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x140]
call edi
test eax, eax
jns 0x4aaf34
call esi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0048c1c7
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4abba6
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebp
push edi
xor edi, edi
and dword [eax], edi
lea eax, [esp + 0xc]
and dword [esp + 0x14], edi
push eax
push dword [esp + 0x20]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebp, eax
test ebp, ebp
jne 0x4abcf4
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4abcdf
push ebx
cmp dword [esi + 0x14], 0
je 0x4abbf2
push dword [esi + 0x14]
call fcn.00520660
pop ecx
inc eax
jmp 0x4abbf4
xor eax, eax
cmp dword [esi + 4], 2
mov dword [esp + 0x18], eax
jne 0x4abc02
push 0x10
jmp 0x4abc0e
cmp dword [esi + 4], 0x17
jne 0x4abcaa
push 0x1c
cmp dword [esi + 0x18], 0
pop ecx
mov dword [esp + 0x10], ecx
je 0x4abcaa
cmp dword [esi + 0x10], 0
jbe 0x4abcaa
cmp dword [esi + 0x10], ecx
jb 0x4abcaa
add ecx, 0x20
add eax, ecx
push eax
call dword [0x5c9b04]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4abcb7
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
and dword [ebx + 0x14], 0
and dword [ebx + 0x1c], 0
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.0051c650
mov ecx, dword [esp + 0x24]
add esp, 0xc
test ecx, ecx
je 0x4abc96
mov eax, dword [ebx + 0x18]
add eax, dword [esp + 0x10]
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.0051c650
add esp, 0xc
mov eax, dword [esp + 0x1c]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x4abca6
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x1c], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x4abbe0
jmp 0x4abcba
push 8
pop ebp
cmp dword [esp + 0x14], 0
pop ebx
je 0x4abccc
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebp, ebp
je 0x4abcdb
mov ecx, edi
call fcn.004abb8e
xor edi, edi
jmp 0x4abceb
test edi, edi
jne 0x4abceb
mov ebp, 0x2af9
push ebp
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x24]
pop esi
mov dword [eax], edi
mov eax, ebp
pop edi
pop ebp
add esp, 0x10
ret
Function at 0x4afb97
Capabilities:
Check http status code

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
push edi
mov edi, edx
test esi, esi
je 0x4afbcf
push 0x11
mov edx, str.WWW_Authenticate:
mov ecx, esi
call fcn.0047fb0c
pop ecx
test eax, eax
je 0x4afbcf
lea ebx, [edi + 0xd8]
mov ebp, dword [ebx]
cmp ebp, 0x191
je 0x4afbfa
jmp 0x4afbdd
lea ebx, [edi + 0xd8]
test esi, esi
je 0x4afcb0
push 0x13
mov edx, str.Proxy_authenticate:
mov ecx, esi
call fcn.0047fb0c
pop ecx
test eax, eax
je 0x4afc54
mov ebp, dword [ebx]
cmp ebp, 0x197
jne 0x4afc4c
mov ecx, esi
call fcn.004938f0
mov ebx, eax
test ebx, ebx
jne 0x4afc0f
push 0x1b
pop eax
jmp 0x4afde3
push esi
push str.CONNECT:_fwd_auth_header__s
push dword [esp + 0x18]
push edi
call fcn.0048c2f0
cmp ebp, 0x197
mov ecx, edi
push ebx
sete dl
call fcn.00494140
add esp, 0x14
mov esi, eax
push ebx
call dword [0x5c9b0c]
pop ecx
test esi, esi
je 0x4afde1
mov eax, esi
jmp 0x4afde3
lea ebx, [edi + 0xd8]
jmp 0x4afc58
test esi, esi
je 0x4afcb0
mov ebp, str.Content_Length:
mov ecx, esi
push 0xf
mov edx, ebp
call fcn.0047fb0c
pop ecx
test eax, eax
je 0x4afcb0
mov ecx, dword [ebx]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x4afc8e
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.0048c275
add esp, 0xc
jmp 0x4afde1
mov eax, dword [esp + 0x18]
sub eax, 0xffffff80
push eax
push 0xa
push ebp
call fcn.00520660
pop ecx
xor edx, edx
lea ecx, [esi + eax]
call fcn.0049e54f
pop ecx
pop ecx
jmp 0x4afde1
push 5
mov ebx, str.close
mov edx, str.Connection:
push ebx
push 0xb
mov ecx, esi
call fcn.0049465e
add esp, 0xc
test al, al
jne 0x4afdd6
test esi, esi
je 0x4afd47
mov ebp, str.Transfer_Encoding:
mov ecx, esi
push 0x12
mov edx, ebp
call fcn.0047fb0c
pop ecx
test eax, eax
je 0x4afd47
mov ecx, dword [edi + 0xd8]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x4afd06
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
jmp 0x4afc80
push 7
push str.chunked
push 0x12
mov edx, ebp
mov ecx, esi
call fcn.0049465e
add esp, 0xc
test al, al
je 0x4afde1
push str.CONNECT_responded_chunked
push edi
call fcn.0048c275
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, edi
mov byte [eax + 0x8c], 1
call fcn.004b07af
jmp 0x4afde1
push 5
push ebx
push 0x11
mov edx, str.Proxy_Connection:
mov ecx, esi
call fcn.0049465e
add esp, 0xc
test al, al
jne 0x4afdd6
push 7
push str.HTTP_1.
push esi
call fcn.00527fe0
add esp, 0xc
test eax, eax
jne 0x4afde1
mov al, byte [esi + 7]
cmp al, 0x30
je 0x4afd7e
cmp al, 0x31
jne 0x4afde1
cmp byte [esi + 8], 0x20
jne 0x4afde1
mov cl, byte [esi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x4afde1
mov dl, byte [esi + 0xa]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x4afde1
mov bl, byte [esi + 0xb]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x4afde1
mov al, byte [esi + 0xc]
cmp al, 0x30
jl 0x4afdb0
cmp al, 0x39
jle 0x4afde1
movsx eax, cl
imul ecx, eax, 0xa
movsx eax, dl
add ecx, eax
movsx eax, bl
imul ecx, ecx, 0xa
add eax, 0xffffeb30
add eax, ecx
mov dword [edi + 0xd8], eax
mov dword [edi + 0xd94], eax
jmp 0x4afde1
mov eax, dword [esp + 0x18]
mov byte [eax + 0x8d], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4b48eb
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
mov dword [eax + 0x68], ecx
xor eax, eax
ret

Function at 0x4b61e1
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
mov ebp, edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
lea eax, [eax + esi*2]
add eax, 0xc
push eax
call dword [0x5c9b04]
mov esi, eax
pop ecx
test esi, esi
je 0x4b62d8
lea ecx, [esi + 0xc]
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [edi + 0xc]
add eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
push ebx
lea ebx, [edi + 4]
cmp eax, dword [edi + 0x10]
jbe 0x4b6256
push ecx
call dword [edi]
push dword [esp + 0x28]
push ebp
push dword [esi + 4]
call dword [ebx]
mov eax, dword [esi + 8]
add eax, dword [edi + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
call dword [edi + 8]
mov eax, dword [edi + 0x14]
add esp, 0x18
mov dword [esp + 0x24], eax
push dword [esi + 4]
call dword [edi]
push dword [esi + 8]
call dword [edi]
mov eax, dword [esp + 0x2c]
xor ebp, ebp
pop ecx
pop ecx
test eax, eax
je 0x4b62d0
mov edi, dword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x1c], eax
mov al, byte [edi]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
call dword [ebx]
mov al, byte [edi]
xor al, 0x5c
inc edi
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
call dword [ebx]
add esp, 0x18
sub ebp, 1
jne 0x4b6276
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [edi + 4]
jmp 0x4b62d0
push 1
push 0x55f775
push dword [esi + 4]
call dword [ebx]
push 1
push 0x55f774
push dword [esi + 8]
call dword [ebx]
add esp, 0x18
inc ebp
cmp ebp, dword [edi + 0x10]
jb 0x4b62b4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4b65e9
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xf0000040
xor ebx, ebx
lea eax, [ebp - 0xc]
push 1
push ebx
push ebx
push eax
mov esi, edx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4b6637
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8002
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push ebx
test eax, eax
jne 0x4b663f
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 4]
push ebx
push eax
push ebx
push 2
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
cmp dword [ebp - 4], 0x10
jne 0x4b6675
push ebx
lea eax, [ebp - 4]
push eax
push edi
push 2
push dword [ebp - 8]
call esi
cmp dword [ebp - 8], ebx
je 0x4b6683
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0xc], ebx
je 0x4b6692
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x4b663a
Function at 0x4b7fe1
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov eax, dword [ecx + 0x44]
xor edx, edx
add eax, 0x224
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 0x68], edx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
mov ecx, dword [ecx + 0x44]
add ecx, 0x290
inc edx
jmp fcn.004cd303

Function at 0x4b883b
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
push edi
push 0x818
xor ebx, ebx
mov edi, ecx
push ebx
push edi
call fcn.0051c010
lea esi, [edi + 0x224]
mov ecx, esi
call fcn.004c317f
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x6a09e667
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0x3c6ef372
mov dword [esi + 0x14], 0xa54ff53a
mov dword [esi + 0x18], 0x510e527f
mov dword [esi + 0x1c], 0x9b05688c
mov dword [esi + 0x20], 0x1f83d9ab
mov dword [esi + 0x24], 0x5be0cd19
mov dword [esi + 0x68], ebx
lea esi, [edi + 0x290]
mov ecx, esi
call fcn.004cd2db
xor edx, edx
mov ecx, esi
inc edx
call fcn.004cd303
push 0x78
lea eax, [edi + 0x30]
mov dword [edi + 0x14], 0x4b803a
push ebx
push eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
call fcn.0051c010
push 0xe8
lea esi, [edi + 0xa8]
push ebx
push esi
call fcn.0051c010
add esp, 0x24
mov dword [esi + 8], ebx
mov byte [esi], bl
mov byte [edi + 4], 3
pop edi
pop esi
pop ebx
ret
Function at 0x4bb48d
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x574
mov eax, dword [0x5c9040]
xor eax, esp
mov dword [esp + 0x56c], eax
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], ecx
push edi
push ebx
xor esi, esi
call fcn.00520660
mov edi, eax
pop ecx
cmp edi, 0x101
ja 0x4bb5f2
push 0x208
lea eax, [esp + 0x374]
push esi
push eax
call fcn.0051c010
add esp, 0xc
lea eax, [esp + 0x268]
mov ebp, 0x104
push ebp
push esi
push eax
call fcn.0051c010
add esp, 0xc
lea eax, [esp + 0x268]
push edi
push ebx
push eax
call fcn.0051c650
add esp, 0xc
mov byte [esp + edi + 0x268], 0x5c
inc edi
lea eax, [esp + 0x268]
add eax, edi
inc edi
mov dword [esp + 0x10], eax
push 0x101
mov byte [eax], 0x2a
lea eax, [esp + 0x374]
push eax
push edi
lea eax, [esp + 0x274]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4bb5f2
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4bb565
mov eax, 0xffffd700
jmp 0x4bb5f7
sub ebp, edi
mov edi, dword [esp + 0x10]
push ebp
push 0
push edi
call fcn.0051c010
add esp, 0xc
test byte [esp + 0x18], 0x10
jne 0x4bb5bf
push 0
push 0
lea eax, [ebp - 1]
push eax
push edi
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4bb5eb
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
call fcn.004bb447
test eax, eax
jns 0x4bb5bd
inc esi
jmp 0x4bb5bf
add esi, eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4bb56b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
mov ecx, 0xffffd700
cmovne esi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x4bb5f7
mov esi, 0xffffd700
jmp 0x4bb5e0
mov eax, 0xffffd800
mov ecx, dword [esp + 0x57c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051b034
add esp, 0x574
ret
Function at 0x4bceea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x5c9040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], edx
push 0x30
mov eax, esi
mov dword [esp + 0x14], esi
push 0
push eax
mov edi, ecx
call fcn.0051c010
xor edx, edx
lea ecx, [edi + 0xf]
inc edx
add esp, 0xc
xor ebx, ebx
sub edx, edi
mov dword [esp + 0x14], edx
add byte [ecx], 1
jne 0x4bcf39
dec ecx
lea eax, [edx + ecx]
test eax, eax
jg 0x4bcf2c
push esi
mov edx, edi
lea ecx, [edi + 0x20]
call fcn.004d8eb3
mov esi, eax
pop ecx
test esi, esi
jne 0x4bcfb3
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0xf]
mov edx, dword [esp + 0x14]
add esi, 0x10
add ebx, 0x10
mov dword [esp + 0x10], esi
cmp ebx, 0x30
jl 0x4bcf2c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
sub ecx, edx
movups xmm0, xmmword [esp + eax + 0x1c]
movups xmm1, xmmword [ecx + edx]
lea edx, [edx + 0x10]
xorps xmm1, xmm0
movups xmmword [esp + eax + 0x1c], xmm1
add eax, 0x10
cmp eax, 0x30
jl 0x4bcf6f
push 0x100
lea edx, [esp + 0x20]
lea ecx, [edi + 0x20]
call fcn.004d8a3f
mov esi, eax
pop ecx
test esi, esi
jne 0x4bcfb3
push 0x10
lea eax, [esp + 0x40]
push eax
push edi
call fcn.0051c650
add esp, 0xc
push 0x30
lea eax, [esp + 0x20]
push 0
push eax
mov eax, dword [fcn.0051c010]
call eax
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051b034
mov esp, ebp
pop ebp
ret

Function at 0x4bd282
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov edx, 0x591c68
push ecx
call fcn.004eb49c
mov esi, eax
pop ecx
test esi, esi
jne 0x4bd2a4
mov eax, 0xffffc200
jmp 0x4bd358
push 2
push 0
push esi
call fcn.0052966e
add esp, 0xc
push esi
call fcn.00529329
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
jne 0x4bd2cf
push esi
call fcn.005335d9
mov eax, 0xffffc200
jmp 0x4bd357
push 0
push 0
push esi
call fcn.0052966e
mov edi, dword [esp + 0x20]
lea ecx, [ebx + 1]
add esp, 0xc
mov dword [edi], ebx
test ecx, ecx
je 0x4bd34c
call fcn.004ebeae
mov dword [ebp], eax
test eax, eax
je 0x4bd34c
push esi
push dword [edi]
push 1
push eax
call fcn.005333ca
add esp, 0x10
push esi
cmp eax, dword [edi]
je 0x4bd325
call fcn.005335d9
mov edx, dword [edi]
pop ecx
mov ecx, dword [ebp]
call fcn.004c8483
mov ecx, dword [ebp]
call fcn.004ebe45
jmp 0x4bd29a
call fcn.005335d9
mov ecx, dword [ebp]
mov eax, dword [edi]
mov dword [esp], str._____BEGIN
push ecx
mov byte [ecx + eax], 0
call fcn.0051c3e0
pop ecx
pop ecx
test eax, eax
je 0x4bd348
inc dword [edi]
xor eax, eax
jmp 0x4bd358
push esi
call fcn.005335d9
mov eax, 0xffffc080
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4be8a2
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0xc
mov esi, ecx
push 0
push esi
call fcn.0051c010
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call fcn.0051c650
mov ecx, dword [esp + 0x28]
add esp, 0x18
add esi, 4
sub ecx, esi
push 8
pop edx
mov al, byte [esi + ecx]
xor byte [esi], al
inc esi
sub edx, 1
jne 0x4be8cc
pop esi
ret
Function at 0x4c3024
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ecx
push ecx
and dword [esp + 4], 0
push ebx
push ebp
mov ebx, edx
push esi
push edi
mov edi, ecx
lea eax, [ebx + 0x826]
mov dword [esp + 0x10], eax
test edi, edi
je 0x4c3171
mov eax, dword [edi]
test eax, eax
je 0x4c3171
cmp dword [eax], 1
jne 0x4c3062
push dword [edi + 4]
lea ecx, [esp + 0x14]
call fcn.004c2eb5
jmp 0x4c307f
test eax, eax
je 0x4c3171
cmp dword [eax], 2
jne 0x4c3171
push dword [edi + 4]
lea ecx, [esp + 0x14]
call fcn.004c2f6c
pop ecx
mov ecx, eax
test ecx, ecx
js 0x4c3176
mov edx, dword [esp + 0x10]
mov eax, edx
sub eax, ebx
cmp eax, 1
jge 0x4c309f
push 0xffffffffffffff94
pop eax
jmp 0x4c3178
dec edx
lea esi, [ecx + 1]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
push esi
mov byte [edx], 0
mov edx, ebx
call fcn.004de258
pop ecx
test eax, eax
js 0x4c3178
push 3
mov edx, ebx
lea ecx, [esp + 0x14]
add esi, eax
call fcn.004de330
pop ecx
test eax, eax
js 0x4c3178
add esi, eax
test edi, edi
je 0x4c3102
mov ebp, dword [edi]
test ebp, ebp
je 0x4c3102
mov ebp, dword [ebp]
cmp ebp, 2
jne 0x4c3104
push dword [edi + 4]
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.004c2fea
pop ecx
mov ecx, eax
test ecx, ecx
js 0x4c3176
jmp 0x4c3108
xor ebp, ebp
mov ecx, dword [esp + 0x14]
cmp dword [0x56c0f0], 0
mov eax, 0x56c0f0
je 0x4c3123
cmp dword [eax + 0x10], ebp
je 0x4c312a
add eax, 0x14
cmp dword [eax], 0
jne 0x4c3116
push 0xffffffffffffffd2
jmp 0x4c3099
push ecx
push dword [eax + 4]
mov edx, ebx
lea ecx, [esp + 0x18]
push dword [eax]
call fcn.004de44d
add esp, 0xc
test eax, eax
js 0x4c3178
add esi, eax
lea ecx, [esp + 0x10]
push esi
mov edx, ebx
call fcn.004de258
pop ecx
test eax, eax
js 0x4c3178
push 0x30
mov edx, ebx
lea ecx, [esp + 0x14]
add esi, eax
call fcn.004de330
pop ecx
mov ecx, eax
test ecx, ecx
lea eax, [ecx + esi]
cmovs eax, ecx
jmp 0x4c3178
mov ecx, 0xffffc680
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x4c31a1
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
and dword [ecx], 0
mov eax, 0x6a09e667
and dword [ecx + 4], 0
test edx, edx
push esi
mov esi, 0xc1059ed8
cmovne eax, esi
mov esi, 0x367cd507
mov dword [ecx + 8], eax
mov eax, 0xbb67ae85
cmovne eax, esi
mov esi, 0x3070dd17
mov dword [ecx + 0xc], eax
mov eax, 0x3c6ef372
cmovne eax, esi
mov esi, 0xf70e5939
mov dword [ecx + 0x10], eax
mov eax, 0xa54ff53a
cmovne eax, esi
mov esi, 0xffc00b31
mov dword [ecx + 0x14], eax
mov eax, 0x510e527f
cmovne eax, esi
mov esi, 0x68581511
mov dword [ecx + 0x18], eax
mov eax, 0x9b05688c
cmovne eax, esi
mov esi, 0x64f98fa7
mov dword [ecx + 0x1c], eax
mov eax, 0x1f83d9ab
cmovne eax, esi
mov esi, 0xbefa4fa4
mov dword [ecx + 0x20], eax
mov eax, 0x5be0cd19
cmovne eax, esi
mov dword [ecx + 0x24], eax
xor eax, eax
mov dword [ecx + 0x68], edx
pop esi
ret
Function at 0x4c4f3a
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx], 0
xor eax, eax
and dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret