joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478007
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x20c]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x20c], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x4780ad
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
xor edx, edx
mov dword [ebp - 4], ecx
inc edx
mov eax, dword [edi]
push 0
push ecx
push edx
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x478075
mov ecx, edi
call fcn.004797ae
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x478050
cmp si, bx
jge 0x4780ad
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.004637af
test bx, bx
je 0x4780ec
mov ecx, edi
call fcn.0042ebbc
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x47a179
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004ac380
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x47a1d4
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x47a1e8
cmp byte [ebp - 6], 1
jne 0x47a1e8
cmp dword [ebp - 0x11c], 0xa
jne 0x47a1e8
xor eax, eax
inc eax
jmp 0x47a1ea
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret
Function at 0x485fd8
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x5e9bbe
call fcn.0043c85b
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00460231
mov dword [ebp - 0x64], 0x604a2c
mov dword [ebp - 0x5c], 0x604a40
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x3c], ebx
jne 0x4861d1
cmp dword [ebp + 0x10], ebx
je 0x486046
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x486191
cmp dword [esi + 0x260], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x48605d
cmp dword [esi + 0x25c], 0
je 0x48607f
push 0x11
call ebx
test ax, ax
jns 0x48607f
cmp edi, 0xffffffff
je 0x48619f
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], eax
jmp 0x48603b
cmp dword [esi + 0x260], 0
jne 0x486095
cmp dword [esi + 0x25c], 0
je 0x486128
push 0x10
call ebx
test ax, ax
jns 0x486128
cmp edi, 0xffffffff
je 0x48619f
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
call fcn.00485cfa
test eax, eax
jle 0x48619f
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x268]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x486103
cmp ebx, dword [ebp - 0x10]
jg 0x486103
mov dword [eax + 8], 1
jmp 0x486107
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x486114
push ebx
mov ecx, esi
call fcn.0048667e
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.00485cfa
cmp ebx, eax
jl 0x4860e5
mov edi, dword [ebp + 0xc]
jmp 0x48619f
or dword [esi + 0x21c], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.00485cfa
test eax, eax
jle 0x48617c
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x268]
cmp ebx, edi
je 0x486167
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x486167
and dword [eax + ecx + 8], 0
test edx, edx
je 0x486167
push ebx
mov ecx, esi
call fcn.0048667e
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.00485cfa
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x486141
cmp edi, 0xffffffff
je 0x48619f
imul eax, edi, 0xc
add eax, dword [esi + 0x268]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x21c], edi
call fcn.0048667e
push esi
lea ecx, [ebp - 0x38]
call fcn.00460231
mov dword [ebp - 0x38], 0x604ab0
mov dword [ebp - 0x30], 0x604ac4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
call fcn.0043c824
ret 0xc
Function at 0x489875
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x4898d6
sub eax, 1
je 0x4898b8
sub eax, 3
je 0x4898b8
test dword [edi + 0x36c], 0x2000
je 0x4898f1
push esi
call fcn.004c0a58
pop ecx
test eax, eax
jne 0x4898f1
cmp esi, 0x2d
je 0x4898f1
cmp esi, 0x2e
je 0x4898f1
cmp esi, 0x2c
je 0x4898f1
jmp 0x48990c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4898f1
test dword [edi + 0x36c], 0x1000
jmp 0x4898ef
test byte [edi + 0x370], 0x80
jne 0x4898f1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x48990c
mov eax, dword [edi + 0x37c]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x489bb0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x5e9f1e
call fcn.0043c85b
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00460231
mov dword [ebp - 0x38], 0x605134
mov dword [ebp - 0x30], 0x605148
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x489c1f
cmp edi, 0xd
jne 0x489c24
test dword [esi + 0x36c], 0x1000
jne 0x489c24
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x489c24
mov dword [esi + 0x10], ebx
jmp 0x489c3e
mov eax, dword [esi + 0x37c]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.0043c824
ret 0xc
Function at 0x48a5ec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
test esi, esi
jne 0x48a706
cmp dword [ebx], 0x74
je 0x48a706
mov ecx, dword [0x68b51c]
test ecx, ecx
je 0x48a622
call fcn.0045b517
mov esi, eax
jmp 0x48a624
xor esi, esi
push 0x2800
call fcn.004b4d29
mov edi, eax
mov dword [esp], 0x5000
call fcn.004b4d29
mov dword [esp], str.set_default_char_format_failed__only_CHARFORMAT2W_can_be_set_for_default_char_format
mov ebx, eax
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.0046b79b
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x48a67e
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004b4d24
pop ecx
test esi, esi
je 0x48a6bd
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x48a6bd
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.srccontrolSRichEdit.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x48a6fb
mov ebx, 0x2800
push ebx
call fcn.004b4d29
mov dword [esp], 0x550
mov esi, eax
push str.srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.0046b77c
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004b4d24
pop ecx
push edi
call fcn.004b4d24
pop ecx
xor eax, eax
jmp 0x48a747
mov eax, dword [edi + 0x37c]
push 0
push ebx
push esi
mov ecx, dword [eax + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test esi, esi
jne 0x48a744
mov eax, dword [ebp - 4]
add edi, 0x214
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x37c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48c21a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x5eb813
call fcn.0043c85b
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [ebp - 0x10]
and eax, 0x8000
and edi, 0x8000
jne 0x48c280
test ecx, ecx
jne 0x48c266
test eax, eax
jne 0x48c25f
inc eax
jmp 0x48c2b4
push 2
pop eax
push 4
jmp 0x48c2b3
test eax, eax
jne 0x48c271
push 4
pop eax
push 2
jmp 0x48c2b3
push 6
pop eax
push 0x10
mov word [ebx + 0x16c], ax
pop eax
jmp 0x48c2bb
test ecx, ecx
jne 0x48c292
test eax, eax
jne 0x48c28e
push 8
pop eax
inc ecx
jmp 0x48c2b4
test ecx, ecx
je 0x48c2a1
test eax, eax
jne 0x48c29d
push 0x40
pop eax
push 3
jmp 0x48c2b3
test ecx, ecx
jne 0x48c2ac
test eax, eax
je 0x48c2ac
push 0x20
pop eax
push 5
jmp 0x48c2b3
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x16c], cx
test word [ebx + 0x170], ax
je 0x48c2d2
mov ax, word [ebx + 0x172]
mov word [ebx + 0x16c], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.00460231
mov dword [ebp - 0x34], 0x605898
mov dword [ebp - 0x2c], 0x6058ac
mov ax, word [ebx + 0x16c]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x16e]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
call fcn.0043c824
ret

Function at 0x4a0fc2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x4a0fcf
xor eax, eax
jmp 0x4a0ffd
push dword [ecx + 4]
call fcn.00473fdd
pop ecx
test eax, eax
je 0x4a0fea
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x4a0fcb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4
Function at 0x4a1128
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x5eb0fb
call fcn.0043c85b
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004a0fc2
test eax, eax
je 0x4a1163
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.004a0b41
xor eax, eax
inc eax
jmp 0x4a1265
push dword [ebx + 4]
call fcn.00473fdd
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x4a120f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x4a120f
cmp edi, 0x25
je 0x4a119c
cmp edi, 0x27
je 0x4a11aa
cmp edi, 0x26
je 0x4a119c
cmp edi, 0x28
jne 0x4a120f
cmp edi, 0x27
je 0x4a11aa
cmp edi, 0x28
je 0x4a11aa
push 2
jmp 0x4a11ac
push 3
pop edi
jmp 0x4a11ba
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4a11f9
push edi
mov ecx, esi
call fcn.00461f2c
mov esi, eax
test esi, esi
jne 0x4a11af
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.00461c19
mov ecx, eax
jmp 0x4a11e9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4a11f9
push edi
mov ecx, esi
call fcn.00461f2c
mov esi, eax
test esi, esi
jne 0x4a11db
jmp 0x4a115b
push 1
mov ecx, esi
call fcn.00461e51
push eax
mov ecx, ebx
call fcn.004a14c6
jmp 0x4a115b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.004a22d3
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004a12b9
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.005c3930
mov eax, ebx
call fcn.0043c824
ret 4
Function at 0x4a2423
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x5eb2c1
call fcn.0043c85b
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x66a420]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
and dword [ebp - 4], 0
inc ebx
movzx edx, cx
mov dword [ebp - 0x10], ebx
push 2
pop edi
cmp edx, 0x25
ja 0x4a24cc
je 0x4a24c2
mov eax, edx
sub eax, 0xd
je 0x4a24b8
sub eax, 0xe
je 0x4a24ae
sub eax, 5
je 0x4a24a4
sub eax, ebx
je 0x4a249a
sub eax, ebx
je 0x4a2490
sub eax, ebx
je 0x4a2486
sub eax, ebx
jne 0x4a2503
push str.Home
jmp 0x4a263a
push 0x608734
jmp 0x4a263a
push str.PageDown
jmp 0x4a263a
push str.PageUp
jmp 0x4a263a
push str.Space
jmp 0x4a263a
push 0x6086e8
jmp 0x4a263a
push 0x6086f0
jmp 0x4a263a
push 0x608710
jmp 0x4a263a
mov eax, edx
sub eax, 0x26
je 0x4a2635
sub eax, 1
je 0x4a262e
sub eax, 1
je 0x4a2627
sub eax, edi
je 0x4a2620
sub eax, 3
je 0x4a2619
sub eax, 1
je 0x4a2612
cmp cx, 0x30
jb 0x4a250f
cmp cx, 0x39
jbe 0x4a2518
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x4a252f
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.004190b0
jmp 0x4a2641
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x4a2553
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.004576ad
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x4a25a5
cmp cx, 0x6a
jne 0x4a2563
push 0x608798
jmp 0x4a263a
cmp cx, 0x6b
jne 0x4a2573
push str.Num_
jmp 0x4a263a
cmp cx, 0x6e
jne 0x4a2583
push str.Num_Del
jmp 0x4a263a
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x4a25c1
lea eax, [edx - 0x6f]
push eax
push 0x6087c0
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.004576ad
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x66a41c]
je 0x4a2641
call fcn.00419e50
jmp 0x4a2641
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, al
movsx eax, cl
cmp eax, 0x3d
jg 0x4a25eb
je 0x4a25fa
cmp eax, 0x27
je 0x4a25fa
cmp eax, 0x2b
jle 0x4a2641
cmp eax, 0x2f
jle 0x4a25fa
cmp eax, 0x3b
je 0x4a25fa
jmp 0x4a2641
cmp eax, 0x5b
jl 0x4a2641
cmp eax, 0x5d
jle 0x4a25fa
cmp eax, 0x60
jne 0x4a2641
movsx ax, cl
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.0046bb89
jmp 0x4a2641
push str.Delete
jmp 0x4a263a
push str.Insert
jmp 0x4a263a
push str.Print
jmp 0x4a263a
push str.Down
jmp 0x4a263a
push 0x60871c
jmp 0x4a263a
push 0x6086fc
mov ecx, esi
call fcn.00422cc0
mov eax, esi
call fcn.0043c824
ret

Function at 0x4a923d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a92a5
mov ecx, esi
call fcn.004a92aa
push 0
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x4a9280
push 0
call fcn.0046450d
and dword [esi + 0x3a8], 0
mov ecx, dword [0x68b65c]
lea ecx, [ecx + 8]
call fcn.00457622
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
je 0x4a92a5
pop esi
mov ecx, dword [ecx + 0x170]
pop ebp
jmp fcn.004a9de0
pop esi
pop ebp
ret 4
Function at 0x4c6f1f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c6d9e

Function at 0x4c9470
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c9130

Function at 0x4d3112
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
shr eax, 0x10
xor eax, dword [ebp + 8]
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret

Function at 0x4d313a
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
shr edx, 2
xor esi, esi
test edx, edx
je 0x4d3175
push edi
mov edi, dword [ebp + 8]
imul eax, dword [edi + esi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
imul ecx, eax, 5
sub ecx, 0x19ab949c
inc esi
cmp esi, edx
jb 0x4d3151
pop edi
xor ecx, dword [ebp + 0xc]
push ecx
call fcn.004d3112
pop ecx
pop esi
pop ebp
ret

Function at 0x4ebaca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x4ebb3e
cmp dword [ebp + 0x14], 0
je 0x4ebaec
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ebbc2
jmp 0x4ebb3e
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 0x14], eax
movzx esi, byte [eax + edi + 3]
mov ecx, dword [edi]
inc esi
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [edi], edx
lea edi, [edi + 4]
sub ebx, 1
jne 0x4ebaf9
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4ebb43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x4ebbbd
cmp dword [ebp + 0x14], 0
je 0x4ebb65
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ebbc2
jmp 0x4ebbbd
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
sub eax, ebx
push esi
mov dword [ebp + 0x14], eax
movzx eax, byte [eax + ebx + 3]
mov esi, 0x100
mov ecx, dword [ebx]
sub esi, eax
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [ebx], edx
lea ebx, [ebx + 4]
sub edi, 1
jne 0x4ebb72
pop esi
pop ebx
pop edi
pop ebp
ret 0x10
Function at 0x4ede56
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004edeb8
push 1
call fcn.004b4fc7
push eax
call fcn.004c48c8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 0x800
push eax
call fcn.004eded6
add esp, 0x20
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret
Function at 0x508f98
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x14
push esi
lea eax, [edi + 4]
push eax
call fcn.004ab1c0
add esp, 0xc
xor edx, edx
push 5
pop ecx
add edx, dword [esi]
lea esi, [esi + 4]
imul edx, edx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
sub ecx, 1
jne 0x508fb6
imul ecx, edx, 9
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
mov dword [edi], eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x50b036
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0x8c]
mov ebx, dword [eax + 0x5c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
call fcn.004e2bc1
mov esi, dword [ebp + 8]
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 4], eax
shl esi, 8
cmp byte [edi + 0x88], 2
je 0x50b154
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
lea ebx, [edi + 0x5c]
addss xmm0, dword [0x5f930c]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f930c]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
add esp, 0x10
cmp byte [edi + 0x88], 1
movss xmm1, dword [0x616d5c]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
jne 0x50b0f9
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp + 8]
push 0
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.004ef5e8
mov edi, dword [ebp + 8]
jmp 0x50b105
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si edi, xmm0
mov eax, edi
mov ecx, 0x50b3ea
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jge 0x50b11d
mov ecx, 0x50b426
jmp 0x50b139
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x58], 0
jne 0x50b12d
mov ecx, 0x50b1f3
jmp 0x50b139
cmp dword [eax + 0x58], 2
mov edx, 0x50b3a9
cmove ecx, edx
push dword [ebp + 0x14]
push esi
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp - 8]
push edi
push dword [ebp - 0x10]
call ecx
add esp, 0x1c
jmp 0x50b1ea
movd xmm0, dword [ebp + 8]
lea ecx, [edi + 0x5c]
movd xmm1, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], eax
cvtdq2ps xmm1, xmm1
movss dword [ebp + 8], xmm0
movss dword [ebp - 0x10], xmm1
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push ecx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x616d5c]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x5f9338]
movss xmm1, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov ax, word [edi + eax*2]
mov word [ecx], ax
add ecx, 2
sub dword [ebp + 0x14], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0xc]
jne 0x50b183
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10