joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001dd70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1001dd95
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1001ddbb
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1001ddc0
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1001de20
jg 0x1001ddd5
test esi, esi
je 0x1001de20
test ecx, ecx
jl 0x1001de1b
jg 0x1001dddf
test eax, eax
je 0x1001de1b
cmp edi, ecx
jg 0x1001ddf1
jl 0x1001dde9
cmp esi, eax
jae 0x1001ddf1
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1001de23
mov ecx, dword [ebp + 8]
jmp 0x1001de2d
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1001de47
jg 0x1001de2d
test esi, esi
je 0x1001de47
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1001de47
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10028200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1002821f
push 0
push 0
push dword [ebp + 8]
push 0x100280e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1002a580
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10122fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [0x101241e0]
push edi
call fcn.10081640
mov edi, eax
mov dword [ebp - 0x44], 0x556b576c
mov dword [esi], edi
xor ecx, ecx
mov dword [ebp - 0x40], 0x5b784943
mov dword [ebp - 0x3c], 0x5e494845
mov word [ebp - 0x38], 0x5d
mov byte [ebp - 0x36], 1
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0xd
jb 0x1002a5c4
mov byte [ebp - 0x36], 0
xor eax, eax
mov dword [ebp - 0x34], 0x4940574c
mov dword [ebp - 0x30], 0x454c094a
mov word [ebp - 0x2c], 0x46
mov byte [ebp - 0x2a], 1
nop
lea ecx, [eax + 0x22]
xor byte [ebp + eax - 0x34], cl
inc eax
cmp eax, 9
jb 0x1002a5f0
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2a], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], edi
push ecx
push 0x1fffff
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call eax
mov ecx, dword [ebp - 8]
mov eax, dword [esi]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1009d019
mov esp, ebp
pop ebp
ret
Function at 0x1002a890
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movaps xmm0, xmmword [0x100f8690]
push esi
mov esi, ecx
mov dword [ebp - 0x14], 0x4d415d
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x10], 1
xor ecx, ecx
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x13
jb 0x1002a8b1
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0x4940574c
mov dword [ebp - 8], 0x454c094a
mov word [ebp - 4], 0x46
mov byte [ebp - 2], 1
nop dword [eax]
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 9
jb 0x1002a8e0
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 2], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x24]
push ecx
push eax
call ebx
movaps xmm0, xmmword [0x100f8680]
xor ecx, ecx
mov dword [esi + 8], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x4c465c5f
mov word [ebp - 0x14], 0x100
nop dword [eax]
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x14
jb 0x1002a930
mov byte [ebp - 0x13], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0x4940574c
mov dword [ebp - 8], 0x454c094a
mov word [ebp - 4], 0x46
mov byte [ebp - 2], 1
nop dword [eax + eax]
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 9
jb 0x1002a960
lea eax, [ebp - 0xc]
mov byte [ebp - 2], 0
push eax
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call ebx
movaps xmm0, xmmword [0x100f86a0]
xor ecx, ecx
mov dword [esi + 0xc], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x5a59567f
mov dword [ebp - 0x14], 0x1004e44
nop dword [eax]
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x16
jb 0x1002a9a0
mov byte [ebp - 0x11], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0x4940574c
mov dword [ebp - 8], 0x454c094a
mov word [ebp - 4], 0x46
mov byte [ebp - 2], 1
nop dword [eax + eax]
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 9
jb 0x1002a9d0
lea eax, [ebp - 0xc]
mov byte [ebp - 2], 0
push eax
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call ebx
movaps xmm0, xmmword [str.lWeIJHKHNzD_EPlWsWOSM]
xor ecx, ecx
mov dword [esi + 0x14], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x58517e5e
mov dword [ebp - 0x14], 0x414559
mov byte [ebp - 0x10], 1
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x17
jb 0x1002aa10
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0x4940574c
mov dword [ebp - 8], 0x454c094a
mov word [ebp - 4], 0x46
mov byte [ebp - 2], 1
nop dword [eax + eax]
lea eax, [ecx + 0x22]
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 9
jb 0x1002aa40
lea eax, [ebp - 0xc]
mov byte [ebp - 2], 0
push eax
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
call ebx
mov dword [esi + 0x10], eax
pop edi
pop ebx
test eax, eax
je 0x1002aa7f
cmp dword [esi + 0x14], 0
je 0x1002aa7f
cmp dword [esi + 8], 0
je 0x1002aa7f
cmp dword [esi + 0xc], 0
pop esi
setne al
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002ac50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
pop ebp
ret 4

Function at 0x1002da90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb991
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10122fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1FontWrapper_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1FontWrapper.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
lea esi, [edi + 0x58]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x9100
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.1009cfdb
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x84]
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009cfdb
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 5
lea eax, [edi + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov byte [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call esi
lea eax, [edi + 0x6c]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002fdd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebc0e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10122fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphProvider_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
lea esi, [edi + 0x1c]
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphProvider.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1009cfdb
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x40]
mov dword [ebp - 0x18], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1009cfdb
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
lea eax, [edi + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
lea eax, [edi + 0x60]
push eax
call esi
lea eax, [edi + 0x78]
push eax
call esi
lea eax, [edi + 0x90]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10032cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebf88
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x10122fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphSheet_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphSheet.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov word [edi + 0x2c], ax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov word [edi + 0x5c], ax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
lea eax, [edi + 0x78]
push eax
movups xmmword [edi + 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1003b8d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec5f6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10122fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], esi
push 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1003b93f
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push 0x1010e307
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.1000d020
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
jmp 0x1003b9f6
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x1003b97f
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x1010e307
mov dword [esi + 0x14], 0
call fcn.1000d020
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
jmp 0x1003b9f6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
xorps xmm0, xmm0
test edx, edx
je 0x1003b950
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b9b0
sub ecx, dword [ebp - 0x30]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000d020
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1000b400
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000b330
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009d019
mov esp, ebp
pop ebp
ret
Function at 0x1003f1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xff
lea eax, [edi + 0x68]
lea edx, [edi + 0x168]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0xc
xor esi, esi
push esi
call ebx
test ax, ax
setne al
mov byte [edi + esi + 0x68], al
inc esi
cmp esi, 0xff
jl 0x1003f1c5
pop edi
pop esi
pop ebx
ret
Function at 0x10047600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10122fc0]
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 + 0x100fb370]
sub esi, 1
jne 0x10047633
mov eax, dword [0x10124144]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x10047662
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x10047671
mov byte [eax + 0x1c20], 1
mov eax, dword [0x10124144]
cmp dword [eax + 0x1bc8], ebx
jne 0x1004768c
push 0
push edi
push 4
push ebx
call fcn.10045f60
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009d019
mov esp, ebp
pop ebp
ret 4

Function at 0x10047ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10047ee2
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10048010
mov esi, eax
add esp, 8
test esi, esi
jne 0x10047efa
pop edi
pop esi
pop ebp
ret
push ebx
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 + 0x10], eax
cmp eax, 0xffffffff
je 0x10047ff1
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 0x10047ff1
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10047ff1
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10047ff1
mov eax, dword [0x10124144]
test eax, eax
je 0x10047f60
inc dword [eax + 0x36c]
push dword [0x1012414c]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x10120078]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10047ff1
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x10047fc1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10124144]
add esp, 4
test eax, eax
je 0x10047fa7
dec dword [eax + 0x36c]
push dword [0x1012414c]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x1012007c]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10047fd9
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10047fe9
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100481e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10048243
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10048226
cmp edi, 2
jb 0x10048226
cmp byte [esi], cl
jne 0x10048226
cmp byte [esi + 1], cl
jne 0x10048226
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100fb370]
jmp 0x100481f7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100fb370]
test edi, edi
jne 0x100481f7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10048278
nop word [eax + eax]
cmp cl, 0x23
jne 0x1004825f
cmp byte [esi], cl
jne 0x1004825f
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 + 0x100fb370]
test cl, cl
jne 0x10048250
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x100496f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x1004976b
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10049726
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.10054210
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.10053dc0
mov edx, dword [esi]
mov ecx, 0x10124148
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 ebp
ret
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10053dc0
pop edi
pop esi
pop ebp
ret
Function at 0x100507d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10124144]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2f60], 0
test esi, esi
je 0x10050829
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10050830
push 0x100fb9fc
push esi
mov edi, eax
call fcn.10048010
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10050828
push esi
push dword [ebp + 8]
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
pop ebp
ret

Function at 0x10052c00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x10124144]
cmp byte [edi + 0x2f5d], 0
lea eax, [edi + 0x20]
jne 0x10052d25
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x10052d1d
push esi
push 0x100fb9f8
push ecx
call fcn.10048010
mov esi, eax
add esp, 8
test esi, esi
je 0x10052d19
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 - 8], eax
cmp eax, 0xffffffff
je 0x10052d0f
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 0x10052d0f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x10052d0f
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 0x10052d0f
mov eax, dword [0x10124144]
test eax, eax
je 0x10052ca5
inc dword [eax + 0x36c]
push dword [0x1012414c]
push ebx
call dword [0x10120078]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10052d0f
push esi
push dword [ebp - 4]
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 - 4]
je 0x10052cfb
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x10124144]
test eax, eax
je 0x10052ce9
dec dword [eax + 0x36c]
push dword [0x1012414c]
push ebx
call dword [0x1012007c]
add esp, 8
jmp 0x10052d19
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.100492b0
add esp, 0xc
jmp 0x10052cda
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2f5d], 1
pop ebx
movss xmm0, dword [edi + 0x2f60]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10052d76
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2f60], xmm0
jb 0x10052d76
mov eax, dword [eax]
test eax, eax
je 0x10052d65
push eax
call fcn.100507d0
add esp, 4
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x354], 1
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10054870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee263
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10122fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 1
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x28], 0
mov byte [ebp - 4], 2
mov eax, 0xffff
mov word [ecx + 0x3e], ax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x3a], 0xffffffff
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov word [ecx + 0x38], ax
mov byte [ecx + 0x40], al
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x50], eax
mov word [ecx + 0x54], ax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret