joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40862c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40864d
mov al, byte [esp]
jmp 0x40864f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411e74
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x411e89
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x413b70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x413b76
ret

Function at 0x415f94
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x415fe5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x415fcc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x415fbc
jmp 0x415fe5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x415fcd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100031e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x1002846c
call fcn.1000ba09
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0x10003294
test esi, esi
jne 0x10003294
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x10003278
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003272
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003272
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x10003261
cmp esi, eax
jae 0x10003265
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10003253
cmp esi, eax
jb 0x10003269
xor eax, eax
jmp 0x10003272
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0x1000329d
mov edi, dword [ebp - 4]
push edi
mov ecx, 0x1002846c
call fcn.1000ba09
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x10003205
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10003398
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100033ca
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100033c6
cmp esi, eax
jae 0x100033ca
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100033b8
cmp esi, eax
jb 0x100033d0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x10005280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005290
sub eax, edx
je 0x100052e0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100052a0
sub eax, edx
xor ecx, ecx
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x100052d1
sub edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
lea esi, [ecx + eax]
mov eax, ecx
cdq
idiv dword [ebp - 4]
mov eax, dword [ebp + 8]
inc ecx
mov dl, byte [edx + eax]
xor dl, byte [edi + esi]
mov byte [esi], dl
cmp ecx, ebx
jl 0x100052b5
mov eax, dword [ebp + 0xc]
pop edi
mov byte [ebx + eax], 0
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push ebx
push edi
push ecx
call fcn.1000c840
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10006290
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push str.GetNativeSystemInfo
push 0x10022504
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x100062bc
mov ecx, dword [ebp + 8]
push ecx
call eax
jmp 0x100062c6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebx + 0x10], 2
jne 0x10006316
cmp dword [ebx + 4], 4
jbe 0x10006316
push str.GetProductInfo
push str.kernel32.dll
call esi
push eax
call edi
test eax, eax
je 0x10006302
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
push ecx
mov ecx, dword [ebx + 4]
push 0
push 0
push edx
push ecx
call eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
pop edi
mov dword [edx], 0
mov eax, 1
pop esi
pop ebp
ret 8
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x10006fe0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d7b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x100270b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [0x10027038]
mov edx, dword [eax + 0xc]
mov ecx, 0x10027038
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, str.SoftwareAppDataLowSoftware_
cmp al, 5
ja 0x10007036
mov edx, str.Software_
mov eax, edx
lea edi, [eax + 2]
jmp 0x10007040
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10007040
sub eax, edi
sar eax, 1
push edx
mov edi, eax
lea ebx, [ebp - 0x10]
call fcn.10002d10
mov eax, dword [ebp + 8]
add eax, 0x60
push eax
push esi
call fcn.10002ab0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007090
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10009430
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d583
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x100270b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x124], ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
push 0x100216ac
xor edi, edi
mov byte [ebp - 4], 1
call fcn.10002d10
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp + 0x10]
call fcn.100099f0
test eax, eax
je 0x100094e4
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x100094b7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100094dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x1000956b
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x120]
push 0x80
lea ecx, [ebp - 0x114]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1000950c
test esi, esi
je 0x100094b7
push esi
jmp 0x100094b1
lea eax, [ebp - 0x114]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009515
mov ebx, dword [ebp - 0x124]
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x114]
push ecx
mov edi, eax
call fcn.10002d10
test esi, esi
je 0x10009543
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10009569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bb4c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10009820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [esi], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov eax, 0x2001f
mov byte [ebp - 1], 1
call fcn.100099f0
test eax, eax
je 0x100098aa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10009862
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10009881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100098a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
push esi
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 8]
push edx
push 0
push eax
push esi
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100098d4
cmp dword [ebp - 8], 4
je 0x100098d8
xor bl, bl
jmp 0x100098db
mov bl, byte [ebp - 1]
test esi, esi
je 0x100098e6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009905
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009924
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10009970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100099de
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100099ad
cmp eax, 2
jne 0x100099c8
mov eax, dword [ebp - 4]
test esi, esi
je 0x100099d8
test eax, eax
je 0x100099d3
test al, 1
jne 0x100099c8
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x100099d8
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000a6c0
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d4fe
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100270b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
lea eax, [ebp - 0x428]
push eax
push 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
push ecx
push ebx
push 0x100214b0
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edx, dword [0x10027038]
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x430], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x10027038
call eax
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x1000a77d
mov edx, ecx
movzx edi, dx
push edi
call fcn.100031e0
add esp, 4
cmp eax, ebx
je 0x1000a7a9
push eax
mov eax, edi
lea edi, [ebp - 0x42c]
call fcn.10002f40
jmp 0x1000a7a9
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000a786
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x21c]
push ecx
mov edi, eax
lea ebx, [ebp - 0x42c]
call fcn.10002d10
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002e20
push 0
push 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x42c]
push edx
lea edi, [eax + 0x10]
push edi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
lea eax, [edi - 0x10]
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a7f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a814
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov ecx, 0x100214b8
test ebx, ebx
jne 0x1000a823
mov ecx, 0x100214bc
call fcn.10003ce0
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x1000a847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bb4c
mov esp, ebp
pop ebp
ret
Function at 0x1000bb4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100270b0]
jne 0x1000bb56
repz ret
jmp fcn.1000de3a

Function at 0x10017cb8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100270b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000f0f3
and dword [ebp - 0x14], 0
cmp dword [0x10029164], 0
mov dword [ebp - 0x18], eax
jne 0x10017d6b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10017e13
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10017e13
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10029164], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10029168], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002916c], eax
call edi
push eax
call esi
mov dword [0x10029174], eax
test eax, eax
je 0x10017d6b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10029170], eax
mov eax, dword [0x10029170]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10017dc4
cmp dword [0x10029174], ecx
je 0x10017dc4
push eax
call esi
push dword [0x10029174]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10017dc4
test ebx, ebx
je 0x10017dc4
call edi
test eax, eax
je 0x10017dbb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10017dbb
test byte [ebp - 8], 1
jne 0x10017dc4
or dword [ebp + 0x10], 0x200000
jmp 0x10017df7
mov eax, dword [0x10029168]
cmp eax, dword [ebp - 0x18]
je 0x10017df7
push eax
call esi
test eax, eax
je 0x10017df7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10017df7
mov eax, dword [0x1002916c]
cmp eax, dword [ebp - 0x18]
je 0x10017df7
push eax
call esi
test eax, eax
je 0x10017df7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10029164]
call esi
test eax, eax
je 0x10017e13
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10017e15
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000bb4c
leave
ret
Function at 0x100035e0
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 0x10003641
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10003624
cmp edi, 2
jb 0x10003624
cmp byte [esi], cl
jne 0x10003624
cmp byte [esi + 1], cl
jne 0x10003624
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1006a2b8]
jmp 0x100035f5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1006a2b8]
test edi, edi
jne 0x100035f5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10003670
cmp cl, 0x23
jne 0x10003657
cmp byte [esi], cl
jne 0x10003657
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 + 0x1006a2b8]
test cl, cl
jne 0x10003648
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10003780
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 0x10003794
mov dword [ebx], 0
mov edx, 0x10069ef8
call fcn.10003680
mov esi, eax
test esi, esi
je 0x10003882
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 0x10003878
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 0x10003878
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10003878
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 0x10003878
mov eax, dword [0x10072700]
test eax, eax
je 0x1000380c
inc dword [eax + 0xb0]
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 0x10003878
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 0x1000385d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10072700]
add esp, 4
test eax, eax
je 0x1000384a
dec dword [eax + 0xb0]
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 0x1000386f
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 0x10006af0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10072040]
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 + 0xfc]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x100]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe0]
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 + 0xe8]
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 + 0x1006a2b8]
sub edi, 1
jne 0x10006b70
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.10049591
mov esp, ebp
pop ebp
ret 4
Function at 0x10009fe0
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 0x1000a01d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1000a003
cmp byte [esi], bl
jne 0x1000a003
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 + 0x1006a2b8]
test bl, bl
jne 0x10009ff4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10009f80
Function at 0x1000f660
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10072040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10072700]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e28]
mov esi, 4
mov eax, dword [edi + 0xe0]
add edi, 0xe0
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 + 0x1006a2b8]
sub esi, 1
jne 0x1000f6a1
mov eax, dword [0x10072700]
not ebx
cmp dword [eax + 0x3e5c], ebx
jne 0x1000f6db
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100190f0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x1000f706
inc esi
test ecx, ecx
je 0x1000f6f4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000f6f9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.10019920
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.10049591
mov esp, ebp
pop ebp
ret
Function at 0x10017d30
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 + 0x5a60], 0
lea esi, [edi + 0x5a64]
je 0x10017db2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10017d6c
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.10019e10
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10003e30
mov edx, dword [esi]
mov ecx, 0x100726fc
push dword [edi + 0x5a60]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a6c]
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.10003e30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018270
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 [0x10072700]
test bl, bl
je 0x100182b6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10018297
cmp byte [esi], bl
jne 0x10018297
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 + 0x1006a2b8]
test bl, bl
jne 0x10018288
mov edi, dword [0x10072700]
mov esi, dword [edi + 0x5a08]
xor ecx, ecx
not eax
test esi, esi
jle 0x100182dc
mov edi, dword [edi + 0x5a10]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x100182e2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x100182d0
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret