joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40886b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b718]
jne 0x408875
repz ret
jmp fcn.0041010c

Function at 0x411e87
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.00409fed
and dword [ebp - 4], 0
cmp dword [0x42d7a0], 0
mov ebx, eax
jne 0x411f38
push 0x40392c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411fe9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403920
push edi
call esi
test eax, eax
je 0x411fe9
push eax
call fcn.00409f7b
mov dword [esp], 0x403910
push edi
mov dword [0x42d7a0], eax
call esi
push eax
call fcn.00409f7b
mov dword [esp], 0x4038fc
push edi
mov dword [0x42d7a4], eax
call esi
push eax
call fcn.00409f7b
mov dword [esp], 0x4038e0
push edi
mov dword [0x42d7a8], eax
call esi
push eax
call fcn.00409f7b
pop ecx
mov dword [0x42d7b0], eax
test eax, eax
je 0x411f38
push 0x4038c8
push edi
call esi
push eax
call fcn.00409f7b
pop ecx
mov dword [0x42d7ac], eax
mov eax, dword [0x42d7ac]
cmp eax, ebx
je 0x411f90
cmp dword [0x42d7b0], ebx
je 0x411f90
push eax
call fcn.00409ff6
push dword [0x42d7b0]
mov esi, eax
call fcn.00409ff6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x411f90
test edi, edi
je 0x411f90
call esi
test eax, eax
je 0x411f87
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411f87
test byte [ebp - 0xc], 1
jne 0x411f90
or dword [ebp + 0x10], 0x200000
jmp 0x411fc9
mov eax, dword [0x42d7a4]
cmp eax, ebx
je 0x411fc9
push eax
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fc9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x411fc9
mov eax, dword [0x42d7a8]
cmp eax, ebx
je 0x411fc9
push eax
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fc9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d7a0]
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fe9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411feb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5e9420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16a000]
push edi
or ebp, 0xffffffff
jmp 0x5e9442
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5e9449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e9438
mov eax, 1
add ebx, ebx
jne 0x5e945b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5e946c
jne 0x5e947c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e947c
dec eax
add ebx, ebx
jne 0x5e9478
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5e9450
xor ecx, ecx
sub eax, 3
jb 0x5e9494
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5e9506
sar eax, 1
mov ebp, eax
jmp 0x5e949f
add ebx, ebx
jne 0x5e949f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5e94ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5e94d0
inc ecx
add ebx, ebx
jne 0x5e94bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5e94b1
jne 0x5e94cd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5e94b1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5e94f0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5e94e1
jmp 0x5e943e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5e94f0
add edi, ecx
jmp 0x5e943e
pop esi
mov edi, esi
mov ecx, 0x3ec5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5e950e
cmp byte [edi], 0x19
jne 0x5e950e
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 eax, ebx
loop 0x5e9513
lea edi, [esi + 0x1e6000]
mov eax, dword [edi]
or eax, eax
je 0x5e9582
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ed888]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ed950]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5e9540
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ed954]
or eax, eax
je 0x5e957c
mov dword [ebx], eax
add ebx, 4
jmp 0x5e955d
call dword [esi + 0x1ed958]
popal
jmp 0x482428
Function at 0x402180
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x4021bf
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x4022db
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x40224c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x402247
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x30]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402220
xor eax, eax
jmp 0x4022e0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0042cc00
add esp, 0xc
jmp 0x4021ad
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402160
add esp, 8
test eax, eax
jne 0x40226d
xor eax, eax
jmp 0x4022e0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x30]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4022a4
xor eax, eax
jmp 0x4022e0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00424db0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x4021ad
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x402110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4436e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
lea eax, [edi + 0x10]
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x10], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40220a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.0041bd60
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404b70
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 0x404bd1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x404bb4
cmp edi, 2
jb 0x404bb4
cmp byte [esi], cl
jne 0x404bb4
cmp byte [esi + 1], cl
jne 0x404bb4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4454f0]
jmp 0x404b85
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4454f0]
test edi, edi
jne 0x404b85
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404c00
cmp cl, 0x23
jne 0x404be7
cmp byte [esi], cl
jne 0x404be7
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 + 0x4454f0]
test cl, cl
jne 0x404bd8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x404cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x404cc3
mov dword [ebx], 0
mov edx, 0x4450d8
call fcn.00404c10
mov esi, eax
test esi, esi
je 0x404de3
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x404dd9
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 0x404dd9
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x404dd9
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404dd9
mov ecx, edi
call fcn.00408400
mov dword [ebp + 8], eax
test eax, eax
je 0x404dd9
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x404dc2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x44c428]
add esp, 4
test ecx, ecx
je 0x404daf
movsx edx, word [ecx + 0x5e30]
lea eax, [ecx + 0x5e34]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x404da5
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5e30], ax
cwde
lea eax, [eax*8 + 0x5e34]
add eax, ecx
xor edx, edx
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e2c]
push dword [ebp + 8]
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
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x404dd1
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
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
pop ebp
ret
Function at 0x407c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4454f0]
sub esi, 1
jne 0x407c40
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc0], ebx
jne 0x407c77
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041b2a0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442574
mov esp, ebp
pop ebp
ret 4

Function at 0x407c90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4454f0]
sub edi, 1
jne 0x407d10
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.00442574
mov esp, ebp
pop ebp
ret 4
Function at 0x409f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x44c428]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x49ec]
mov edx, dword [eax]
inc dword [esi + 0xa4]
mov ecx, dword [edi + 0x26c]
mov dword [ebp - 4], edx
cmp dword [ecx + 0x7c], 1
jle 0x409faf
push ecx
add ecx, 0x78
call fcn.00427960
mov edx, dword [ebp - 4]
mov edi, dword [edi + 0x26c]
mov esi, dword [edx + ebx*4 + 0x70]
mov eax, dword [edi]
test eax, eax
je 0x40a022
cmp eax, 1
jne 0x409fd3
mov eax, dword [edi + 8]
cmp dword [eax + 0x1c], 0
jne 0x409fd3
cmp dword [eax + 0x20], 0
je 0x40a022
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x40a009
lea edx, [eax + 1]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x409ff4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 8]
sar eax, 1
add eax, ecx
jmp 0x409ff9
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.0041bd60
mov edx, dword [ebp - 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
inc dword [edx + 0x3c]
mov eax, dword [edi + 0x18]
add dword [edx + 0x44], eax
mov eax, dword [edi + 0xc]
add dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x190]
mov eax, dword [eax + 0x188]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x40a062
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xae], 0
je 0x40a05b
cmp byte [ecx + 0xb5], 0
jne 0x40a05b
mov edx, ebx
call fcn.00409f70
add esi, 4
cmp esi, edi
jne 0x40a040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b270
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [0x44c428]
push edi
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov ebx, dword [esi + 0x3f88]
mov ecx, ebx
mov eax, dword [esi + 0x490c]
or eax, 0x100
mov dword [esi + 0x4944], 1
mov dword [esi + 0x490c], eax
cmp dword [ebx + 0x198], 0
mov dword [ebp - 0x10], eax
jne 0x40b2ce
cmp dword [esi + 0x4c6c], 0
mov eax, 0x230
je 0x40b2d3
mov eax, 0x200
movss xmm1, dword [ebx + eax]
movss xmm2, dword [ebx + eax + 4]
mov eax, dword [ebp + 8]
subss xmm2, dword [ecx + 0xfc]
subss xmm1, dword [ecx + 0xf8]
lea ecx, [ebp - 0x20]
push dword [eax + 4]
push dword [eax]
call fcn.00413bb0
mov eax, dword [ebp - 0x10]
add esp, 8
mov edx, dword [ebp - 0x14]
or eax, 2
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x490c], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x492c], eax
mov dword [esi + 0x4930], ecx
mov dword [esi + 0x4914], 1
test edx, edx
je 0x40b350
mov ecx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
cmp eax, dword [ebx + 8]
jne 0x40b350
push edx
push dword [ebx + 4]
push str._s__s
jmp 0x40b375
mov eax, dword [ebx + 4]
push edi
test edx, edx
je 0x40b36f
push edx
push eax
push str._s__s__08X
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00404a70
add esp, 0x18
jmp 0x40b383
push eax
push str._s__08X
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00404a70
add esp, 0x14
movss xmm0, dword [esi + 0x38d8]
xor edx, edx
mov ecx, dword [ebp - 0x10]
push 0x1000107
movss dword [ebp - 0x14], xmm0
call fcn.0040dfa0
mov edi, dword [esi + 0x3f88]
add esp, 4
movss xmm0, dword [ebp - 0x14]
movss dword [esi + 0x38d8], xmm0
mov byte [ebp - 9], al
cmp word [edi + 0xbc], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [edi + 0x78], eax
jne 0x40b3dd
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [ebx + 0xf8], ecx
mov dword [ebx + 0xfc], edx
mov edi, eax
mov edx, 0x444621
not edi
mov al, 0x23
mov ebx, edi
nop word [eax + eax]
cmp al, 0x23
jne 0x40b3fe
cmp byte [edx], al
jne 0x40b3fe
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x4454f0]
test al, al
jne 0x40b3f0
mov edi, dword [ebp - 0x14]
not ebx
cmp dword [esi + 0x3fd8], ebx
jne 0x40b42d
xor edx, edx
xor ecx, ecx
call fcn.00407d40
mov eax, dword [ebp - 0x18]
cmp dword [esi + 0x49fc], eax
jne 0x40b472
cmp word [edi + 0x154], 0
jne 0x40b44b
cmp byte [edi + 0x15a], 0
je 0x40b472
xor edx, edx
mov ecx, edi
call fcn.00410b50
xor dl, dl
mov ecx, edi
call fcn.00416370
mov edx, edi
mov ecx, ebx
call fcn.00407d40
mov eax, dword [esi + 0x4a20]
mov dword [esi + 0x3ff8], eax
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00442574
mov esp, ebp
pop ebp
ret
Function at 0x40b6a0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40b6dd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40b6c3
cmp byte [esi], bl
jne 0x40b6c3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4454f0]
test bl, bl
jne 0x40b6b4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040b640
Function at 0x419cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5da0], 0
lea esi, [edi + 0x5da4]
je 0x419d32
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x419cec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041c150
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00405310
mov edx, dword [esi]
mov ecx, 0x44c421
push dword [edi + 0x5da0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5dac]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00405310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a140
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x44c428]
test bl, bl
je 0x41a186
or edi, 0xffffffff
cmp bl, 0x23
jne 0x41a167
cmp byte [esi], bl
jne 0x41a167
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4454f0]
test bl, bl
jne 0x41a158
mov edi, dword [0x44c428]
mov ecx, dword [edi + 0x5d44]
not eax
mov edx, dword [edi + 0x5d4c]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x41a1ad
cmp dword [edx + 4], eax
je 0x41a1b0
add edx, 0x24
cmp edx, ecx
jne 0x41a1a1
xor eax, eax
ret
mov eax, edx
ret
Function at 0x42d3d0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x44c428]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x42d57d
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x42d57d
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x44c428]
add esp, 4
mov edi, eax
test esi, esi
je 0x42d474
movsx edx, word [esi + 0x5e30]
lea eax, [esi + 0x5e34]
mov ecx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x42d46a
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5e30], ax
cwde
lea eax, [eax*8 + 0x5e34]
add eax, esi
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5e28]
test edi, edi
je 0x42d487
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x42d489
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x68], str.imgui_impl_win32
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x42d4c4
mov esi, dword [esi + 0x70]
jmp 0x42d4c6
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42d4e9
mov dword [esi], eax
mov eax, dword [0x44c428]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x49ec]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x24], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x42d54b
inc esi
cmp esi, 5
jl 0x42d522
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442574
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442574
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442574
mov esp, ebp
pop ebp
ret
Function at 0x442e78
Capabilities:
Parse pe header

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