joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da3d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bf38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x59bc84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0049e469
mov edi, eax
add esp, 4
test edi, edi
je 0x4da473
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0047c3e5
add esp, 4
mov dword [edi + 4], eax
jmp 0x4da475
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.004205f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4da4d5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4da4d5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x4da4f9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4da51b
cmp byte [ebp + 0xc], 0
je 0x4da508
push esi
call fcn.0047d563
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4da527
mov esi, str.ios_base::badbit_set
jmp 0x4da537
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00423840
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00420f30
push 0x5828d8
lea eax, [ebp - 0x30]
push eax
call fcn.004e32e7
int3
Function at 0x4dce60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x59bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x4dd045
test edi, edi
je 0x4dd045
mov ecx, dword [esi + 0x20]
mov eax, 0x532ae21d
sub ecx, dword [esi + 0x1c]
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4dd045
imul eax, ebx, 0x314
mov ebx, dword [esi + 0x1c]
mov ebx, dword [eax + ebx]
test byte [ebx + 0x26], 0x10
jne 0x4dd045
mov eax, dword [ebp + 0x10]
cmp dword [ebx + 0x18], eax
ja 0x4dd045
mov esi, dword [esi + 0xc]
mov edx, dword [ebx + 0x2a]
movzx eax, word [edx + esi + 0x1c]
movzx ecx, word [edx + esi + 0x1a]
add eax, edx
add ecx, eax
lea eax, [esi + 0x1e]
add eax, ecx
movzx ecx, word [ebx + 0xa]
mov dword [ebp - 8], eax
test cx, cx
jne 0x4dd05a
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x4dcf4d
test eax, eax
je 0x4dcf19
cmp ecx, esi
jb 0x4dcf19
push esi
push eax
push edi
call fcn.004e37e0
add esp, 0xc
jmp 0x4dcf4d
push ecx
push 0
push edi
call fcn.004e3050
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4dcf38
call fcn.004ffee9
mov dword [eax], 0x16
jmp 0x4dcf48
cmp dword [ebp - 0xc], esi
jae 0x4dcf4d
call fcn.004ffee9
mov dword [eax], 0x22
call fcn.004ffdc3
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x4dd03e
or eax, 0xffffffff
cmp edx, 8
jb 0x4dd016
mov esi, edx
shr esi, 3
nop dword [eax]
movzx ecx, byte [edi]
sub edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
movzx ecx, byte [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
movzx ecx, byte [edi + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
movzx ecx, byte [edi + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
movzx ecx, byte [edi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
movzx ecx, byte [edi + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
movzx ecx, byte [edi + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
movzx ecx, byte [edi + 7]
add edi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
sub esi, 1
jne 0x4dcf70
test edx, edx
je 0x4dd03a
nop word [eax + eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56d608]
sub edx, 1
jne 0x4dd020
not eax
jmp 0x4dd040
xor eax, eax
cmp eax, dword [ebx + 0x10]
je 0x4dd086
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049dec8
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 8
jne 0x4dd045
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push edi
push dword [ebx + 0x14]
push eax
call fcn.004e2f90
add esp, 0x14
test eax, eax
je 0x4dd045
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x10]
jne 0x4dd045
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049dec8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4debd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x4deccf
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4deccf
or eax, 0xffffffff
cmp esi, 8
jb 0x4deca7
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
sub edi, 1
jne 0x4dec00
pop edi
test esi, esi
je 0x4decca
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x56ee58]
sub esi, 1
jne 0x4decb0
not eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
pop ds
rol dword [ebx], 1
xor al, 0x76
push ebp
test byte [ecx], dh
xchg edi, eax
pop esp
adc eax, 0xaf34d523
invalid

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b004]
jne 0x401010
repz ret
jmp fcn.0040161b

Function at 0x407cd6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404e6b
and dword [ebp - 4], 0
cmp dword [0x41d184], 0
mov ebx, eax
jne 0x407d87
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407e38
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407e38
push eax
call fcn.00404df9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41d184], eax
call esi
push eax
call fcn.00404df9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d188], eax
call esi
push eax
call fcn.00404df9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d18c], eax
call esi
push eax
call fcn.00404df9
pop ecx
mov dword [0x41d194], eax
test eax, eax
je 0x407d87
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404df9
pop ecx
mov dword [0x41d190], eax
mov eax, dword [0x41d190]
cmp eax, ebx
je 0x407ddf
cmp dword [0x41d194], ebx
je 0x407ddf
push eax
call fcn.00404e74
push dword [0x41d194]
mov esi, eax
call fcn.00404e74
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407ddf
test edi, edi
je 0x407ddf
call esi
test eax, eax
je 0x407dd6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407dd6
test byte [ebp - 0xc], 1
jne 0x407ddf
or dword [ebp + 0x10], 0x200000
jmp 0x407e18
mov eax, dword [0x41d188]
cmp eax, ebx
je 0x407e18
push eax
call fcn.00404e74
pop ecx
test eax, eax
je 0x407e18
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407e18
mov eax, dword [0x41d18c]
cmp eax, ebx
je 0x407e18
push eax
call fcn.00404e74
pop ecx
test eax, eax
je 0x407e18
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d184]
call fcn.00404e74
pop ecx
test eax, eax
je 0x407e38
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407e3a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40506b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43ddf6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
invalid
invalid

Function at 0x4063a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x28]
push edi
mov word [ebp - 0x10], ax
xor edi, edi
xor eax, eax
mov dword [ebp - 8], edi
push 0x64
mov word [ebp - 0xe], ax
call fcn.00407b76
mov ecx, dword [ebp + 0x10]
call fcn.004075e0
mov ebx, dword [ebp + 0xc]
cmp word [ebx], di
je 0x4065ca
invalid
movsb byte es:[edi], byte [esi]
Function at 0x40a000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
sbb byte [ecx], al
add byte [eax], al
mov eax, dword [0x4c7480]
mov dword [esp + 4], ecx
push esi
push edi
test al, 1
je 0x40b536
mov edi, dword [ebp + 0x10]
xor eax, eax
push 8
mov word [esp + 0x5c], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], 1
call fcn.00420ff6
mov edx, eax
mov dword [esp + 0x20], eax
add esp, 4
test edx, edx
je 0x40b68a
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0x50], 1
mov dword [esp + 0x10], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x5c], eax
jmp 0x40a10a
mov byte [esp + 0x17], 1
cmp byte [esp + 0x17], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [0x4c7460]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [0x4c745c]
mov dword [ecx + 0x1c], eax
je 0x40a5ac
mov eax, dword [esi]
test eax, eax
je 0x40a5ac
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a5ac
push dword [esp + 0x4c]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push esi
push dword [ebp + 8]
inc dword [esi]
call fcn.0040ca20
test eax, eax
js 0x440d6e
invalid
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi]
cmp ecx, eax
je case.0x40b1b7.4
mov esi, dword [edx + 4]
mov dword [esp + 0x40], esi
mov edx, dword [esi + ecx*4]
movzx eax, word [edx + 8]
cmp ax, 0x7f
je case.0x40b1b7.4
cwde
cmp eax, 0x33
je 0x40a1dc
cmp eax, 0x4f
je case.0x40b1b7.4
cmp eax, 5
je 0x40a4fc
cmp eax, 0x58
ja case.0x40b1b7.4
movzx eax, byte [eax + 0x40b7ac]
jmp dword [eax*4 + 0x40b740]
mov eax, dword [edx]
cmp eax, 4
jl 0x40b1a6
cmp eax, 0x27
jge 0x40b1a6
mov esi, 0x14
mov dword [esp + 0x10], esi
nop
mov cl, byte [esp + 0x59]
mov edx, dword [esp + 0x1c]
test cl, cl
jne 0x40a6e5
mov eax, edx
imul eax, dword [eax], 0x15
movzx eax, byte [eax + esi + 0x4a5350]
cmp eax, 3
jne 0x40a494
cmp dword [esp + 0x24], 1
jne 0x40b732
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 8], eax
mov dword [esp + 0x18], edi
test eax, eax
jne 0x40a921
test edx, edx
je 0x40a1d2
jmp 0x40a1c0
mov esi, dword [edx + 4]
push edx
call fcn.0042106c
add esp, 4
mov edx, esi
invalid
Function at 0x40fe40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0x28], ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x30], 3
mov edx, dword [edi]
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
inc ecx
or al, 0x8d
mov esi, dword [ecx + eax]
add byte [eax], al
mov dword [edx + 0xc], eax
inc dword [eax]
call fcn.004082e0
dec dword [ecx - 0x7abbdbbc]
ror byte [edi], 0x84
sahf
dec esp
add eax, dword [eax]
mov eax, dword [ebx + 0x148]
xor ecx, ecx
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [edi]
mov dword [esp + 0x70], eax
inc ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x4c], 0x48fb84
mov dword [esp + 0x50], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0x491cc0
mov dword [edi], ecx
cmp word [eax + 8], 0x47
jne 0x444b5f
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ecx
push eax
push edi
push esi
mov ecx, ebx
call fcn.0040f394
test eax, eax
js 0x444fc2
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x10]
cmp eax, dword [0x4c72a0]
jg 0x41082c
test eax, eax
jle 0x41082c
shl eax, 4
add eax, dword [0x4c72dc]
mov edi, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
cmp word [eax + 8], 0
jne 0x40ff78
cmp dword [eax], 0x2b
je 0x444b71
mov edx, 3
xor ebx, ebx
mov esi, edx
cmp dword [ecx + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jg 0x410500
xor eax, eax
jmp 0x40ff5f
push dword [esp + 0x3c]
mov ecx, ebx
push 0x85
call fcn.0046a0b5
or eax, 0xffffffff
jmp 0x4102d0
push dword [esp + 0x3c]
mov ecx, ebx
push 0x6f
call fcn.0046a0b5
jmp 0x444fc2
mov edx, 4
mov dword [esp + 0x20], edx
jmp 0x40ff7d
Function at 0x415e58
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x415e80
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x415e72
pop edi
pop esi
pop ebp
ret 4

Function at 0x46a100
Capabilities:
Encode data using xor

Disassembly:
cmp byte [edi + 0x55000118], al
leave
mov ecx, 0xc0940fcc
dec eax
and eax, 0x7ffff071
inc eax
mov dword [0x84a627c], eax
call 0x5b405aaa
mov eax, ebx
pop ebx
mov edx, eax
mov ecx, 0x4c7298f9
fsub st(0), st(0)
enter 0xfffffffffffff9b9, 0xffffffffffffff98
jb 0x46a130
mov esp, 0xf9b9c0e8
cwde
jb 0x46a138
lodsb al, byte [esi]
call 0xd5405aaa
jg 0x46a108
push dword [ebp + 0x7e]
adc bl, ch
push eax
adc al, 0xeb
add eax, 0x205cb8b8
and byte [eax], al
invalid
call fcn.00431bd6
cmp byte [0x84a6280], 8
cld
call dword [edi - 0x75]
stc
jne 0xc74e8d12
cmp dword [edi + 0x84f4f8], 1
je 0x3347a312
mov esi, dword [0xe9e8344e]
lea eax, [ebp + 0x11ffdfa8]
mov ebx, 0x15ff0f83
invalid
push ebx
push eax
push 0x66
push dword [0x84a6278]
add dl, dh
lea eax, [ebp + 0x11ffdfa8]
push eax
dec ebp
or byte [ebx], bh
or eax, 0x53f9de34
adc byte [ebp - 0x20577b], cl
adc dword [eax - 4], edx
inc dword [eax]
push dword [0x84a6278]
add dl, dh
lea eax, [ebp + 0x11ffdfa8]
push eax
dec ebp
or byte [eax + ebp*8 + 0x55f9de12], bh
call 0x56407f87
call 0x5c9611
add byte [edx - 0x18], dl
or al, dl
stc
call dword [edx - 0x75]
fsubr st(0)
xor bl, byte [esi - 1]
call dword [edx - 0x77]
inc ebp
cld
call 0x1245ffed
leave
mov ecx, 0xe8f08bcc
jno 0x46a170
stc
push ebp
mov eax, dword [ebp - 0x34]
and al, 0x56
call 0x1246001f
call dword [0xdfa8858d]
call dword [ecx]
je 0x46a1c4
push dword [ebp - 0x34]
mov esi, dword [ebp - 4]
push esi
push 0xec049e70
push ebx
call fcn.0042391e
jmp 0x46a1de
push dword [edi + 0x13b66c8]
pop edi
mov bh, 0xf4
adc eax, 0x70680000
sahf
add al, 0xec
push ebx
call 0x6742391e
adc byte [ebp - 4], dh
pop eax
lea edx, [eax]
lea eax, [ebp + 0x11ffdfa8]
leave
mov ecx, 0x97e850ec
invalid
Function at 0x100037f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10003851
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10003834
cmp edi, 2
jb 0x10003834
cmp byte [esi], cl
jne 0x10003834
cmp byte [esi + 1], cl
jne 0x10003834
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10062598]
jmp 0x10003805
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10062598]
test edi, edi
jne 0x10003805
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10003880
cmp cl, 0x23
jne 0x10003867
cmp byte [esi], cl
jne 0x10003867
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10062598]
test cl, cl
jne 0x10003858
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10003ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10003af5
push 0x599
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10003b02
mov dword [edi], 0
mov edx, 0x10062278
mov ecx, esi
call fcn.10003890
mov esi, eax
test esi, esi
je 0x10003bf2
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10003be8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003be8
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x10003be8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003be8
mov eax, dword [0x10076e80]
test eax, eax
je 0x10003b7c
inc dword [eax + 0x374]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10003be8
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x10003bcd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10076e80]
add esp, 4
test eax, eax
je 0x10003bba
dec dword [eax + 0x374]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10003bdf
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret