joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413efd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push esi
add esp, 4
or edx, 0x78e0
and edx, 0xff48
pop edx
push ecx
call fcn.00413e6e
add byte [edx + 0x48], cl
inc esi
xor al, byte [edx + 0x3f]
inc ecx
xor eax, 0x4c48337
add esp, 4
add esp, 4
or ecx, 0x124ff
xor ecx, 0xc138
pop ecx
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edx
call 0x413ee5
add byte [eax + 0x50], al
cmp eax, dword [ebx + 0x3f]
aas
inc ebp
dec eax
cmp al, byte [ebx + 0x525a04c4]
xor edx, 0x10f8
call 0x413efd
add byte [eax + edx*2 + 0x3b], al
inc ecx
inc edx
dec edx
inc ecx
add esp, 4
or edx, 0x140fe
pop edx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x413f24
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x413f7e
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x413e4c
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x413e4c
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x413f68
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x413f72
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x413fc7
push edi
push eax
add esp, 4
and edi, 0x10588
call 0x413fa2
add byte [esi + edi + 0x4c], al
dec edi
push eax
cmp eax, 0x3e344b45
add esp, 4
pop edi
push edx
push esi
add esp, 4
jmp 0x413fb2
or edx, 0x13d13
pop edx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x41402f
push eax
and eax, 0xddf
or eax, 0xc5f5
sub eax, 0x1bef
pop eax
push edi
push eax
add esp, 4
and edi, 0x13a81
xor edi, 0x22d0
xor edi, 0x2e31
add edi, 0x2671
pop edi
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xcd4]
je 0x414025
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x413df0
mov dword [ebp - 0x778], 0
Function at 0x413fa2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push esi
add esp, 4
or edx, 0x78e0
and edx, 0xff48
pop edx
push ecx
call fcn.00413e6e
add byte [edx + 0x48], cl
inc esi
xor al, byte [edx + 0x3f]
inc ecx
xor eax, 0x4c48337
add esp, 4
add esp, 4
or ecx, 0x124ff
xor ecx, 0xc138
pop ecx
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edx
call 0x413ee5
add byte [eax + 0x50], al
cmp eax, dword [ebx + 0x3f]
aas
inc ebp
dec eax
cmp al, byte [ebx + 0x525a04c4]
xor edx, 0x10f8
call 0x413efd
add byte [eax + edx*2 + 0x3b], al
inc ecx
inc edx
dec edx
inc ecx
add esp, 4
or edx, 0x140fe
pop edx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x413f24
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x413f7e
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x413e4c
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x413e4c
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x413f68
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x413f72
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x413fc7
push edi
push eax
add esp, 4
and edi, 0x10588
call 0x413fa2
add byte [esi + edi + 0x4c], al
dec edi
push eax
cmp eax, 0x3e344b45
add esp, 4
pop edi
push edx
push esi
add esp, 4
jmp 0x413fb2
or edx, 0x13d13
pop edx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x41402f
push eax
and eax, 0xddf
or eax, 0xc5f5
sub eax, 0x1bef
pop eax
push edi
push eax
add esp, 4
and edi, 0x13a81
xor edi, 0x22d0
xor edi, 0x2e31
add edi, 0x2671
pop edi
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xcd4]
je 0x414025
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x413df0
mov dword [ebp - 0x778], 0
Function at 0x466d0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x466d14
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4a0ecc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a0f26
inc esi
xor edi, edi
cmp edi, 1
jne 0x4a0ef2
mov eax, dword [ebp + 0xc]
push eax
call fcn.004209b4
jmp 0x4a0f00
cmp edi, 1
jle 0x4a0f00
mov eax, dword [ebp + 8]
push eax
call fcn.004209b4
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00427040
test eax, eax
jne 0x4a0f26
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4a0f26
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4a0f26
inc edi
dec esi
jne 0x4a0ee2
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4a0f30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4a0f54
mov eax, dword [ebp - 4]
jmp 0x4a0f57
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a143c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a1511
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a152c
push ebx
push 0x4a153c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087a4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405864
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084c8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a14bc
mov al, 0x72
call fcn.004a1064
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a1410
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call fcn.0040e728
cmp eax, 1
je 0x4a14c5
call fcn.004a1410
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1518
lea eax, [ebp - 4]
call fcn.004079f4
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4019a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x593d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11c000]
push edi
jmp 0x593d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x593d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d10
mov eax, 1
add ebx, ebx
jne 0x593d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x593d44
jne 0x593d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d63
dec eax
add ebx, ebx
jne 0x593d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x593d28
add ebx, ebx
jne 0x593d5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x593db5
xor ecx, ecx
sub eax, 3
jb 0x593d7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x593dea
sar eax, 1
mov ebp, eax
jmp 0x593d86
add ebx, ebx
jne 0x593d86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d54
inc ecx
add ebx, ebx
jne 0x593d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d54
add ebx, ebx
jne 0x593da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x593d96
jne 0x593db2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x593d96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x593dd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x593dc6
jmp 0x593d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x593dd4
add edi, ecx
jmp 0x593d16
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x593df2
cmp byte [edi], 0x11
jne 0x593df2
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 0x593df7
lea edi, [esi + 0x18c000]
mov eax, dword [edi]
or eax, eax
je 0x593e6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2284f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22866c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x593e24
mov ecx, edi
jns 0x593e53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x228670]
or eax, eax
je 0x593e69
mov dword [ebx], eax
add ebx, 4
jmp 0x593e41
call dword [esi + 0x228680]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x593ea0
cmp al, 0xef
ja 0x593e93
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x593e75
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x593e82
mov ebp, dword [esi + 0x228674]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x593ed4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x423f3d54
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0xda875cc
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10002910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10002932
push 0
push 0
push dword [ebp + 8]
push 0x10002360
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10003a40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10003a53
xor al, al
pop esi
ret
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x10003abb
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x10]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10003abb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x10003abb
cmp dword [esi + 0x14], 0xf
jbe 0x10003a8a
mov esi, dword [esi]
mov eax, dword [ebx]
inc eax
push eax
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov al, 1
pop esi
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
xor al, al
pop esi
ret
Function at 0x1000a880
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 0x1000a8e1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1000a8c4
cmp edi, 2
jb 0x1000a8c4
cmp byte [esi], cl
jne 0x1000a8c4
cmp byte [esi + 1], cl
jne 0x1000a8c4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1005b130]
jmp 0x1000a895
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1005b130]
test edi, edi
jne 0x1000a895
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000a910
cmp cl, 0x23
jne 0x1000a8f7
cmp byte [esi], cl
jne 0x1000a8f7
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 + 0x1005b130]
test cl, cl
jne 0x1000a8e8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1000aa20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1000aa34
mov dword [ebx], 0
mov edx, 0x1005f33c
call fcn.1000a920
mov esi, eax
test esi, esi
je 0x1000ab22
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 - 4], eax
cmp eax, 0xffffffff
je 0x1000ab18
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 0x1000ab18
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1000ab18
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 0x1000ab18
mov eax, dword [0x1006a97c]
test eax, eax
je 0x1000aaac
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1000ab18
push esi
push dword [ebp + 8]
push 1
push edi
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 0x1000aafd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1006a97c]
add esp, 4
test eax, eax
je 0x1000aaea
dec dword [eax + 0x36c]
push edi
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 ebx, ebx
je 0x1000ab0f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
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
Function at 0x1000c600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1005b130]
sub esi, 1
jne 0x1000c633
mov eax, dword [0x1006a97c]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x1000c662
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x1000c671
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x1000c68a
push ecx
push edi
mov edx, 0xc
mov ecx, ebx
call fcn.1001d9b0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005569d
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1005b130]
sub esi, 1
jne 0x1000c6d3
mov eax, dword [0x1006a97c]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x1000c702
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x1000c711
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x1000c72a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.1001d9b0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005569d
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10068380]
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 + 0xe0]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xe4]
subss xmm0, xmm1
mov ecx, dword [edx + 0xc4]
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 + 0xcc]
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 + 0x1005b130]
sub edi, 1
jne 0x1000c7c0
mov eax, dword [0x1006a97c]
not edx
cmp dword [eax + 0x1be0], edx
jne 0x1000c7ef
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x1000c7fe
mov byte [eax + 0x1c20], 1
mov ecx, dword [ebp - 8]
mov eax, edx
pop edi
xor ecx, ebp
pop esi
call fcn.1005569d
mov esp, ebp
pop ebp
ret 4
Function at 0x10011680
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 0x100116bd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x100116a3
cmp byte [esi], bl
jne 0x100116a3
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 + 0x1005b130]
test bl, bl
jne 0x10011694
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10011620

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1006a97c]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1ba8]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1005b130]
sub esi, 1
jne 0x10016c41
mov eax, dword [0x1006a97c]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x10016c7b
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1001d9b0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x10016ca6
inc esi
test ecx, ecx
je 0x10016c94
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10016c99
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1001e370
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005569d
mov esp, ebp
pop ebp
ret
Function at 0x1001ca40
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 + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x1001cac2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001ca7c
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.10007c50
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1000b130
mov edx, dword [esi]
mov ecx, 0x1006a88d
push dword [edi + 0x2fac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb8]
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.1000b130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001d130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x1006a97c]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x2f60], 0
push edi
test esi, esi
je 0x1001d18d
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1001d1a0
mov edx, 0x1005f340
mov ecx, esi
mov edi, eax
call fcn.1000a920
mov esi, eax
test esi, esi
je 0x1001d18d
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret