joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1016b0e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10177bd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.1016b430
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1016b161
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x10298b7c], 0xfffffff
jne 0x1016b178
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x10298b78
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.1016f536
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x10298b7c]
mov edi, dword [0x10298b90]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10285f50]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x10285f50]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x10298b74]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1016b252
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.10059060
call fcn.101714a0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x1016b234
cmp edi, 0x200
jae 0x1016b232
shl edi, 3
cmp edi, ecx
jae 0x1016b234
mov edi, ecx
push edi
call fcn.1016b2c0
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1016b430
mov ecx, dword [0x10298b7c]
mov edx, dword [eax]
jmp 0x1016b255
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x10298b7c], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x10298b8c]
mov ecx, dword [0x10298b80]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x10298b78]
jne 0x1016b286
mov dword [ecx + eax*8], esi
jmp 0x1016b295
cmp ebx, edx
jne 0x1016b28f
mov dword [ecx + eax*8], esi
jmp 0x1016b299
cmp dword [ecx + eax*8 + 4], edi
jne 0x1016b299
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1016b2c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1016b2ec
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x10298b78]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x10298b80
lea eax, [edi + edi]
push eax
call fcn.10091d70
mov eax, dword [0x10298b78]
lea ebx, [edi - 1]
mov dword [0x10298b8c], ebx
mov dword [0x10298b90], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1016b426
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x10298b80]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x1016b384
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1016b3f1
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1016b3be
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x1016b3b6
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x1016b3f1
cmp ebx, edx
je 0x1016b3ce
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1016b402
cmp ebx, edx
jne 0x1016b3c2
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x1016b426
mov ebx, dword [0x10298b8c]
jmp 0x1016b332
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1016b3f1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1016c5e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x1016e440
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov eax, dword [ebx]
nop
cmp edi, 7
ja case.default.0x1016e455
jmp dword [edi*4 + 0x1016e5ec]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x1016e498
sub ecx, 1
je 0x1016e485
sub ecx, 1
jne 0x1016e4ab
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1016e52d
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x1026e160]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
sub edx, 1
jne 0x1016e4b4
and edi, 7
jmp 0x1016e450
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1026e160]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1026e160]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x1016f080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1016f090
xor esi, esi
mov eax, 0x811c9dc5
sub edx, ecx
je 0x1016f0e2
movzx ecx, byte [edi + esi]
inc esi
xor ecx, eax
imul eax, ecx, 0x1000193
cmp esi, edx
jb 0x1016f0a2
cmp eax, 0x7c4a5426
ja 0x1016f0fc
je 0x1016f153
cmp eax, 0x39c98ba1
ja 0x1016f0e7
je 0x1016f153
cmp eax, 0x2eb1674
je 0x1016f153
cmp eax, 0x19acc50e
je 0x1016f153
cmp eax, 0x2a5bf553
je 0x1016f153
xor al, al
pop edi
pop esi
ret
cmp eax, 0x3a712436
je 0x1016f153
cmp eax, 0x43d6266e
je 0x1016f153
cmp eax, 0x4d7aa8c1
jmp 0x1016f0e0
cmp eax, 0xcb7412ac
ja 0x1016f12a
je 0x1016f153
cmp eax, 0x9d08c4c8
ja 0x1016f11c
je 0x1016f153
cmp eax, 0x7f11af2d
je 0x1016f153
cmp eax, 0x84ea2fe5
jmp 0x1016f0e0
cmp eax, 0xa7eab73f
je 0x1016f153
cmp eax, 0xc941ff64
jmp 0x1016f0e0
cmp eax, 0xe80bc214
ja 0x1016f141
je 0x1016f153
cmp eax, 0xd614ea2e
je 0x1016f153
cmp eax, 0xe1525a25
jmp 0x1016f0e0
cmp eax, 0xee7a29e8
je 0x1016f153
cmp eax, 0xf8573d98
sete al
pop edi
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x1016f160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1016f170
xor esi, esi
sub edx, ecx
mov ecx, 0x811c9dc5
je 0x1016f1b5
movzx eax, byte [edi + esi]
inc esi
xor eax, ecx
imul ecx, eax, 0x1000193
cmp esi, edx
jb 0x1016f182
cmp ecx, 0x5978b32e
ja 0x1016f1ba
je 0x1016f1ce
cmp ecx, 0x1b20e275
je 0x1016f1ce
cmp ecx, 0x3cb8abb3
je 0x1016f1ce
cmp ecx, 0x4c849f3c
je 0x1016f1ce
xor al, al
pop edi
pop esi
ret
cmp ecx, 0x97113ea7
je 0x1016f1ce
cmp ecx, 0xa8d619ea
sete al
pop edi
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x1016f1e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1016f1f0
xor esi, esi
sub edx, ecx
mov ecx, 0x811c9dc5
je 0x1016f26b
movzx eax, byte [edi + esi]
inc esi
xor eax, ecx
imul ecx, eax, 0x1000193
cmp esi, edx
jb 0x1016f202
cmp ecx, 0x92bbd4c5
ja 0x1016f24e
je 0x1016f248
cmp ecx, 0x40401f1c
je 0x1016f248
cmp ecx, 0x688917bf
je 0x1016f248
cmp ecx, 0x74386b5b
jne 0x1016f26b
mov eax, dword [0x1029cd80]
push str.SpellbookFlying_n
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
add esp, 8
mov al, 1
pop edi
pop esi
pop ecx
ret
cmp ecx, 0xdd7b05fd
je 0x1016f248
cmp ecx, 0xe5a5eadf
je 0x1016f248
cmp ecx, 0xf51a72ab
sete al
pop edi
pop esi
pop ecx
ret
pop edi
xor al, al
pop esi
pop ecx
ret
Function at 0x10170f62
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10170f89
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10170f8c
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10170f3e
pop esi
leave
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1004a302
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1004a311
pop dword [ebp - 0x20]
mov eax, 0xe6f834bc
sub eax, 0xd6f391ab
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x700d5
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x5732
xor ebx, ebx
add ebx, eax
mov esi, 0xb0528532
sub esi, 0xa03cfb32
add esi, dword [ebp - 0x20]
mov edx, 0xe047fce
sub edx, 0x540cf8fc
xor dword [ebp - 8], ebx
mov edi, dword [esi]
xor dword [ebp - 0x14], 0x16654ed3
add edi, edx
sub dword [ebp - 0x14], edi
mov dword [ebx], edi
add ebx, 0xafbeff1
sub ebx, 0xafbefed
add esi, 4
loop 0x1004a367
add eax, 0x14f9b
xor ebx, ebx
add ebx, eax
add eax, 0x692db3ba
add eax, 0x96d24c4b
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1007558d
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x64
mov eax, 0x1010a572
call fcn.10062882
push ecx
push 0x1013c750
lea ecx, [ebp - 0x70]
call fcn.1004a302
xor ebx, ebx
mov ecx, 0x1013c744
mov dword [ebp - 4], ebx
call fcn.10075cd8
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
push 0x20119
push 0x1002f7c8
push 0x80000002
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.1004a302
mov esi, dword [ebp - 0x5c]
test eax, eax
jne 0x10075658
push ecx
push 0x104
lea ecx, [ebp - 0x50]
call fcn.1004a302
mov byte [ebp - 4], 2
mov edi, ebx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push ecx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10075650
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x50]
call fcn.1004a302
push eax
mov ecx, 0x1013c744
mov byte [ebp - 4], 3
call fcn.1004a302
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1006ab66
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub eax, ecx
sar eax, 1
inc edi
jmp 0x100755ff
lea ecx, [ebp - 0x50]
call fcn.100754c5
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
push 0x20219
push 0x1002f7c8
push 0x80000002
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.1004a302
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10075739
push ecx
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.1004a302
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov edi, dword [ebp - 0x50]
sar eax, 1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x64]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x44]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100756f9
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x1c]
call fcn.1004a302
push eax
mov ecx, 0x1013c744
mov byte [ebp - 4], 6
call fcn.1004a302
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.1006ab66
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
inc ebx
jmp 0x100756a6
lea ecx, [ebp - 0x1c]
call fcn.100754c5
test edi, edi
je 0x1007570c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10075717
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov edi, ebx
mov ebx, 0x80
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x10002784
call fcn.1006d409
mov eax, edi
mov edx, ebx
call fcn.1006281a
ret
cmp eax, 2
je 0x10075771
cmp eax, 3
je 0x10075771
call fcn.10075558
mov edi, eax
mov ebx, edx
or edi, dword [ebp - 0x44]
or ebx, 0x112a
cmp dword [ebp - 0x50], 0
je 0x10075764
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10075720
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10075720
cmp dword [ebp - 0x50], 0
je 0x10075780
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10075719
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10075719
Function at 0x1007db91
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push 0x3c
mov eax, 0x1010afd8
call fcn.10062882
mov eax, edx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov dword [eax], ebx
mov dword [ebp - 0x3c], edx
mov dword [edx], ebx
mov edx, ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], esi
mov byte [esi], bl
call fcn.1007d702
cmp dword [eax + 0x14], 8
jb 0x1007dbc8
mov eax, dword [eax]
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_1
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1006ab66
cmp esi, 0xffffffff
jne 0x1007dbf5
xor al, al
jmp 0x1007dd15
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
call fcn.1004a302
push ebx
push ebx
push ebx
push 2
push ebx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x1007dc2d
lea ecx, [ebp - 0x40]
call fcn.1004a302
jmp 0x1007dbee
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], edi
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
call fcn.1004a302
push ebx
push ebx
push ebx
push 4
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x1007dd03
push 0xc
call fcn.1004a302
pop ecx
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov dword [ecx], 0x10002e14
mov dword [ecx + 4], eax
mov eax, 0x5a4d
mov dword [ecx + 8], edi
mov dword [ebp - 0x2c], ecx
cmp word [edi], ax
jne 0x1007dcfb
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
je 0x1007dca6
mov eax, dword [ebp - 0x30]
mov dword [eax], 1
lea ecx, [ebp - 0x2c]
call fcn.1004a302
mov bl, 1
jmp 0x1007dd03
movzx eax, word [esi + 4]
mov edx, 0x14c
mov ecx, eax
cmp ax, dx
je 0x1007dcd4
mov eax, 0x8664
cmp cx, ax
jne 0x1007dcfb
mov eax, dword [ebp - 0x30]
mov dword [eax], 3
mov ecx, dword [ebp - 0x3c]
movzx eax, word [esi + 0x5c]
mov dword [ecx], eax
jmp 0x1007dc9a
mov eax, dword [ebp - 0x30]
mov edx, edi
mov ecx, esi
mov dword [eax], 2
call fcn.1007e55a
test eax, eax
je 0x1007dcc9
mov eax, dword [eax + 0x10]
and al, 3
cmp al, 1
jne 0x1007dcc9
mov eax, dword [ebp - 0x44]
mov byte [eax], 1
jmp 0x1007dcc9
lea ecx, [ebp - 0x2c]
call fcn.1004a302
lea ecx, [ebp - 0x48]
call fcn.1004a302
lea ecx, [ebp - 0x40]
call fcn.1004a302
mov al, bl
call fcn.1006281a
ret 8
Function at 0x1007f913
Capabilities:
Get disk information

Disassembly:
push 0x8c
mov eax, 0x1010b370
call fcn.10062882
mov dword [ebp - 0x98], edx
mov edi, ecx
push ecx
push 0x400
lea ecx, [ebp - 0x88]
call fcn.1004a302
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x88]
push dword [ebp - 0x88]
sar eax, 1
push eax
call dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
mov esi, dword [ebp - 0x88]
mov ecx, eax
mov eax, dword [ebp - 0x84]
sub eax, esi
sar eax, 1
cmp ecx, eax
jbe 0x1007f9a0
push ecx
lea ecx, [ebp - 0x88]
call fcn.1004a302
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x88]
push dword [ebp - 0x88]
sar eax, 1
push eax
call dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
mov esi, dword [ebp - 0x88]
mov ecx, eax
test ecx, ecx
je 0x1007fa4c
mov eax, dword [0x100307c0]
push ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x94]
mov ax, word [0x100307c4]
push 0x400
mov word [ebp - 0x18], ax
call fcn.1004a302
mov byte [ebp - 4], 1
movzx eax, word [esi]
test ax, ax
je 0x1007fa41
mov ecx, eax
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
sar eax, 1
push eax
push dword [ebp - 0x94]
lea eax, [ebp - 0x1c]
mov word [ebp - 0x1c], cx
push eax
call dword [sym.imp.kernel32.dll_QueryDosDeviceW]
test eax, eax
je 0x1007fa2c
push dword [ebp - 0x94]
lea ecx, [ebp - 0x4c]
call fcn.1004a302
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.10072e72
test al, al
jne 0x1007fa5f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1006ab66
add esi, 2
cmp word [esi], bx
jne 0x1007fa2c
add esi, 2
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x1007f9d9
lea ecx, [ebp - 0x94]
call fcn.100754c5
lea ecx, [ebp - 0x88]
call fcn.100754c5
mov al, bl
call fcn.1006281a
ret
push 0xffffffffffffffff
push dword [ebp - 0x3c]
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.1004a302
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 7
call fcn.1004a302
push esi
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.1007f586
mov ecx, dword [ebp - 0x98]
push eax
call fcn.1004a302
lea ecx, [ebp - 0x64]
call fcn.1006ab66
lea ecx, [ebp - 0x34]
call fcn.1006ab66
lea ecx, [ebp - 0x7c]
call fcn.1006ab66
lea ecx, [ebp - 0x4c]
call fcn.1006ab66
lea ecx, [ebp - 0x94]
call fcn.100754c5
mov bl, 1
jmp 0x1007fa4c
Function at 0x1007fb8f
Capabilities:
Enumerate files on windows

Disassembly:
push 0x5c
mov eax, 0x1010b43b
call fcn.10062882
mov eax, edx
mov dword [ebp - 0x4c], eax
mov esi, ecx
mov ecx, eax
call fcn.10075cd8
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
mov edx, esi
mov dword [ebp - 0x48], 0x104
call fcn.1007fae5
mov byte [ebp - 4], 1
push dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
call fcn.1004a302
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1007fbe1
mov eax, dword [esi]
mov edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
push edi
push ecx
push ebx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileNameW]
mov ebx, eax
mov dword [ebp - 0x5c], ebx
cmp ebx, 0xffffffff
jne 0x1007fc3b
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
pop ebx
cmp eax, 0xea
je 0x1007fbcc
call fcn.1007f8de
mov esi, eax
mov edi, edx
call dword [sym.imp.kernel32.dll_GetLastError]
or esi, eax
or edi, 0x3125
lea ecx, [ebp - 0x2c]
call fcn.1006ab66
lea ecx, [ebp - 0x58]
call fcn.100754c5
mov eax, esi
mov edx, edi
jmp 0x1007fd2f
mov eax, dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x64], ebx
call fcn.1004a302
push edi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.1004a302
mov ecx, dword [ebp - 0x4c]
push eax
mov byte [ebp - 4], 3
call fcn.1004a302
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1006ab66
mov eax, dword [ebp - 0x54]
sub eax, edi
sar eax, 1
mov dword [ebp - 0x48], eax
push eax
lea ecx, [ebp - 0x58]
call fcn.1004a302
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x48]
push edi
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileNameW]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
test esi, esi
jne 0x1007fcc0
cmp ebx, 0x26
je 0x1007fd10
cmp ebx, 0xea
jne 0x1007fcea
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x5c]
jmp 0x1007fc85
push edi
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.1004a302
mov ecx, dword [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.1004a302
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1006ab66
mov ebx, dword [ebp - 0x5c]
jmp 0x1007fc7b
mov ecx, dword [ebp - 0x4c]
call fcn.10075cd8
call fcn.1007f8de
mov esi, eax
lea ecx, [ebp - 0x60]
mov edi, edx
or esi, ebx
or edi, 0x3425
call fcn.1004a302
jmp 0x1007fc22
lea ecx, [ebp - 0x60]
call fcn.1004a302
lea ecx, [ebp - 0x2c]
call fcn.1006ab66
lea ecx, [ebp - 0x58]
call fcn.100754c5
xor eax, eax
mov edx, 0x80
call fcn.1006281a
ret