joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e170
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x5c171c
push 0
push eax
push 0x46de60
push 0
push 0
mov byte [0x5c1816], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [0x5c1754], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x5c1788], eax
call esi
mov dword [0x5c178c], eax
call esi
mov dword [0x5c17bc], eax
call esi
mov dword [0x5c172c], eax
call esi
mov dword [0x5c173c], eax
pop esi
ret

Function at 0x46e3f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x5c1744
push 0
push eax
push 0x46e1f0
push 0
push 0
mov byte [0x5c1817], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfffffffffffffffe
push eax
mov dword [0x5c1768], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x5c17b0], eax
call esi
mov dword [0x5c17ac], eax
call esi
mov dword [0x5c17b4], eax
pop esi
ret

Function at 0x46e5b0
Capabilities:
Create thread

Disassembly:
call fcn.0044a4e0
test al, al
je 0x46e5f2
call fcn.0044a7d0
test al, al
je 0x46e5f2
mov eax, dword [esp + 4]
push 0x5c174c
push 0
push eax
push 0x46e500
push 0
push 0
mov byte [0x5c181b], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c1770], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
ret

Function at 0x46e750
Capabilities:
Create thread

Disassembly:
call fcn.0044a500
test al, al
je 0x46e789
mov eax, dword [esp + 4]
push 0x5c1718
push 0
push eax
push 0x46e6c0
push 0
push 0
mov byte [0x5c1819], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c176c], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
ret

Function at 0x46edb0
Capabilities:
Create thread

Disassembly:
call fcn.0044a890
test al, al
je 0x46ede9
mov eax, dword [esp + 4]
push 0x5c1750
push 0
push eax
push 0x46ec90
push 0
push 0
mov byte [0x5c181c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c1774], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
ret

Function at 0x46ef30
Capabilities:
Create thread

Disassembly:
call fcn.0044a9d0
test al, al
je 0x46ef69
mov eax, dword [esp + 4]
push 0x5c1734
push 0
push eax
push 0x46ee10
push 0
push 0
mov byte [0x5c181d], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [0x5c1778], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
ret

Function at 0x46f040
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push 0x5c1738
push 0
push eax
push 0x46efb0
push 0
push 0
mov byte [0x5c181f], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
push eax
mov dword [0x5c1780], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
ret
Function at 0x46f120
Capabilities:
Create thread

Disassembly:
push esi
push 0x5c1720
push 0
push eax
push 0x46e7b0
push 0
push 0
mov byte [0x5c181a], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c175c], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x5c1790], eax
call esi
mov dword [0x5c1794], eax
call esi
mov dword [0x5c179c], eax
call esi
mov dword [0x5c17b8], eax
call esi
sub eax, 0x1388
mov dword [0x5c17a0], eax
call esi
mov dword [0x5c17a4], eax
call esi
mov dword [0x5c17ac], eax
call esi
mov dword [0x5c1724], eax
pop esi
ret
call fcn.0044a4e0
test al, al
je 0x46f162
push esi
mov esi, dword [esp + 8]
push 0x5c1728
push 0
push esi
push 0x46e460
push 0
push 0
mov byte [0x5c1818], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c1758], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, esi
pop esi
jmp 0x46ea00
ret

Function at 0x46f190
Capabilities:
Create thread

Disassembly:
push 0x5c1730
push 0
push eax
push 0x46eaa0
push 0
push 0
mov byte [0x5c1815], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c1764], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5c17a8], eax
ret
call fcn.0044a4f0
test al, al
je 0x46f1d2
push esi
mov esi, dword [esp + 8]
push 0x5c1748
push 0
push esi
push 0x46e630
push 0
push 0
mov byte [0x5c1814], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c1760], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, esi
pop esi
jmp 0x46ec30
ret

Function at 0x46f310
Capabilities:
Create thread

Disassembly:
call fcn.0044abb0
test al, al
je 0x46f349
mov eax, dword [esp + 4]
push 0x5c1740
push 0
push eax
push 0x46f200
push 0
push 0
mov byte [0x5c181e], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push eax
mov dword [0x5c177c], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
ret

Function at 0x46fb20
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x25c
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov esi, eax
test esi, esi
je 0x46fbed
push 0
push 0xc8
lea ecx, [esp + 0x19c]
push ecx
push 0
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x46fbc5
lea eax, [esp + 0x194]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46fb80
sub eax, edx
cmp eax, 2
jb 0x46fb95
mov byte [esp + eax + 0x192], cl
lea edx, [esp + 0x194]
push edx
push esi
push str.Red:_Error__d_al_inicializar_la_red.__s
push 0
call fcn.0042a000
add esp, 0x10
xor al, al
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004c6212
add esp, 0x25c
ret
push esi
push str.Red:_Error__d_al_inicializar_la_red.
push 0
call fcn.0042a000
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004c6212
add esp, 0x25c
ret
mov ecx, dword [esp + 0x25c]
pop esi
xor ecx, esp
mov al, 1
call fcn.004c6212
add esp, 0x25c
ret
Function at 0x471d20
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x471d3c
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x471e3b
jmp 0x471d50
mov eax, ebx
cmp ebx, 0x15b0
jb 0x471d5f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x471dfe
lea ebx, [ebx]
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
sub eax, 0x10
add edi, ecx
add esi, 0x10
cmp eax, 0x10
jge 0x471d70
test eax, eax
je 0x471e0f
movzx edx, byte [esi]
add ecx, edx
dec eax
inc esi
add edi, ecx
test eax, eax
jg 0x471e02
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
jne 0x471d50
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
pop ebp
ret

Function at 0x471ec0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call sub.MSVCR100.dll_memset
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 0x47a420
Capabilities:
Access the windows event log

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x47a485
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x47a485
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call sub.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR100.dll_vfprintf
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c6212
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 sub.MSVCR100.dll__vsnprintf
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x47a514
call fcn.0047a2e0
test eax, eax
jle 0x47a514
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.004c6212
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.004c6212
add esp, 0x108
ret

Function at 0x47a570
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x47a594
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
sub edi, 1
jne 0x47a586
pop esi
movzx eax, cl
pop edi
ret
Function at 0x480c10
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x480cf3
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x480c8e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
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
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x480ce0
shl edx, 0x10
cmp edi, 2
jne 0x480c9f
movzx eax, byte [esi + 1]
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_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x480ccd
lea edx, [edi + 0x3c]
jmp 0x480cda
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x480c30
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret

Function at 0x484f30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x484f77
mov al, byte [edx]
test al, al
je 0x484f77
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x484f47
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4933a0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x4933b2
xor eax, eax
pop edi
ret
push ebx
push esi
push edi
call fcn.0049b500
mov ebx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax], esi
test ebx, ebx
je 0x493462
mov eax, dword [edi + 0x10c]
push ebp
cmp eax, esi
jne 0x493400
test esi, esi
jle 0x493441
mov ecx, ebx
lea eax, [edi + 0x8c]
mov ebp, esi
lea ebx, [ebx]
mov dl, byte [eax + 0x60]
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
sub ebp, 1
jne 0x4933f0
jmp 0x493441
mov ecx, esi
sub ecx, eax
cmp ecx, 1
mov byte [eax + edi + 0xec], 0x80
jle 0x493425
dec ecx
push ecx
lea eax, [eax + edi + 0xed]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
jle 0x493441
mov ecx, ebx
lea eax, [edi + 0xac]
mov ebp, esi
mov dl, byte [eax + 0x40]
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
sub ebp, 1
jne 0x493433
push esi
push ebx
push ebx
push edi
call fcn.0047ab30
add esp, 0x10
pop ebp
test eax, eax
jne 0x493462
push esi
push ebx
call fcn.00473990
add esp, 8
pop esi
pop ebx
xor eax, eax
pop edi
ret
pop esi
pop ebx
mov eax, 1
pop edi
ret
Function at 0x49cb90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
dec ebx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 8], ecx
lea ecx, [ebx - 0x29]
cmp edi, ecx
mov dword [esp + 0xc], edx
jle 0x49cbf3
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.00475ec0
add esp, 0x14
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c6212
add esp, 0x20
ret
cmp ebx, 0x29
jge 0x49cc20
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.00475ec0
add esp, 0x14
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c6212
add esp, 0x20
ret
push ebp
push esi
push 0
mov byte [eax], 0
lea esi, [eax + 1]
lea ebp, [eax + 0x15]
call fcn.00473140
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1c]
push 0
push ebp
push edx
push eax
call fcn.00472e30
add esp, 0x18
test eax, eax
je 0x49ccb9
mov ecx, ebx
sub ecx, edi
sub ecx, 0x29
push ecx
lea edx, [ebp + 0x14]
push 0
push edx
call sub.MSVCR100.dll_memset
mov ecx, dword [esp + 0x1c]
mov eax, ebp
sub eax, edi
add eax, ebx
push edi
mov byte [eax - 0x15], 1
push ecx
add eax, 0xffffffec
push eax
call sub.MSVCR100.dll_memcpy
push 0x14
push esi
call fcn.00481530
add esp, 0x20
test eax, eax
jle 0x49ccb9
push 0x49
add ebx, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebx
call fcn.00473ab0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x49ccce
push 0x4c
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.00475ec0
add esp, 0x14
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c6212
add esp, 0x20
ret
push 0x14
push esi
push ebx
push edi
call fcn.0049cb60
add esp, 0x10
test eax, eax
jl 0x49ccb9
test ebx, ebx
jle 0x49ccfb
mov eax, ebp
sub edi, ebp
mov ecx, ebx
lea esp, [esp]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x49ccf0
call fcn.00473140
push eax
push ebx
push ebp
lea eax, [esp + 0x24]
push 0x14
push eax
call fcn.0049c9e0
add esp, 0x14
test eax, eax
jl 0x49ccb9
lea ecx, [esp + 0x18]
lea edi, [esp + 0x19]
lea ebp, [esp + 0x1a]
lea edx, [esp + 0x1b]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x1c]
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
nop
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
sub esi, 1
jne 0x49cd40
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473c50
mov ecx, dword [esp + 0x30]
add esp, 4
lea eax, [esi + 1]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x20
ret
Function at 0x49d710
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x49d7dc
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x49d731
cmp al, 0x6b
jne 0x49d7dc
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x49d79d
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x49d751
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x49d751
cmp al, 0xbb
jne 0x49d77a
inc ecx
cmp ecx, esi
jl 0x49d741
sub esi, ecx
test ecx, ecx
jne 0x49d7a0
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00475ec0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00475ec0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x49d7c9
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00475ec0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00475ec0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x4a32b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x4a32ff
mov eax, 1
mov dword [esi], ebp
jmp 0x4a3301
mov ebp, dword [esi]
test ecx, ecx
je 0x4a33e4
push ebp
call fcn.00489e70
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x4a3330
push str.j____int_sizeof_ctx__key_
push 0x68
push str..cryptohmachmac.c
call fcn.0047a540
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x4a3387
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.004729b0
add esp, 0xc
test eax, eax
je 0x4a3486
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.00472b60
add esp, 0xc
test eax, eax
je 0x4a3486
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.00472b70
add esp, 0xc
test eax, eax
je 0x4a3486
jmp 0x4a33c1
cmp edi, 0x80
jbe 0x4a33a3
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str..cryptohmachmac.c
call fcn.0047a540
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x4a33ec
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x4a33ec
test eax, eax
je 0x4a3472
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4a33f0
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.004729b0
add esp, 0xc
test eax, eax
je 0x4a3486
push ebp
call fcn.00489e70
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00472b60
add esp, 0x10
test eax, eax
je 0x4a3486
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4a3434
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.004729b0
add esp, 0xc
test eax, eax
je 0x4a3486
push ebp
call fcn.00489e70
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00472b60
add esp, 0x10
test eax, eax
je 0x4a3486
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.00472cd0
add esp, 8
test eax, eax
jne 0x4a348a
xor eax, eax
jmp 0x4a348f
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x8c
ret
Function at 0x4ab9e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x130
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x13c]
push ebx
mov ebx, dword [esp + 0x138]
push esi
mov esi, dword [esp + 0x158]
push edi
mov edi, dword [esp + 0x154]
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], 1
call fcn.0047ab90
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x4aba52
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004c6212
add esp, 0x130
ret
lea ecx, [esp + 0x28]
push ebp
push ecx
call fcn.004a3570
mov ebp, esi
mov esi, dword [esp + 0x160]
add esp, 4
mov eax, esi
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x4aba7c
mov dword [esp + 0x148], ebx
jmp 0x4abaa2
cmp dword [esp + 0x148], 0xffffffff
jne 0x4abaa2
mov eax, ebx
lea edx, [eax + 1]
jmp 0x4aba90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aba90
sub eax, edx
mov dword [esp + 0x148], eax
mov eax, esi
test esi, esi
jne 0x4abad5
lea ecx, [esp + 0x2c]
push ecx
call fcn.004a3610
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x130
ret
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
cmp eax, esi
jg 0x4abadf
mov esi, eax
mov eax, dword [esp + 0x18]
mov edx, eax
shr edx, 0x18
push 0
mov byte [esp + 0x18], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x14c]
push edi
shr ecx, 0x10
push eax
mov byte [esp + 0x21], cl
lea ecx, [esp + 0x38]
shr edx, 8
push ebx
push ecx
mov byte [esp + 0x2a], dl
call fcn.004a32b0
add esp, 0x14
test eax, eax
je 0x4abc0b
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004a34b0
add esp, 0xc
test eax, eax
je 0x4abc0b
push 4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004a34b0
add esp, 0xc
test eax, eax
je 0x4abc0b
push 0
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004a34c0
add esp, 0xc
test eax, eax
je 0x4abc0b
push esi
lea eax, [esp + 0x100]
push eax
push ebp
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x160]
add esp, 0xc
cmp eax, 1
jle 0x4abbee
dec eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x100]
push ecx
push edx
mov eax, ecx
mov ecx, dword [esp + 0x154]
push eax
push ecx
push ebx
push edi
call fcn.004a3680
add esp, 0x1c
test esi, esi
jle 0x4abbe7
lea ecx, [esp + 0xfc]
mov eax, ebp
sub ecx, ebp
mov edi, esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x4abbd8
mov edi, dword [esp + 0x24]
sub dword [esp + 0x1c], 1
jne 0x4abba3
mov eax, dword [esp + 0x10]
inc dword [esp + 0x18]
sub eax, esi
add ebp, esi
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4abad1
jmp 0x4abaa6
lea eax, [esp + 0x2c]
push eax
call fcn.004a3610
add esp, 4
xor eax, eax
jmp 0x4abab8