joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor edx, edx
test esi, esi
je 0x436760
mov al, byte [esi]
test al, al
je 0x436760
push edi
mov edi, pe_nt_image_headers32
lea esp, [esp]
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
lea esi, [esi + 1]
add edi, 0x100
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x436730
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x43c290
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x43c309
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x43c309
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push pe_nt_image_headers32
push eax
call fcn.004f76a1
add esp, 0x10
lea ecx, [ebp - 0x108]
push 0
push ecx
test eax, eax
mov ecx, pe_nt_image_headers32
cmovs eax, ecx
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0xff
push eax
call fcn.004f76a1
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x43c38f
call fcn.0043c150
test eax, eax
jle 0x43c38f
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x43c3a5
push 0
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x108]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret

Function at 0x43c3f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
test esi, esi
je 0x43c40d
sub edx, ecx
mov al, byte [edx + ecx]
xor al, byte [ecx]
lea ecx, [ecx + 1]
or bl, al
dec esi
jne 0x43c400
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x44b1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 4]
mov eax, dword [esi + 8]
push ecx
mov eax, dword [eax + 0x30]
push 0x40
push 0x14
push dword [ebp + 8]
mov dword [ebp - 8], esi
push edx
push esi
call eax
add esp, 0x18
cmp dword [ebp - 4], 0
mov edx, eax
je 0x44b2ab
mov eax, dword [esi + 0x58]
cmp dword [eax + 0x180], 0
jne 0x44b224
push 0x101
push str.ssl_s3_both.c
mov edi, 0xa
push 0x9a
jmp 0x44b289
mov dword [eax + 0x180], 0
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x40]
mov ebx, dword [eax + 0x338]
cmp ebx, edx
je 0x44b251
push 0x10b
push str.ssl_s3_both.c
mov edi, 0x32
push 0x6f
jmp 0x44b289
xor dl, dl
test ebx, ebx
je 0x44b2b2
lea esi, [eax + 0x2b8]
sub esi, ecx
mov edi, ebx
mov al, byte [esi + ecx]
xor al, byte [ecx]
lea ecx, [ecx + 1]
or dl, al
dec edi
jne 0x44b261
mov esi, dword [ebp - 8]
test dl, dl
je 0x44b2b2
push 0x111
push str.ssl_s3_both.c
mov edi, 0x33
push 0x95
mov edx, 0x8c
lea ecx, [edx - 0x78]
call fcn.004144f0
add esp, 0xc
mov edx, 2
push edi
mov ecx, esi
call fcn.00447630
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0x2000
jne 0x44b2ef
cmp ebx, 0x40
jg 0x44b323
mov ecx, dword [esi + 0x58]
push ebx
lea eax, [ecx + 0x2b8]
push eax
lea eax, [ecx + 0x394]
push eax
call fcn.004f0080
mov eax, dword [esi + 0x58]
add esp, 0xc
mov byte [eax + 0x3d4], bl
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x40
jg 0x44b337
mov ecx, dword [esi + 0x58]
push ebx
lea eax, [ecx + 0x2b8]
push eax
lea eax, [ecx + 0x3d5]
push eax
call fcn.004f0080
mov eax, dword [esi + 0x58]
add esp, 0xc
mov byte [eax + 0x415], bl
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.i___EVP_MAX_MD_SIZE
mov edx, 0x119
mov ecx, str.ssl_s3_both.c
call fcn.0043c3c0
push str.i___EVP_MAX_MD_SIZE
mov edx, 0x11d
mov ecx, str.ssl_s3_both.c
call fcn.0043c3c0
int3
Function at 0x460a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x460ac5
push 0x77
push str.cryptopkcs12p12_mutl.c
push 0x6c
mov edx, 0x7e
lea ecx, [edx - 0x5b]
call fcn.004144f0
add esp, 0xc
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.004608c0
add esp, 0xc
test eax, eax
jne 0x460ae7
push 0x7b
push str.cryptopkcs12p12_mutl.c
push 0x6d
jmp 0x460aa3
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi]
jne 0x460ab3
mov esi, dword [esi + 8]
xor bl, bl
xor edx, edx
test eax, eax
je 0x460b1c
lea eax, [ebp - 0x4c]
sub esi, eax
lea eax, [ebp - 0x4c]
add eax, edx
inc edx
mov cl, byte [esi + eax]
xor cl, byte [eax]
or bl, cl
cmp edx, dword [ebp - 0x50]
jb 0x460b06
test bl, bl
jne 0x460ab3
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret

Function at 0x463f10
Capabilities:
Hash data using sha224

Disassembly:
mov dword [ecx], 0xc1059ed8
mov dword [ecx + 4], 0xcbbb9d5d
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov dword [ecx + 0x10], 0x3070dd17
mov dword [ecx + 0x14], 0x9159015a
mov dword [ecx + 0x18], 0xf70e5939
mov dword [ecx + 0x1c], 0x152fecd8
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov dword [ecx + 0x28], 0x68581511
mov dword [ecx + 0x2c], 0x8eb44a87
mov dword [ecx + 0x30], 0x64f98fa7
mov dword [ecx + 0x34], 0xdb0c2e0d
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0x30
mov eax, 1
ret

Function at 0x463fc0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0xf3bcc908
mov dword [ecx + 4], 0x6a09e667
mov dword [ecx + 8], 0x84caa73b
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0xfe94f82b
mov dword [ecx + 0x14], 0x3c6ef372
mov dword [ecx + 0x18], 0x5f1d36f1
mov dword [ecx + 0x1c], 0xa54ff53a
mov dword [ecx + 0x20], 0xade682d1
mov dword [ecx + 0x24], 0x510e527f
mov dword [ecx + 0x28], 0x2b3e6c1f
mov dword [ecx + 0x2c], 0x9b05688c
mov dword [ecx + 0x30], 0xfb41bd6b
mov dword [ecx + 0x34], 0x1f83d9ab
mov dword [ecx + 0x38], 0x137e2179
mov dword [ecx + 0x3c], 0x5be0cd19
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0x40
mov eax, 1
ret
Function at 0x465010
Capabilities:
Hash data using sha1

Disassembly:
push esi
push 0x60
mov esi, ecx
push 0
push esi
call fcn.004f2670
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x4663c0
Capabilities:
Hash data using sha224

Disassembly:
push esi
push 0x70
mov esi, ecx
push 0
push esi
call fcn.004f2670
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x466420
Capabilities:
Hash data using sha256

Disassembly:
push esi
push 0x70
mov esi, ecx
push 0
push esi
call fcn.004f2670
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret
Function at 0x46ad30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov edx, dword [esi + 0x60]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0xffffffff
cmp ebx, dword [ebp + 8]
jne 0x46ae98
mov edi, dword [ebp + 0xc]
cmp edi, 0x18
jb 0x46ae98
cmp dword [esi + 8], 0
mov eax, 0x13
push ebx
mov edx, 0x18
push 8
cmovne edx, eax
call fcn.00445300
add esp, 8
test eax, eax
jle 0x46ae77
mov eax, dword [ebp - 8]
add esi, 0x30
push dword [eax + 0x288]
lea ecx, [eax + 0x100]
mov edx, esi
mov dword [ebp - 4], ecx
call fcn.004b0650
add esp, 4
test eax, eax
jne 0x46ae77
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add eax, 8
sub edi, 0x18
add ebx, 8
cmp dword [ecx + 8], 0
mov ecx, dword [edx + 0x28c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edi
mov edx, eax
je 0x46ae0f
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x46ade9
push ecx
push edi
push ebx
mov ecx, esi
call fcn.004b0ce0
add esp, 0xc
jmp 0x46adf5
push edi
push ebx
mov ecx, esi
call fcn.004b0730
add esp, 8
test eax, eax
jne 0x46ae77
push ecx
lea edx, [ebx + edi]
mov ecx, esi
call fcn.004b12e0
lea eax, [edi + 0x18]
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x46ae77
test ecx, ecx
je 0x46ae23
push ecx
mov ecx, dword [ebp - 4]
push edi
push ebx
call fcn.004b0f30
add esp, 0xc
jmp 0x46ae30
mov ecx, dword [ebp - 4]
push edi
push ebx
call fcn.004b0a00
add esp, 8
test eax, eax
jne 0x46ae77
push ecx
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.004b12e0
add dword [ebp + 8], edi
mov edi, dword [ebp + 8]
add esp, 4
xor cl, cl
sub edi, esi
mov edx, 0x10
mov al, byte [edi + esi]
xor al, byte [esi]
lea esi, [esi + 1]
or cl, al
dec edx
jne 0x46ae51
mov edi, dword [ebp + 0xc]
test cl, cl
je 0x46ae74
mov eax, dword [fcn.004f2670]
push edi
push edx
push ebx
call eax
add esp, 0xc
jmp 0x46ae77
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 8]
mov dword [eax + 0xfc], 0
mov dword [eax + 0x288], 0xffffffff
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481720
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x5c
mov esi, ecx
push 0
push esi
call fcn.004f2670
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x4821c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
jle 0x4822a3
push edi
lea edi, [edx + 1]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x482234
movzx eax, byte [edi]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 6
and eax, 0x3f
and edx, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
jmp 0x482285
shl edx, 0x10
cmp esi, 2
jne 0x482244
movzx eax, byte [edi]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
cmp esi, 1
jne 0x482271
lea eax, [esi + 0x3c]
jmp 0x48227e
shr edx, 6
and edx, 0x3f
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
sub esi, 3
add ecx, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x4821d6
pop edi
pop esi
mov eax, ebx
mov byte [ecx], 0
pop ebx
pop ebp
ret
pop esi
mov byte [ecx], bl
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x4828e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [ebp + 0x10]
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
test edi, edi
je 0x482932
cmp edi, dword [esi]
je 0x482929
test eax, eax
je 0x482ab4
test ebx, ebx
js 0x482ab4
mov ecx, 1
mov dword [esi], edi
jmp 0x48293c
mov edi, dword [esi]
test edi, edi
je 0x482ab4
test eax, eax
je 0x482aab
mov ecx, dword [edi + 0x40]
cmp ecx, 0x80
jg 0x482ac7
cmp ecx, ebx
jge 0x4829a6
push edx
lea ecx, [esi + 4]
mov edx, edi
call fcn.00424050
add esp, 4
test eax, eax
je 0x482ab4
mov eax, dword [esi + 0x18]
push ebx
push dword [ebp - 0x94]
lea ebx, [esi + 4]
push ebx
call eax
add esp, 0xc
test eax, eax
je 0x482ab4
lea eax, [esi + 0x4c]
push eax
lea edx, [esi + 0x50]
mov ecx, ebx
call fcn.004242a0
add esp, 4
test eax, eax
je 0x482ab4
lea eax, [esi + 0x4c]
jmp 0x4829c5
cmp ebx, 0x80
ja 0x482ab4
push ebx
push eax
lea eax, [esi + 0x50]
push eax
call fcn.004f0080
lea eax, [esi + 0x4c]
add esp, 0xc
mov dword [eax], ebx
mov ecx, dword [eax]
cmp ecx, 0x80
je 0x4829e7
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.004f2670
add esp, 0xc
mov edx, dword [ebp - 0x90]
xor ecx, ecx
nop
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [ebp + ecx - 0x8c], al
inc ecx
cmp ecx, 0x80
jl 0x4829f0
lea ebx, [esi + 0x1c]
push edx
mov edx, edi
mov ecx, ebx
call fcn.00424050
add esp, 4
test eax, eax
je 0x482ab4
push dword [edi + 0x40]
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebx + 0x14]
push ebx
call eax
add esp, 0xc
test eax, eax
je 0x482ab4
xor ecx, ecx
jmp 0x482a40
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [ebp + ecx - 0x8c], al
inc ecx
cmp ecx, 0x80
jl 0x482a40
push dword [ebp - 0x90]
lea ebx, [esi + 0x34]
mov edx, edi
mov ecx, ebx
call fcn.00424050
add esp, 4
test eax, eax
je 0x482ab4
push dword [edi + 0x40]
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebx + 0x14]
push ebx
call eax
add esp, 0xc
test eax, eax
je 0x482ab4
lea edx, [esi + 0x1c]
lea ecx, [esi + 4]
call fcn.00424310
test eax, eax
je 0x482ab4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x482a86
jmp 0x4829ed
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push str.j____int_sizeof_ctx__key_
mov edx, 0x74
mov ecx, str.cryptohmachmac.c
call fcn.0043c3c0
int3
Function at 0x482ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0x10], edx
mov edx, ecx
push edi
xor ecx, ecx
mov dword [esp + 0x10], edx
xor esi, esi
mov edi, 0x593fd0
nop
cmp esi, 5
ja 0x483025
mov eax, dword [edi]
shl eax, 0xa
test edx, eax
je 0x48301f
inc ecx
inc esi
add edi, 4
jmp 0x483010
test ecx, ecx
jne 0x483050
push 0x109
push str.ssl_t1_enc.c
push 0x44
mov edx, 0x11c
mov ecx, 0x14
call fcn.004144f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x30]
mov eax, ebx
cdq
idiv ecx
mov esi, dword [ebp + 0x3c]
push esi
mov dword [esp + 0x10], eax
xor eax, eax
cmp ecx, 1
push eax
push dword [ebp + 0x34]
cmove ebx, eax
mov dword [ebp + 0x30], ebx
call fcn.004f2670
add esp, 0xc
xor ebx, ebx
xor edi, edi
jmp 0x483080
cmp ebx, 5
ja 0x483141
mov eax, dword [edi + 0x593fd0]
test eax, eax
je 0x48309b
mov ecx, dword [edi + 0x59faec]
jmp 0x48309d
xor ecx, ecx
shl eax, 0xa
test dword [esp + 0x10], eax
je 0x48310e
test ecx, ecx
je 0x483117
push esi
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
sub esp, 8
mov edx, dword [ebp + 0x2c]
push dword [ebp + 0x20]
and eax, 1
push dword [ebp + 0x1c]
add eax, dword [esp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x40]
push eax
call fcn.00482cb0
add esp, 0x34
test eax, eax
je 0x483047
mov eax, dword [esp + 0xc]
add dword [ebp + 0x2c], eax
test esi, esi
jle 0x48310e
mov eax, dword [ebp + 0x34]
mov esi, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
sub esi, eax
mov edi, edi
mov cl, byte [esi + eax]
xor byte [eax], cl
lea eax, [eax + 1]
dec edx
jne 0x483100
mov esi, dword [ebp + 0x3c]
inc ebx
add edi, 4
jmp 0x483080
push 0x114
push str.ssl_t1_enc.c
push 0x146
mov edx, 0x11c
mov ecx, 0x14
call fcn.004144f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
inc ebx
mov eax, dword [edi + 8]
mov esi, edx
mov eax, dword [eax + 0x64]
mov dword [ebp - 8], esi
test byte [eax + 0x38], 1
mov dword [ebp - 4], ebx
je 0x488196
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 4]
lea eax, [ebx + ecx]
cmp eax, edx
jbe 0x488189
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub edx, ecx
mov dword [esi + 4], edx
jmp 0x48819b
cmp ebx, dword [esi + 4]
ja 0x488180
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
movzx ebx, byte [ecx + eax - 1]
mov dword [ebp + 0xc], ebx
je 0x488201
cmp dword [edi + 0x88], 0
jne 0x488201
mov ecx, dword [edi + 0x58]
add ecx, 8
mov ebx, 0x57fb28
xor dl, dl
sub ebx, ecx
mov esi, 8
mov al, byte [ebx + ecx]
xor al, byte [ecx]
lea ecx, [ecx + 1]
or dl, al
dec esi
jne 0x4881d2
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
test dl, dl
jne 0x4881f4
test bl, 1
jne 0x4881f4
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov eax, dword [edi + 0x58]
test byte [eax], 8
je 0x488201
test ebx, ebx
je 0x488201
dec ebx
mov eax, dword [edi + 0x80]
mov eax, dword [eax]
test dword [eax + 0x10], 0x200000
je 0x488226
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov eax, dword [ebp - 4]
add eax, ebx
mov edi, edx
sub edi, eax
xor edi, eax
xor eax, edx
or edi, eax
xor edi, edx
shr edi, 0x1f
mov ecx, 0xff
lea eax, [edx - 1]
dec edi
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x4882a4
mov eax, ebx
shr eax, 0x1f
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0xc]
dec eax
add eax, edx
mov dword [ebp - 4], eax
xor esi, esi
mov al, byte [ebp + 0xc]
mov edx, ebx
sub edx, esi
shr edx, 0x1f
mov ecx, esi
shr ecx, 0x1f
xor dl, cl
xor al, cl
or dl, al
xor dl, byte [ebp + 0xc]
inc esi
dec dl
movzx ecx, dl
mov edx, dword [ebp - 4]
dec edx
movzx eax, byte [edx + 1]
xor eax, ebx
and ecx, eax
not ecx
and edi, ecx
mov dword [ebp - 4], edx
cmp esi, dword [ebp - 0xc]
jb 0x488268
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
not edi
and edi, 0xff
lea eax, [ebx + 1]
lea ecx, [edi - 1]
shr ecx, 0x1f
not edi
shr edi, 0x1f
and ecx, edi
neg ecx
and eax, ecx
sub edx, eax
shl eax, 8
or dword [esi], eax
mov eax, ecx
pop edi
mov dword [esi + 4], edx
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4882e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, edx
mov edx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x94], eax
mov eax, dword [eax + 4]
push edi
mov edi, dword [ebp + 8]
mov esi, eax
sub esi, edi
xor ebx, ebx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], ebx
cmp edx, edi
jb 0x4884e6
cmp edi, 0x40
ja 0x4884d2
lea eax, [ebp - 0x84]
neg eax
and eax, 0x3f
lea ecx, [ebp - 0x84]
add ecx, eax
lea eax, [edi + 0x100]
mov dword [ebp - 0x9c], ecx
cmp edx, eax
jbe 0x488369
mov ebx, edx
sub ebx, edi
sub ebx, 0x100
mov dword [ebp - 0x88], ebx
mov eax, edi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebx
add eax, esi
xor edx, edx
div edi
push edi
push 0
push ecx
mov esi, edx
mov dword [ebp - 0xa8], esi
call fcn.004f2670
add esp, 0xc
mov dword [ebp - 0x90], 0
cmp ebx, dword [ebp + 0xc]
jae 0x488480
mov ecx, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x88]
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x98]
mov edx, eax
shr edx, 0x1f
mov dword [ebp - 0xa0], edx
mov edx, esi
sub edx, eax
sub eax, ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], edx
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
lea esp, [esp]
lea ebx, [eax + edx]
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
shr edx, 0x1f
shr ebx, 0x1f
xor bl, al
mov ecx, esi
shr ecx, 0x1f
xor al, cl
or bl, al
mov eax, dword [ebp - 0xa0]
xor dl, al
xor al, cl
or dl, al
mov eax, dword [ebp - 0x94]
xor dl, cl
mov al, byte [eax + esi]
dec dl
xor bl, cl
mov ecx, dword [ebp - 0x9c]
not dl
and dl, al
dec bl
and dl, bl
or byte [ecx + edi], dl
mov edx, edi
mov edi, dword [ebp + 8]
inc edx
mov ecx, edx
sub ecx, edi
mov eax, edx
xor ecx, edi
xor eax, edi
or ecx, eax
mov eax, dword [ebp - 0x98]
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0x88]
inc esi
inc edx
mov dword [ebp - 0x88], edx
cmp esi, dword [ebp + 0xc]
jb 0x4883f0
mov esi, dword [ebp - 0xa8]
xor edx, edx
test edi, edi
je 0x4884c1
mov ebx, dword [ebp - 0xa4]
lea esp, [esp]
mov ecx, dword [ebp - 0x9c]
mov eax, esi
xor eax, 0x20
inc esi
mov al, byte [eax + ecx]
movzx eax, byte [esi + ecx - 1]
mov byte [ebx + edx], al
mov ecx, esi
sub ecx, edi
xor ecx, edi
mov eax, esi
xor eax, edi
or ecx, eax
xor ecx, esi
shr ecx, 0x1f
neg ecx
inc edx
and esi, ecx
cmp edx, edi
jb 0x488490
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push str.md_size___EVP_MAX_MD_SIZE
mov edx, 0xf9
mov ecx, str.ssl_s3_cbc.c
call fcn.0043c3c0
push str.orig_len___md_size
mov edx, 0xf8
mov ecx, str.ssl_s3_cbc.c
call fcn.0043c3c0
int3
Function at 0x49c7b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp dword [ebp + 0x10], esi
jne 0x49c842
mov ecx, dword [ebp + 8]
mov al, byte [ecx]
cmp al, 0x6a
je 0x49c7d0
cmp al, 0x6b
jne 0x49c842
inc ecx
cmp al, 0x6b
jne 0x49c817
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x49c7f2
mov edi, edi
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x49c7f2
cmp dl, 0xbb
jne 0x49c809
inc eax
cmp eax, esi
jl 0x49c7e0
sub esi, eax
test eax, eax
jne 0x49c81a
push 0x83
push str.crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x49c84e
push 0x7b
push str.crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x49c84e
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x49c831
push 0x8b
push str.crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x49c84e
push esi
push ecx
push edi
call fcn.004f0080
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
ret
push 0x70
push str.crypto_rsa_rsa_x931.c
push 0x89
mov edx, 0x80
lea ecx, [edx - 0x7c]
call fcn.004144f0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret