joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473238
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x486aa8]
cmp byte [eax + 0xc], 0
je 0x4733a5
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47339e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487e10], 0
jne 0x47328c
push 0x4733ac
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4733b4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e10], eax
cmp dword [0x483600], 0
jne 0x473387
push 0x4733c4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x483600], eax
cmp dword [0x483600], 0
je 0x473387
push 0x4733d0
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e14], eax
push 0x4733e0
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e18], eax
push 0x4733f4
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e1c], eax
push 0x47340c
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e20], eax
push 0x473424
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e24], eax
push 0x473438
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e28], eax
push 0x473450
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e2c], eax
push 0x473468
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e30], eax
push 0x473484
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e34], eax
push 0x473490
mov eax, dword [0x483600]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487e38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4733a5
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4759bc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4759d8
call fcn.00476a40
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x4759f4
test bl, 1
je 0x4759f4
call fcn.0047a30c
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x475b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.004765dc
test byte [ebp + 0xd], 0xc0
jne 0x475b64
mov eax, dword [0x4843d0]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x475b71
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x475b9e
je 0x475bb0
sub ecx, 0x100
je 0x475bbe
sub ecx, 0x100
je 0x475bc5
sub ecx, 0x100
je 0x475bb7
jmp 0x475bcc
sub ecx, 0x600
je 0x475bc5
sub ecx, 0x100
je 0x475bb0
jmp 0x475bcc
mov edi, 1
jmp 0x475bd1
mov edi, 2
jmp 0x475bd1
mov edi, 4
jmp 0x475bd1
mov edi, 5
jmp 0x475bd1
mov edi, 3
test byte [ebp + 0xd], 1
je 0x475bf8
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x483e48]
test al, 0x80
je 0x475bf1
mov ebx, 0x80
jmp 0x475c0a
mov ebx, 1
jmp 0x475c0a
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x475c0a
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x475c1c
je 0x475c25
dec eax
je 0x475c2e
jmp 0x475c37
mov dword [ebp - 4], bind
jmp 0x475c46
mov dword [ebp - 4], 0x40000000
jmp 0x475c46
mov dword [ebp - 4], 0xc0000000
jmp 0x475c46
push 1
call fcn.004769d4
pop ecx
mov ebx, eax
jmp 0x475d36
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x475c62
sub eax, 0x10
je 0x475c69
sub eax, 0x10
je 0x475c72
sub eax, 0x10
je 0x475c7b
jmp 0x475c7b
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x475c82
mov dword [ebp - 8], 1
jmp 0x475c82
mov dword [ebp - 8], 2
jmp 0x475c82
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x475cef
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x475ce4
test byte [ebp + 0xd], 1
je 0x475cdf
mov ebx, 0x50
jmp 0x475ce4
mov ebx, 2
push ebx
call fcn.004769d4
pop ecx
mov ebx, eax
jmp 0x475d36
mov edi, esi
push edi
call fcn.00475aa4
pop ecx
test eax, eax
je 0x475d03
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x475d0f
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004766fc
add esp, 8
mov ebx, eax
inc eax
jne 0x475d36
push 4
call fcn.004769d4
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00476610
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a2a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x47a306
call fcn.0047a254
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00474828
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00474828
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x47a384
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x485270], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x47a45e
cmp dword [0x48526c], 0
jne 0x47a45e
cmp dword [0x485450], 0
je 0x47a418
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0047a154
add esp, 8
mov ebx, eax
test eax, eax
jne 0x47a3fe
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0047a154
add esp, 8
mov ebx, eax
test eax, eax
jne 0x47a3fe
lea ebx, [ebp - 0x84]
jmp 0x47a3ff
inc ebx
call fcn.0047a340
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x47a499
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x485274
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00474828
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x485277
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x47a499
cmp dword [0x48526c], 0
je 0x47a478
cmp dword [0x48526c], 0xffffffff
je 0x47a499
push esi
call dword [0x48526c]
pop ecx
mov eax, dword [0x485270]
test eax, eax
je 0x47a499
cmp dword [0x485270], 0xffffffff
je 0x47a499
cmp byte [eax], 0
je 0x47a499
push esi
push eax
call fcn.0047a2a4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ac30
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x48869c], 0
jne 0x47acb1
cmp dword [0x4886bc], 0
jne 0x47ac60
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4886bc], eax
test eax, eax
jne 0x47ac60
push str.GetEnvironmentStrings_failed
call fcn.0047a4b0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4886bc]
jmp 0x47ac74
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00474828
pop ecx
mov edi, eax
test eax, eax
jne 0x47ac6c
lea edi, [ebp + 1]
push edi
call fcn.0047412c
pop ecx
mov ebx, eax
mov dword [0x4886a0], ebx
test ebx, ebx
jne 0x47ac9e
xor eax, eax
jmp 0x47ad74
push edi
mov edx, dword [0x4886bc]
push edx
push ebx
call fcn.004746d8
add esp, 0xc
jmp 0x47acd1
xor esi, esi
mov ebx, dword [0x48869c]
jmp 0x47accb
push eax
call fcn.00474828
pop ecx
test eax, eax
jne 0x47acc7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x47acbb
lea ebx, [esi + 4]
push 4
mov dword [0x4886a4], ebx
inc ebx
push ebx
call fcn.00473c04
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x47acf4
xor eax, eax
jmp 0x47ad74
cmp dword [0x48869c], 0
jne 0x47ad25
xor esi, esi
mov ebx, dword [0x4886a0]
mov eax, dword [esp]
mov ebp, eax
jmp 0x47ad16
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00474828
pop ecx
mov edi, eax
test eax, eax
jne 0x47ad0c
jmp 0x47ad56
xor esi, esi
mov ebx, dword [0x48869c]
mov eax, dword [esp]
mov edi, eax
jmp 0x47ad50
push eax
call fcn.00474828
pop ecx
test eax, eax
je 0x47ad45
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x47ad49
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x47ad34
mov eax, dword [0x48869c]
test eax, eax
je 0x47ad66
push eax
call fcn.0047413c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x48869c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403b34
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x14]
add eax, dword [ebp + 0xc]
add eax, 0x18
xor ecx, ecx
jmp 0x403b68
mov edx, dword [eax + 8]
test edx, edx
jne 0x403b57
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x403b64
add edx, esi
cmp ebx, edx
jb 0x403b75
inc ecx
add eax, 0x28
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + 6]
cmp ecx, edx
jb 0x403b4d
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x403bb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
je 0x403bca
xor eax, eax
jmp 0x403d4a
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x403bde
xor eax, eax
jmp 0x403d4a
cmp word [ebx + 0x14], 0xe0
jne 0x403bee
cmp word [ebx + 0x18], 0x10b
je 0x403bf5
xor eax, eax
jmp 0x403d4a
mov dword [0x4aa020], edi
mov ebx, dword [edi + 0x3c]
mov esi, edi
add ebx, esi
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x18], eax
push ebx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00403b34
add esp, 8
test eax, eax
jne 0x403c20
xor eax, eax
jmp 0x403d4a
mov edx, dword [0x4aa020]
push edx
push ebx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00403b7c
add esp, 0xc
mov ebx, dword [ebx + 0x78]
test ebx, ebx
jne 0x403c52
push 0x10
push 0
push str.Error_in_GetProcAddressDirectly__
push 0
call fcn.0044168a
xor eax, eax
jmp 0x403d4a
add ebx, esi
mov edx, dword [ebx + 0x24]
add edx, esi
mov dword [ebp - 4], edx
mov ecx, dword [ebx + 0x20]
add ecx, esi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x1c]
add eax, esi
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 0x10
test cx, cx
je 0x403d1c
xor esi, esi
mov eax, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 0x28], edx
jmp 0x403d0e
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
test eax, eax
je 0x403d09
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x403d00
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp esi, eax
jne 0x403cf5
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x403cf5
test cl, cl
je 0x403cea
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x403cf5
add eax, 2
add edx, 2
test cl, cl
jne 0x403cce
jne 0x403cf5
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, edi
jmp 0x403d4a
inc dword [ebp - 0x14]
add dword [ebp - 0x20], 4
add dword [ebp - 0x1c], 2
mov edx, dword [ebx + 0x18]
dec edx
cmp edx, dword [ebp - 0x14]
jae 0x403cb4
inc esi
add dword [ebp - 0x28], 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x403c8c
jmp 0x403d48
xor esi, esi
mov eax, dword [ebp - 8]
jmp 0x403d40
mov ecx, dword [ebx + 0x10]
add ecx, esi
cmp edx, ecx
jne 0x403d3c
cmp dword [eax], 0
je 0x403d3c
mov edx, dword [eax]
shl edx, 6
add edi, edx
mov eax, edi
jmp 0x403d4a
inc esi
add eax, 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x403d23
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403f38
Capabilities:
Check for software breakpoints
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.00401dbc
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x403feb
mov eax, 0x401a14
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x403feb
mov eax, 0x404168
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x403feb
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
xor ebx, ebx
mov edi, 0x20
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x403feb
add ebx, 0x9e3779b9
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
add edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
add ecx, eax
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x403fb3
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404008
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.00401dbc
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x4040be
mov eax, 0x401a14
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x4040be
mov eax, fcn.00404008
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x4040be
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, 0xc6ef3720
mov edi, 0x20
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x4040be
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
sub edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
sub ecx, eax
sub ebx, 0x9e3779b9
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x404086
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4042ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
cmp ecx, edx
jbe 0x4042c4
xor byte [eax], 0xf5
inc edx
inc eax
cmp ecx, edx
ja 0x4042bb
pop ebp
ret

Function at 0x412b30
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
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], edx
mov dword [eax + 0x18], ecx
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, 1
pop ebp
ret
Function at 0x4165c4
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret

Function at 0x416620
Capabilities:
Hash data using sha256

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

Function at 0x418f64
Capabilities:
Hash data using sha224

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

Function at 0x419010
Capabilities:
Hash data using sha256

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 8]
lea eax, [ebx - 0x29]
cmp esi, eax
jle 0x42ad9a
push 0x2d
push 0x497294
push 0x6e
push 0x79
push 4
call fcn.00435320
add esp, 0x14
xor eax, eax
jmp 0x42aedc
cmp ebx, 0x29
jge 0x42adbb
push 0x33
push 0x4972ac
push 0x78
push 0x79
push 4
call fcn.00435320
add esp, 0x14
xor eax, eax
jmp 0x42aedc
push 0x37
push 0x4972c4
lea edx, [ebx - 0x14]
push edx
call fcn.00410fb8
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42adf3
push 0x3a
push 0x4972dc
push 0x41
push 0x79
push 4
call fcn.00435320
add esp, 0x14
xor eax, eax
jmp 0x42aedc
mov byte [edi], 0
lea edx, [edi + 1]
mov dword [ebp - 8], edx
add edi, 0x15
mov dword [ebp - 4], edi
push 0
call fcn.004371d0
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00437080
add esp, 0x18
mov edi, ebx
sub edi, esi
mov eax, edi
add eax, 0xffffffd7
push eax
push 0
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
call fcn.004060a0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov byte [ecx + edi - 0x15], 1
push esi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
add edx, ebx
sub edx, esi
add edx, 0xffffffec
push edx
call fcn.00406030
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.00434148
add esp, 8
test eax, eax
jg 0x42ae71
xor eax, eax
jmp 0x42aedc
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042b17c
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x42ae9a
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x42ae93
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.0042b17c
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, edx
lea edx, [ebp - 0x20]
xor eax, eax
mov bl, byte [edx]
xor byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x14
jl 0x42aec1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00411178
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret