joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68c940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x5b8015
lea edi, [esi - 0x1b7015]
mov dword [edi + 0x280710], 0xa3260624
push edi
or ebp, 0xffffffff
jmp 0x68c96a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x68c971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68c960
mov eax, 1
add ebx, ebx
jne 0x68c983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x68c994
jne 0x68c9b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68c9b3
dec eax
add ebx, ebx
jne 0x68c9a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x68c978
add ebx, ebx
jne 0x68c9af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x68ca05
xor ecx, ecx
sub eax, 3
jb 0x68c9cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x68ca3a
sar eax, 1
mov ebp, eax
jmp 0x68c9d6
add ebx, ebx
jne 0x68c9d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68c9a4
inc ecx
add ebx, ebx
jne 0x68c9e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68c9a4
add ebx, ebx
jne 0x68c9f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x68c9e6
jne 0x68ca02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x68c9e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x68ca24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x68ca16
jmp 0x68c966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x68ca24
add edi, ecx
jmp 0x68c966
pop esi
mov edi, esi
mov ecx, 0xdc83
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x68ca42
cmp byte [edi], 0x1b
jne 0x68ca42
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 0x68ca47
lea edi, [esi + 0x289000]
mov eax, dword [edi]
or eax, eax
je 0x68cab6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28fd38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28fdd8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x68ca74
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28fddc]
or eax, eax
je 0x68cab0
mov dword [ebx], eax
add ebx, 4
jmp 0x68ca91
call dword [esi + 0x28fdec]
mov ebp, dword [esi + 0x28fde0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x28cb11]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x68cb02
sub esp, 0xffffff80
jmp 0x4014a0
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x34b10f1a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section._RDATA
mov ebx, 0x42cd70
nop
mov ecx, 0x701e4ffb
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1003bf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1003bf4f
pop dword [ebp - 0x34]
mov eax, 0x1efe5ca7
sub eax, 0xefa9d58
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x139305cc
add dword [ebp - 0x44], 0x3abf3f7f
mov dword [ebp - 0x40], 0x9c61e3ee
sub dword [ebp - 0x40], 0x6a2e97a9
mov dword [ebp - 0x3c], 0x73d4a6cb
sub dword [ebp - 0x3c], 0x2788629d
mov dword [ebp - 0x38], 0x250ed506
sub dword [ebp - 0x38], 0x250ed506
lea eax, [ebp - 0x44]
push eax
mov eax, 0x91744e9d
sub eax, 0x816dae65
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xf4cef8a8
add dword [ebp - 0x44], 0x7fa370ae
mov dword [ebp - 0x40], 0x6cade70e
sub dword [ebp - 0x40], 0x2b418599
mov dword [ebp - 0x3c], 0xa31e5dd0
sub dword [ebp - 0x3c], 0x3faef164
mov dword [ebp - 0x38], 0x5281de95
add dword [ebp - 0x38], 0xad7e216b
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xb0bf7007
add eax, 0x5f473035
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x4709d
push 0
call eax
mov ecx, 0x695f5404
sub ecx, 0x695f0470
xor edx, edx
add edx, eax
mov esi, 0x100a3400
add esi, dword [ebp - 0x34]
mov ebx, 0x97e4672d
add ebx, 0xc6ca4edb
xor dword [ebp - 0xc], edx
mov edi, dword [esi]
add dword [ebp - 0x18], edi
sub edi, ebx
add dword [ebp - 0xc], esi
mov dword [edx], edi
add dword [ebp - 4], 0x5aa3b999
add edx, 0x2e089fad
add edx, 0xd1f76057
add esi, 4
loop 0x1003c06d
add eax, 0x7840a0ed
sub eax, 0x783f6fca
mov ebx, eax
add eax, 0xe5bcf440
sub eax, 0xe5bcf43b
mov ecx, 0x71bbe9a9
add ecx, 0x9e441657
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x1005c09a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10094144]
jne 0x1005c0a4
repz ret
jmp fcn.1005c6ae
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
mov ecx, 0x413b509a
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section._RDATA
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x69492dba
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x88ee40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x278000]
push edi
jmp 0x88ee5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x88ee61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88ee50
mov eax, 1
add ebx, ebx
jne 0x88ee73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x88ee84
jne 0x88eea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88eea3
dec eax
add ebx, ebx
jne 0x88ee90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x88ee68
add ebx, ebx
jne 0x88ee9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x88eef5
xor ecx, ecx
sub eax, 3
jb 0x88eebb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x88ef2a
sar eax, 1
mov ebp, eax
jmp 0x88eec6
add ebx, ebx
jne 0x88eec6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88ee94
inc ecx
add ebx, ebx
jne 0x88eed4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88ee94
add ebx, ebx
jne 0x88eee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x88eed6
jne 0x88eef2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x88eed6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x88ef14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x88ef06
jmp 0x88ee56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x88ef14
add edi, ecx
jmp 0x88ee56
pop esi
mov edi, esi
mov ecx, 0xb44e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x88ef32
cmp byte [edi], 0x2d
jne 0x88ef32
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 0x88ef37
lea edi, [esi + 0x48b000]
mov eax, dword [edi]
or eax, eax
je 0x88efaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4d1098]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4d11f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x88ef64
mov ecx, edi
jns 0x88ef93
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 + 0x4d1200]
or eax, eax
je 0x88efa9
mov dword [ebx], eax
add ebx, 4
jmp 0x88ef81
call dword [esi + 0x4d11fc]
mov ebp, dword [esi + 0x4d1204]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x88efe3
sub esp, 0xffffff80
jmp 0x572d92
Function at 0x100046cd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100046f1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x100052c1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x100046f8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102e5cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
mov dword [ebp - 8], ebx
mov edi, ebx
mov dword [ebp - 8], ebx
mov esi, edx
push 0x24ad
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
call fcn.100079fc
cmp dword [esi + 0x14], 7
jbe 0x10004738
mov esi, dword [esi]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push edi
mov esi, eax
push 0x6b3c8
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push 0x24ad
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010d06f
leave
ret
Function at 0x1000dd90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ecd00
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x102e5cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.Clipper2Lib::ClipperBase.0
call fcn.1000f620
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x30]
cmp edi, ebx
je 0x1000ddee
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x1000dde1
push 0xc
push eax
call fcn.1010d0f5
add esp, 8
add edi, 4
cmp edi, ebx
jne 0x1000ddd0
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
cmp edi, ebx
je 0x1000de09
push dword [edi]
call fcn.1010d07d
add edi, 4
add esp, 4
cmp edi, ebx
jne 0x1000ddf8
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1000de14
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x38], eax
mov byte [esi + 0x20], 0
mov byte [esi + 0x84], 0
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1000de80
mov ecx, dword [esi + 0x90]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000de58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000df8a
mov eax, edx
push ecx
push eax
call fcn.1010d0f5
mov dword [esi + 0x88], 0
add esp, 8
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov eax, dword [esi + 0x70]
test eax, eax
je 0x1000decc
mov ecx, dword [esi + 0x78]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1000dead
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000df8a
mov eax, edx
push ecx
push eax
call fcn.1010d0f5
mov dword [esi + 0x70], 0
add esp, 8
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x64]
call fcn.10005687
lea ecx, [esi + 0x58]
call fcn.1000568c
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1000df28
mov ecx, dword [esi + 0x50]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1000df09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000df8a
mov eax, edx
push ecx
push eax
call fcn.1010d0f5
mov dword [esi + 0x48], 0
add esp, 8
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1000df70
mov ecx, dword [esi + 0x44]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000df51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000df8a
mov eax, edx
push ecx
push eax
call fcn.1010d0f5
mov dword [esi + 0x3c], 0
add esp, 8
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
lea ecx, [esi + 0x2c]
call fcn.10005691
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.101159de
int3
Function at 0x10029900
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x10029921
jl 0x10029917
test esi, esi
jne 0x10029921
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x100299d4
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, ebx
call fcn.1001a630
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x10029991
jg 0x10029959
test esi, esi
je 0x10029991
cmp ebp, eax
jg 0x10029969
jl 0x10029963
cmp edi, esi
jae 0x10029969
mov esi, edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x20]
call fcn.1010efe0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
sub edi, esi
sbb ebp, dword [esp + 0x10]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x18]
jmp 0x100299b0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x100299c0
mov eax, dword [esp + 0x18]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [eax], cl
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x10029940
jl 0x100299c0
test edi, edi
jne 0x10029940
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [eax]
test edx, edx
je 0x10029a19
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x10029a20
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.1010efe0
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x10029a20
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x10029a89
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10029a4a
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 [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x10029a74
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.101171c3
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10029a89
cmp edi, eax
ja 0x10029a52
test edi, edi
je 0x10029a89
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.101171c3
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x1003c080
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push ebx
mov ebx, dword [eax + 4]
push ebp
mov ebp, dword [eax]
push esi
mov esi, ecx
push edi
cmp ebx, 0x10000
jbe 0x1003c12e
nop
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
add ecx, dword [esi + 0xc]
lea eax, [edx + 0x10000]
cmp eax, ecx
jbe 0x1003c100
mov eax, dword [esi + 0x14]
cmp dword [esi + 0xc], eax
jne 0x1003c0c0
add eax, 0x10000
push dword [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x24]
push 1
push 4
push eax
mov dword [esp + 0x30], 0
call fcn.101171c3
mov ecx, dword [esp + 0x30]
add esp, 0x10
test ecx, ecx
je 0x1003c152
cmp eax, 1
jne 0x1003c152
push dword [esi + 4]
push ecx
push dword [esi + 0xc]
mov ecx, esi
call fcn.10054200
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
push 0x10000
push edx
push ebp
call fcn.1010efe0
add dword [esi + 0x10], 0x10000
sub ebx, 0x10000
add esp, 0xc
add ebp, 0x10000
cmp ebx, 0x10000
ja 0x1003c0a0
push ebx
mov ecx, esi
call fcn.10056310
push ebx
push dword [esi + 0x10]
push ebp
call fcn.1010efe0
add esp, 0xc
mov eax, esi
add dword [esi + 0x10], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push str.Requested_to_read_next_block_past_end_of_file
lea ecx, [esp + 0x14]
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
int3
Function at 0x10048440
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ef3c5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x102e5cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x18]
mov dword [edi], vtable.flann::NNIndex_struct_flann::L2_Simple_float__.0
mov dword [ebp - 0x14], esi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 0x30
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1010d082
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1003cb80
mov byte [edi + 0x20], 0
mov eax, edi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10048730
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax + eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x10048750
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
ret 4
Function at 0x10049190
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, ecx
push edi
push ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
call fcn.1011dd10
push 0x40
mov ebp, eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10115a2f
mov edi, eax
add esp, 8
test edi, edi
je 0x100492d3
push ebx
push 1
push 0x40
push edi
call fcn.101171c3
add esp, 0x10
cmp eax, 1
jne 0x100492f0
cmp byte [edi + 0xd], 0x31
jne 0x1004921e
cmp byte [edi + 0xf], 0x30
jne 0x1004921e
push edi
call fcn.10115694
push 0
push ebp
push ebx
call fcn.1011765c
add esp, 0x10
mov ecx, esi
push ebx
call fcn.10051050
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push 0x20000
call fcn.10115a2f
push 0x10111
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
call fcn.10115a2f
add esp, 8
mov dword [esi + 0x18], eax
cmp dword [esi + 0xc], 0
je 0x100492ad
test eax, eax
je 0x100492ad
push 0
lea eax, [esi + 0x1c]
push 0
push eax
mov dword [esi + 0x3c], eax
call fcn.10186f10
mov eax, dword [esi + 0xc]
add esp, 0xc
movups xmm0, xmmword [edi]
mov ecx, esi
movups xmmword [eax], xmm0
push ebx
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [eax + 0x30], xmm0
mov eax, dword [esi + 0xc]
push dword [edi + 0x3c]
add eax, 0x40
push eax
call fcn.10054200
mov eax, dword [esi + 0xc]
add dword [esi + 0x40], 0x40
push edi
mov dword [esi + 0x10], eax
call fcn.10115694
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push edi
call fcn.10115694
add esp, 4
lea ecx, [esp + 0x10]
push str.Error_allocating_compression_buffer
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
push str.Error_allocating_header_buffer_space
lea ecx, [esp + 0x14]
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
push edi
call fcn.10115694
add esp, 4
lea ecx, [esp + 0x10]
push str.Invalid_index_file__cannot_read_from_disk__header_
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
int3
Function at 0x1004a040
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ef560
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x102e5cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x1004a094
push dword [esi + 4]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xffffffff
push 1
push 4
push eax
call fcn.101171c3
add esp, 0x10
cmp eax, 1
jne 0x1004a0eb
cmp dword [ebp - 0x10], 0
jne 0x1004a106
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1004a0ab
push eax
call fcn.10115694
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1004a0c2
push eax
call fcn.10115694
add esp, 4
mov dword [esi + 0x18], 0
cmp byte [esi + 8], 0
mov dword [esi + 0x10], 0
je 0x1004a0da
push dword [esi + 4]
call fcn.10116912
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Invalid_index_file__cannot_read_from_disk__end_
lea ecx, [ebp - 0x1c]
call fcn.10048ab0
push 0x102db008
lea eax, [ebp - 0x1c]
push eax
call fcn.1010ef67
push str.Invalid_index_file__last_block_not_zero_length
lea ecx, [ebp - 0x28]
call fcn.10048ab0
push 0x102db008
lea eax, [ebp - 0x28]
push eax
call fcn.1010ef67
int3