joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret

Function at 0x9b2200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x9b222e
cmp bl, 0xd7
je 0x9b222e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x9b224f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x9b2223
jmp 0x9b224f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.009b2b80
cmp bl, 0xd8
jne 0x9b224f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x9b224f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x9b2245
pop esi
pop ebx
pop ebp
ret

Function at 0x9b3000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x9b302e
cmp bl, 0xd7
je 0x9b302e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x9b304f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x9b3023
jmp 0x9b304f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.009b3980
cmp bl, 0xd8
jne 0x9b304f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x9b304f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x9b3045
pop esi
pop ebx
pop ebp
ret
Function at 0x401000
Capabilities:
Create process on windows
Create process suspended
Resume thread
Suspend thread
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
jmp 0x40100f
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x5c]
push ecx
push edx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push str.uuprog.dll
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401046
push 7
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x14]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 3
call edi
mov ecx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
push ecx
call ebx
mov eax, dword [ebp - 0x18]
push 0
lea edx, [ebp - 4]
push 4
push edx
push 0xbac03b
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 4], 0x595bebeb
je 0x4010bb
mov ecx, dword [ebp - 0x14]
push ecx
call esi
push 3
call edi
mov edx, dword [ebp - 0x14]
push edx
call ebx
mov ecx, dword [ebp - 0x18]
push 0
lea eax, [ebp - 4]
push 4
push eax
push 0xbac03b
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 4], 0x595bebeb
jne 0x40108b
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
push edx
push 0xa
push 0x405050
push 0xe89387
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x401107
mov ecx, dword [ebp - 0x14]
push ecx
call esi
push 0xa
call edi
mov edx, dword [ebp - 0x14]
push edx
call ebx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
push 0xa
push 0x405050
push 0xe89387
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4010d9
mov edx, dword [ebp - 0x14]
push edx
call esi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401120
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401d75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x405118
cmp edx, dword [eax]
je 0x401d97
add eax, 8
inc ecx
cmp eax, 0x4051a8
jl 0x401d88
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x405118]
jne 0x401ec5
mov eax, dword [0x4054c8]
cmp eax, 1
je 0x401e9f
test eax, eax
jne 0x401dc8
cmp dword [0x40506c], 1
je 0x401e9f
cmp edx, 0xfc
je 0x401ec5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401dff
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402320
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401e42
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404390
push edi
call fcn.00403120
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402320
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402330
lea eax, [ebp - 0xa0]
push 0x404370
push eax
call fcn.00402330
push dword [esi + 0x40511c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402330
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040308e
add esp, 0x2c
pop edi
jmp 0x401ec5
lea eax, [ebp + 8]
lea esi, [esi + 0x40511c]
push 0
push eax
push dword [esi]
call fcn.00402490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100040f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1000411c
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10004144
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1000414a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x100041b2
jg 0x10004161
test esi, esi
je 0x100041b2
test ecx, ecx
jl 0x100041ad
jg 0x1000416b
test eax, eax
je 0x100041ad
cmp edi, ecx
jg 0x1000417f
jl 0x10004175
cmp esi, eax
jae 0x1000417f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x100041b5
mov ecx, dword [ebp + 8]
jmp 0x100041bf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x100041d9
jg 0x100041bf
test esi, esi
je 0x100041d9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100041d9
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 [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100041f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x1000421c
jl 0x10004210
test ecx, ecx
jne 0x1000421c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10004235
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1000427d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x10004283
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x10004283
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x100042f6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100042ac
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x100042e4
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100042f6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x100042c0
test edi, edi
je 0x100042f6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10004670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1006b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100046a0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100046dc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x100046dc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x100047b3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10004704
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10004710
movsx eax, bl
jmp 0x10004748
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10004772
sub eax, 1
je 0x10004772
sub eax, 2
jne 0x100047b3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10004790
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100047b3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056ca1
mov esp, ebp
pop ebp
ret 4
Function at 0x10005e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1006b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10005f1c
cmp byte [esi + 0x3d], 0
je 0x10005f1c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10005f0a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10005ed1
sub eax, 1
je 0x10005ed5
sub eax, 2
jne 0x10005f0a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10005ef3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10005f0a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10056ca1
mov esp, ebp
pop ebp
ret

Function at 0x10014670
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 0x100146d1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100146b4
cmp edi, 2
jb 0x100146b4
cmp byte [esi], cl
jne 0x100146b4
cmp byte [esi + 1], cl
jne 0x100146b4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1005ee10]
jmp 0x10014685
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1005ee10]
test edi, edi
jne 0x10014685
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10014700
cmp cl, 0x23
jne 0x100146e7
cmp byte [esi], cl
jne 0x100146e7
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 + 0x1005ee10]
test cl, cl
jne 0x100146d8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10014810
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 0x10014824
mov dword [ebx], 0
mov edx, 0x1005ea34
call fcn.10014710
mov esi, eax
test esi, esi
je 0x10014912
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 0x10014908
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 0x10014908
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10014908
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 0x10014908
mov eax, dword [0x1007de40]
test eax, eax
je 0x1001489c
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 0x10014908
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 0x100148ed
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1007de40]
add esp, 4
test eax, eax
je 0x100148da
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 0x100148ff
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 0x10017200
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1007de40]
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
cmp byte [esi + 0x47f7], 0
mov edi, dword [esi + 0x3e38]
je 0x1001727a
cmp byte [esi + 0x47f6], 0
jne 0x1001727a
test ebx, 0x400
jne 0x1001727a
test byte [esi + 0x46b0], 4
je 0x1001724f
test ebx, 0x200
je 0x10017267
mov eax, dword [esi + 0x47bc]
mov edx, dword [esi + 0x46ac]
cmp eax, edx
jne 0x10017267
test eax, eax
jne 0x1001734e
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x46b4]
test al, 1
je 0x10017267
cmp dword [esi + 0x3e3c], edi
je 0x10017298
test al, al
js 0x10017298
test ebx, 0x100
je 0x10017267
test bl, bl
js 0x100172bc
mov eax, dword [esi + 0x3e84]
test eax, eax
je 0x100172bc
cmp eax, dword [esi + 0x46ac]
je 0x100172bc
cmp byte [esi + 0x3e91], 0
jne 0x100172bc
cmp eax, dword [edi + 0x6c]
jne 0x10017267
mov ecx, dword [esi + 0x47b8]
test ecx, ecx
je 0x10017321
mov ecx, dword [ecx + 0x2fc]
test ecx, ecx
je 0x10017321
cmp byte [ecx + 0xa7], 0
je 0x10017321
mov eax, dword [edi + 0x2fc]
cmp ecx, eax
je 0x10017321
mov edx, dword [ecx + 8]
test edx, 0x8000000
jne 0x100172fb
test edx, 0x4000000
je 0x10017321
test bl, 0x20
jne 0x10017321
cmp dword [eax + 0x2fc], ecx
je 0x10017321
cmp eax, ecx
je 0x10017321
mov eax, dword [eax + 0x2f8]
test eax, eax
jne 0x10017303
test dword [esi + 0x46b0], 0x100
je 0x10017267
test byte [esi + 0x46b0], 4
je 0x10017336
test ebx, 0x200
je 0x10017267
mov edx, dword [esi + 0x46ac]
cmp edx, dword [edi + 0x6c]
jne 0x1001734e
cmp byte [edi + 0xa8], 0
jne 0x10017267
xorps xmm0, xmm0
test ebx, 0x800
je 0x10017360
movss xmm3, dword [esi + 0x3c]
jmp 0x10017372
test ebx, 0x1000
je 0x1001736f
movss xmm3, dword [esi + 0x40]
jmp 0x10017372
xorps xmm3, xmm3
comiss xmm3, xmm0
jbe 0x1001744f
test edx, edx
jne 0x10017410
movss xmm1, dword [edi + 0xfc]
mov ebx, 0x10
movss xmm0, dword [esi + 0x46b8]
movss xmm2, dword [edi + 0x100]
subss xmm0, xmm1
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0xe8]
lea edi, [ebp - 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0x46bc]
mov edx, dword [eax + ecx*4 - 4]
subss xmm0, xmm2
not edx
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi + 0x46c0]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 0x46c4]
subss xmm0, xmm2
movss dword [ebp - 8], xmm0
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005ee10]
sub ebx, 1
jne 0x100173f1
mov ebx, dword [ebp - 0x18]
not edx
test ebx, 0x2000
je 0x1001742a
cmp dword [esi + 0x4a6c], edx
je 0x1001742a
mov dword [esi + 0x4a70], 0
movss xmm0, dword [esi + 0x4a70]
comiss xmm0, xmm3
mov dword [esi + 0x4a68], edx
setae al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056ca1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056ca1
mov esp, ebp
pop ebp
ret
Function at 0x1001a440
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1001a47f
cmp bl, 0x23
jne 0x1001a461
cmp byte [esi], bl
jne 0x1001a461
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1005ee10]
test bl, bl
jne 0x1001a452
mov ecx, dword [0x1007de40]
not eax
mov esi, dword [ecx + 0x3e20]
mov edi, dword [ecx + 0x3e28]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1001a4be
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1001a4b8
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1001a4ba
mov esi, edx
test esi, esi
jne 0x1001a4a0
cmp edi, ebx
je 0x1001a4cd
cmp dword [edi], eax
jne 0x1001a4cd
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10026fd0
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 + 0x5a78], 0
lea esi, [edi + 0x5a7c]
je 0x10027052
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002700c
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.100291e0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10014c20
mov edx, dword [esi]
mov ecx, 0x1007de3c
push dword [edi + 0x5a78]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a84]
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.10014c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10027440
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 [0x1007de40]
test bl, bl
je 0x10027486
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10027467
cmp byte [esi], bl
jne 0x10027467
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 + 0x1005ee10]
test bl, bl
jne 0x10027458
mov edi, dword [0x1007de40]
mov esi, dword [edi + 0x5a20]
xor ecx, ecx
not eax
test esi, esi
jle 0x100274ac
mov edi, dword [edi + 0x5a28]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x100274b2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x100274a0
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

Function at 0x100276f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x1007de40]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5a10], 0
push edi
test esi, esi
je 0x1002774d
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.10027760
mov edx, 0x1005ea38
mov ecx, esi
mov edi, eax
call fcn.10014710
mov esi, eax
test esi, esi
je 0x1002774d
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