joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e2e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov ecx, dword [0x4fb974]
push esi
push 1
push 0x4fb0f8
push str.colour_picker
call fcn.00434050
mov ecx, dword [0x4fb974]
push 0x4fb934
push 0x4f19dc
call fcn.00433080
mov ecx, dword [0x4fb974]
push 0x64
push 0
push 0x4fb8c4
push str.slider_int
call fcn.0044a8e0
push str.:.1f
push ecx
mov ecx, dword [0x4fb974]
xorps xmm3, xmm3
mov dword [esp], 0x42c80000
push 0x4fb8dc
push str.slider_float
call fcn.004496d0
mov ecx, dword [0x4fb974]
push 0x4fb8e4
push str.key_binder
call fcn.0043c460
mov ecx, dword [0x4fb974]
push 0x4fb8f0
push str.another_checkbox
call fcn.00433080
mov esi, dword [0x4fb974]
lea eax, [esp + 0x40]
sub esp, 0xc
mov dword [esp + 0x24], str.option_1
mov ecx, esp
mov dword [esp + 0x28], str.option_2
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], str.option_3
mov dword [esp + 0x30], str.option_4
push ecx
push eax
push edx
mov dword [esp + 0x40], str.option_5
mov dword [esp + 0x44], str.option_6
mov dword [esp + 0x48], str.option_7
mov dword [esp + 0x4c], str.option_8
mov dword [esp + 0x50], str.option_9
mov dword [esp + 0x54], str.option_10
call fcn.0044e740
push 0x4fb8ec
push str.dropdown
mov ecx, esi
call fcn.00437b50
mov esi, dword [0x4fb974]
lea eax, [esp + 0x18]
sub esp, 0xc
mov dword [esp + 0x14], str.option_1
mov ecx, esp
mov dword [esp + 0x18], str.option_2
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], str.option_3
mov dword [esp + 0x20], str.option_4
push ecx
push eax
push edx
call fcn.0044e740
push 0x4fb8e0
push str.multi_dropdown
mov ecx, esi
call fcn.00447380
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4fb9b0]
cmp eax, dword [ecx + 4]
jle 0x44e48b
push 0x4fb9b0
call fcn.004a755a
add esp, 4
cmp dword [0x4fb9b0], 0xffffffff
jne 0x44e48b
push 0x4a8f40
call fcn.004a744a
add esp, 4
push 0x4fb9b0
call fcn.004a7509
add esp, 4
mov ecx, dword [0x4fb974]
push 0xf
push 0x4fb110
push str.text_input
call fcn.0044bc40
push ecx
call fcn.00432480
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44e9b0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
and esi, 0xf
cmp esi, 4
jb 0x44e9e4
push edi
mov edi, esi
shr edi, 2
mov eax, dword [edx]
sub esi, 4
imul eax, eax, 0x3d4d51c3
add edx, 4
sub ecx, eax
rol ecx, 0x11
imul ecx, ecx, 0x27d4eb2f
sub edi, 1
jne 0x44e9c5
pop edi
test esi, esi
je 0x44ea0c
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x165667b1
add eax, ecx
rol eax, 0xb
imul ecx, eax, 0x9e3779b1
sub esi, 1
jne 0x44e9f0
mov eax, ecx
shr eax, 0xf
xor eax, ecx
imul ecx, eax, 0x85ebca77
pop esi
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret
Function at 0x454490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x4544b4
push dword [edi + 0x74]
call eax
add esp, 4
mov esi, dword [edi + 0x54]
test esi, esi
je 0x454519
nop dword [eax + eax]
mov ebx, dword [esi + 4]
xor edx, edx
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x454512
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x4544e6
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x4544d5
jmp 0x454512
test edx, edx
jne 0x4544ef
mov dword [ebx + 0x54], ecx
jmp 0x4544f2
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4544ff
push esi
call eax
add esp, 4
push esi
call fcn.00454a70
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [edi + 0x54]
test esi, esi
jne 0x4544c0
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x6c]
mov dword [ebp - 8], eax
test eax, eax
je 0x4545a4
test ebx, ebx
je 0x4545a4
mov ebx, dword [eax]
test ebx, ebx
je 0x454594
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x454549
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x45455c
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x45456d
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x454533
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0x30]
mov dword [edi + 0x58], 0
test eax, eax
je 0x4545b8
push edi
call eax
add esp, 4
push ebx
push edi
call fcn.00454400
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4545d2
push edi
call eax
add esp, 4
mov esi, dword [edi + 0x68]
mov eax, dword [edi + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x454608
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x4545f5
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x454608
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [edi + 0x80]
mov dword [edi + 0x68], 0
test eax, eax
je 0x45462d
push eax
mov eax, dword [ebx + 8]
push ebx
call eax
add esp, 8
mov dword [edi + 0x80], 0
mov eax, dword [ebx + 8]
push edi
push ebx
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a7e6e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a7ead
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a7ead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a7ead
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4a7ead
cmp dword [ecx + 0x74], 0xe
jbe 0x4a7ead
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4023d5
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x402406
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x40240d
cmp ebx, dword [ebp + 8]
jae 0x40240d
xor eax, eax
jmp 0x4025f3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40241e
xor eax, eax
inc eax
jmp 0x4025f2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x402430
cmp ecx, edx
jae 0x402494
cmp dword [eax + 4], 0
je 0x402439
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x402425
cmp dword [ebp + 8], 0
je 0x402453
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x402494
cmp eax, esi
jae 0x402494
mov ecx, dword [0x40ca40]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x402475
cmp dword [eax*4 + 0x40ca48], esi
je 0x40249b
inc eax
cmp eax, ecx
jl 0x402467
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x40250b
mov eax, dword [ebp + 8]
jmp 0x40250d
xor eax, eax
jmp 0x4025f2
test eax, eax
jle 0x402416
xor edx, edx
mov ebx, 0x40ca88
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x402416
cmp dword [eax*4 + 0x40ca48], esi
je 0x4024ea
lea eax, [ecx - 1]
test eax, eax
jl 0x4024d7
cmp dword [eax*4 + 0x40ca48], esi
je 0x4024d3
dec eax
jns 0x4024c7
test eax, eax
jge 0x4024e8
cmp ecx, 0x10
jge 0x4024e3
inc ecx
mov dword [0x40ca40], ecx
lea eax, [ecx - 1]
jmp 0x4024ea
je 0x402502
xor edx, edx
test eax, eax
jl 0x402502
lea ecx, [edx*4 + 0x40ca48]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x4024f0
xor eax, eax
xchg dword [ebx], eax
jmp 0x402416
xor eax, eax
test eax, eax
je 0x4025f0
cmp dword [ebp - 8], 0x1000000
jne 0x4025f0
test byte [ebp - 0xc], 0xcc
je 0x402582
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4025f0
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4025f0
cmp word [eax + 0x18], 0x10b
jne 0x4025f0
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4025f0
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x402582
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x402582
test byte [ecx + 0x27], 0x80
jne 0x402494
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x40ca88
xchg dword [edx], ecx
test ecx, ecx
jne 0x4025f2
mov ecx, dword [0x40ca40]
test ecx, ecx
mov edx, ecx
jle 0x4025b1
lea eax, [ecx*4 + 0x40ca44]
cmp dword [eax], esi
je 0x4025b1
dec edx
sub eax, 4
test edx, edx
jg 0x4025a5
test edx, edx
jne 0x4025e2
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4025be
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4025d6
lea eax, [edx*4 + 0x40ca48]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x4025c4
cmp ecx, 0x10
jge 0x4025e2
inc ecx
mov dword [0x40ca40], ecx
xor eax, eax
mov ecx, 0x40ca88
xchg dword [ecx], eax
jmp 0x402416
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402b25
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x118
lea eax, [esp]
push ebx
push esi
push edi
push eax
call fcn.00402889
push dword [esp + 0x130]
mov edi, dword [esp + 0x12c]
lea eax, [esp + 0x10]
push dword [esp + 0x130]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.004028b7
mov ebx, eax
test ebx, ebx
jne 0x402c17
mov edx, dword [esp + 0xc]
mov dword [edi], edx
shl edx, 4
add edx, dword [esp + 0x10]
push 4
pop ecx
mov eax, dword [edx]
add edx, ecx
mov dword [esi], eax
add esi, ecx
mov eax, dword [edx]
add edx, ecx
mov dword [esi], eax
add esi, ecx
mov eax, dword [edx]
add edx, ecx
mov dword [esi], eax
add esi, ecx
mov eax, dword [edx]
sub edx, 0x1c
mov dword [esi], eax
add esi, ecx
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x402bfd
push ebp
mov ebp, ecx
movzx eax, byte [edx + 3]
push 4
movzx ecx, byte [eax + 0x40a410]
movzx eax, byte [edx + 2]
mov ecx, dword [ecx*4 + 0x40c210]
movzx eax, byte [eax + 0x40a410]
xor ecx, dword [eax*4 + 0x40be10]
movzx eax, byte [edx + 1]
movzx eax, byte [eax + 0x40a410]
xor ecx, dword [eax*4 + 0x40ba10]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x40a410]
xor ecx, dword [eax*4 + 0x40b610]
mov dword [esi], ecx
pop ecx
add esi, ecx
add edx, ecx
dec ebp
jne 0x402ba1
dec edi
sub edx, 0x20
test edi, edi
jg 0x402b9f
pop ebp
mov eax, dword [edx]
mov dword [esi], eax
add esi, ecx
add edx, ecx
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + ecx]
mov dword [esi + ecx], eax
mov eax, dword [edx + ecx + 4]
mov dword [esi + ecx + 4], eax
lea eax, [esp + 0xc]
push eax
call fcn.0040289f
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x118
ret 0xc
Function at 0x4037aa
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
sub esp, 0x804
push ebx
push ebp
push esi
push edi
mov edi, 0xff
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [esp + 0x10], ebx
mov edx, ebx
lea ebp, [edi + 1]
mov eax, edx
mov dword [esp + esi*4 + 0x414], edx
and al, 0x80
mov dword [esp + edx*4 + 0x14], esi
movsx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
xor edx, ecx
and edx, edi
inc esi
cmp esi, ebp
jl 0x4037c7
mov esi, ebx
mov edx, 0x40c610
mov eax, esi
mov dword [edx], esi
and al, 0x80
movsx ecx, al
neg ecx
sbb ecx, ecx
add esi, esi
and ecx, 0x1b
add edx, 4
xor esi, ecx
and esi, edi
cmp edx, 0x40c638
jl 0x4037f5
mov byte [0x40a410], 0x63
mov byte [0x40b573], 0
mov ecx, dword [esp + ebx*4 + 0x14]
lea eax, [esp + 0x810]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
and ecx, edi
mov edx, ecx
xor ebx, ecx
sar edx, 7
lea eax, [ecx + ecx]
or edx, eax
and edx, edi
mov esi, edx
xor ebx, edx
sar esi, 7
lea eax, [edx + edx]
or esi, eax
and esi, edi
mov ecx, esi
sar ecx, 7
lea eax, [esi + esi]
or ecx, eax
mov eax, dword [esp + 0x10]
xor ecx, 0x63
and ecx, edi
xor ecx, esi
xor ebx, ecx
mov byte [eax + 0x40a410], bl
mov byte [ebx + 0x40b510], al
mov ebx, eax
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, ebp
jl 0x403824
xor esi, esi
movzx edx, byte [esi + 0x40a410]
mov eax, edx
and al, 0x80
movsx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
and ecx, edi
mov eax, ecx
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, ecx
movzx ecx, byte [esi + 0x40b510]
mov dword [esi*4 + 0x40a510], eax
rol eax, 8
mov dword [esi*4 + 0x40a910], eax
rol eax, 8
mov dword [esi*4 + 0x40ad10], eax
rol eax, 8
mov dword [esi*4 + 0x40b110], eax
test ecx, ecx
je 0x403901
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x4c]
cdq
idiv edi
mov ebp, dword [esp + edx*4 + 0x414]
jmp 0x403903
xor ebp, ebp
test ecx, ecx
je 0x40391b
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x38]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x414]
jmp 0x40391d
xor ebx, ebx
test ecx, ecx
je 0x403935
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x48]
cdq
idiv edi
mov edi, dword [esp + edx*4 + 0x414]
jmp 0x403937
xor edi, edi
test ecx, ecx
je 0x403954
mov eax, dword [esp + ecx*4 + 0x14]
mov ecx, 0xff
add eax, dword [esp + 0x40]
cdq
idiv ecx
mov eax, dword [esp + edx*4 + 0x414]
jmp 0x403956
xor eax, eax
shl eax, 8
xor eax, edi
mov edi, 0xff
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, ebp
mov dword [esi*4 + 0x40b610], eax
rol eax, 8
mov dword [esi*4 + 0x40ba10], eax
rol eax, 8
mov dword [esi*4 + 0x40be10], eax
rol eax, 8
mov dword [esi*4 + 0x40c210], eax
inc esi
cmp esi, 0x100
jl 0x40388e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret
Function at 0x40670e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x318
push ebx
mov ebx, dword [esp + 0x328]
cmp ebx, 0x180
jbe 0x40672c
push 0xffffffffffffffc8
pop eax
jmp 0x4068a4
push ebp
push esi
push edi
push 0x1a0
lea eax, [esp + 0x74]
push 0
push eax
call fcn.00402647
add esp, 0xc
lea eax, [esp + 0x210]
push eax
call fcn.00402889
mov eax, ebx
mov byte [esp + 0x83], bl
shr eax, 0x18
mov byte [esp + 0x80], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x81], al
mov eax, ebx
shr eax, 8
push ebx
push dword [esp + 0x334]
mov byte [esp + 0x8a], al
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x93], 0x30
call fcn.00402625
add esp, 0xc
mov byte [esp + ebx + 0x88], 0x80
lea ebp, [ebx + 0x19]
xor eax, eax
mov byte [esp + eax + 0x50], al
inc eax
cmp eax, 0x20
jl 0x4067a8
push 0x100
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x218]
push eax
call fcn.004028b7
xor ebx, ebx
push 0x10
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00402647
add esp, 0xc
mov edi, ebp
test ebp, ebp
je 0x406824
lea esi, [esp + 0x70]
lea eax, [esp + 0x10]
sub esi, eax
xor edx, edx
lea ecx, [esp + 0x10]
add ecx, edx
push 0x10
mov al, byte [esi + ecx]
xor byte [ecx], al
inc edx
pop eax
cmp edx, eax
jl 0x4067ee
add esi, eax
cmp edi, eax
jae 0x406809
mov eax, edi
sub edi, eax
lea eax, [esp + 0x10]
push eax
push eax
push 1
lea eax, [esp + 0x21c]
push eax
call fcn.00402c2f
test edi, edi
jne 0x4067ec
push 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
add eax, ebx
push eax
call fcn.00402625
add esp, 0xc
add ebx, 0x10
inc byte [esp + 0x73]
cmp ebx, 0x30
jl 0x4067cb
push 0x100
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x218]
push eax
call fcn.004028b7
mov esi, dword [esp + 0x32c]
push 3
pop edi
lea eax, [esp + 0x40]
push eax
push eax
push 1
lea eax, [esp + 0x21c]
push eax
call fcn.00402c2f
push 0x10
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00402625
add esp, 0xc
add esi, 0x10
dec edi
jne 0x406867
lea eax, [esp + 0x210]
push eax
call fcn.0040289f
pop edi
pop esi
xor eax, eax
pop ebp
pop ebx
add esp, 0x318
ret 0xc

Function at 0x4068ae
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push 0x30
xor esi, esi
lea ebx, [esp + 0x18]
mov eax, ebx
mov dword [esp + 0x14], esi
push esi
push eax
call fcn.00402647
mov edi, dword [esp + 0x54]
xor ebp, ebp
inc ebp
mov dword [esp + 0x54], 3
add esp, 0xc
sub ebp, edi
lea eax, [edi + 0xf]
lea esi, [edi + 0x20]
mov ecx, eax
inc byte [ecx]
jne 0x4068f2
dec ecx
lea eax, [ecx + ebp]
test eax, eax
jg 0x4068e6
push ebx
push edi
push 1
push esi
call fcn.00402c2f
add ebx, 0x10
lea eax, [edi + 0xf]
dec dword [esp + 0x48]
jne 0x4068e4
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x10]
sub edx, eax
lea ecx, [esp + 0x14]
add ecx, esi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc esi
cmp esi, 0x30
jl 0x406916
push 0x100
lea eax, [esp + 0x18]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.004028b7
push 0x10
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00402625
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x406e31
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
test esi, esi
je 0x406efa
mov eax, dword [esi]
test eax, eax
je 0x406efa
cmp dword [esi + 8], 0
je 0x406efa
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push edi
cmp ebx, dword [eax + 0xc]
jbe 0x406e8c
push dword [esi + 4]
call dword [eax + 0x10]
mov eax, dword [esi]
push ebx
push dword [esp + 0x3c]
push dword [esi + 4]
call dword [eax + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push dword [esi + 4]
call dword [eax + 0x18]
mov eax, dword [esi]
lea edi, [esp + 0x10]
mov ebx, dword [eax + 8]
jmp 0x406e90
mov edi, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0xc]
push eax
push 0x36
push ecx
mov dword [esp + 0x44], ecx
lea ebp, [ecx + eax]
call fcn.00402647
mov eax, dword [esi]
push dword [eax + 0xc]
push 0x5c
push ebp
call fcn.00402647
add esp, 0x18
test ebx, ebx
je 0x406ed0
mov ecx, dword [esp + 0x38]
sub ecx, edi
sub ebp, edi
mov al, byte [edi]
xor byte [ecx + edi], al
mov al, byte [edi]
xor byte [edi + ebp], al
inc edi
dec ebx
jne 0x406ec2
push 0x20
lea eax, [esp + 0x14]
push eax
call fcn.00407062
mov eax, dword [esi]
push dword [esi + 4]
call dword [eax + 0x10]
mov eax, dword [esi]
push dword [eax + 0xc]
push dword [esp + 0x3c]
push dword [esi + 4]
call dword [eax + 0x14]
pop edi
pop ebp
xor eax, eax
pop ebx
jmp 0x406eff
mov eax, 0xffffaf00
pop esi
add esp, 0x20
ret 0xc

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

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
and dword [eax], 0
and dword [eax + 4], 0
test ecx, ecx
jne 0x407cd0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
jmp 0x407d08
mov dword [eax + 8], 0xc1059ed8
mov dword [eax + 0xc], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0xf70e5939
mov dword [eax + 0x18], 0xffc00b31
mov dword [eax + 0x1c], 0x68581511
mov dword [eax + 0x20], 0x64f98fa7
mov dword [eax + 0x24], 0xbefa4fa4
mov dword [eax + 0x68], ecx
ret 8
Function at 0x40894f
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
sub esp, 0x24
xor eax, eax
mov byte [esp + 4], 0
push ebp
push edi
lea edi, [esp + 0xd]
and dword [esp + 8], 0
stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
mov byte [esp + 0x1c], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x1d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x38]
mov edi, ecx
test eax, eax
jle 0x408a2f
push ebx
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push esi
sub ebx, eax
xor esi, esi
push 0x10
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00402625
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
push 0
push dword [esp + 0x50]
call fcn.00402c2f
xor edx, edx
lea ecx, [esp + 0x14]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jl 0x4089c2
test ebp, ebp
je 0x4089ee
push 0
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x408a04
push 0x10
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x44]
add eax, esi
push eax
call fcn.00402625
add esp, 0xc
push 0x10
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x40]
call fcn.00402625
mov eax, dword [esp + 0x4c]
add esi, 0x10
add esp, 0xc
add edi, 0x10
cmp esi, eax
jl 0x40899f
mov ecx, dword [esp + 0x3c]
pop esi
pop ebx
pop edi
test ebp, ebp
pop ebp
jne 0x408a39
mov byte [ecx + eax], 0
add esp, 0x24
ret 0x18

Function at 0x408a3f
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
push ebx
push edi
lea ebx, [eax + ecx]
mov edi, ebx
sub edi, eax
sub edi, ecx
mov eax, edi
cdq
cmp edx, dword [esp + 0x18]
jg 0x408abc
jl 0x408a63
cmp eax, dword [esp + 0x14]
jae 0x408abc
push ebp
mov ebp, dword [esp + 0x10]
sub ebp, ebx
push esi
push 0x10
mov esi, ebx
pop ecx
mov al, byte [esi + ebp]
xor byte [esi], al
inc esi
dec ecx
jne 0x408a70
push ebx
push ebx
push 1
push dword [esp + 0x30]
call fcn.00402c2f
push 0x10
push ebx
push dword [esp + 0x30]
call fcn.00406f06
push 0x10
push ebx
push dword [esp + 0x1c]
call fcn.00402625
add edi, 0x10
add esp, 0xc
mov eax, edi
sub ebp, 0x10
cdq
mov ebx, esi
cmp edx, dword [esp + 0x20]
jl 0x408a6b
jg 0x408aba
cmp eax, dword [esp + 0x1c]
jb 0x408a6b
pop esi
pop ebp
pop edi
pop ebx
ret 0x20
Function at 0x408c4c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408ac1
mov edi, dword [ebp + 0x14]
mov esi, edi
shl esi, 0xd
add esi, dword [ebp + 0x1c]
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.00402779
mov ebx, eax
pop ecx
test ebx, ebx
je 0x408d6e
push esi
push 0
push ebx
call fcn.00402647
add esp, 0xc
lea eax, [ebp - 8]
push 0
push eax
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 0x18]
xor ecx, ecx
xor esi, esi
mov dword [ebp - 4], ecx
test eax, eax
jl 0x408d06
jg 0x408cb9
test edi, edi
je 0x408d06
push 0
push 2
push ecx
push esi
call sub.ntdll.dll__allrem
or eax, edx
jne 0x408cec
mov eax, dword [ebp - 4]
mov ecx, esi
shld eax, ecx, 0xd
push eax
shl ecx, 0xd
push ecx
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push 0
push 0x2000
push ebx
push dword [ebp + 0x24]
call fcn.00408a3f
mov ecx, dword [ebp - 4]
add esi, 1
adc ecx, 0
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x18]
jl 0x408cb9
jg 0x408d03
cmp esi, edi
jb 0x408cb9
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x20], 0
jl 0x408d44
jg 0x408d14
cmp dword [ebp + 0x1c], 0
jbe 0x408d44
push 0
push 2
push eax
push edi
call sub.ntdll.dll__allrem
or eax, edx
jne 0x408d44
mov eax, dword [ebp + 0x18]
shld eax, edi, 0xd
push eax
shl edi, 0xd
push edi
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ebx
push dword [ebp + 0x24]
call fcn.00408a3f
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408ac1
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call fcn.00402765
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28