joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100455be
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x100d133d
call fcn.100c2007
mov esi, edx
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.100456f5
cmp dword [edi + 0x14], 8
jb 0x100455e6
mov edi, dword [edi]
push eax
push 0x20119
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x10012684
push eax
mov edi, 0x100126a4
push edi
push 0x3c
push dword [ebp + 4]
call fcn.10045c84
add esp, 0x14
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 4
jb 0x10045627
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x100126e0
push eax
push edi
push 0x42
push dword [ebp + 4]
call fcn.10045c84
add esp, 0x14
cmp dword [ebp - 0x14], 4
jne 0x10045662
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x10045690
call fcn.10045373
mov ecx, dword [eax]
cmp dword [ecx], 2
jbe 0x10045690
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10012720
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x80004005
push eax
push ecx
push ecx
mov edx, 0x10032dc9
call fcn.100380d6
cmp dword [ebp - 0x10], 0
je 0x1004569f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.100c1fd5
ret 4
Function at 0x100489a5
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov ecx, 0x811c9dc5
cmp dword [ebp + 8], esi
jbe 0x100489c8
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, dword [ebp + 8]
jb 0x100489b6
mov eax, ecx
pop esi
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, 0x100efcf8
mov edi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [edi + 4]
test eax, eax
je 0x10048c14
lock inc dword [eax + 4]
mov esi, dword [edi]
mov edi, dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test esi, esi
je 0x10048c68
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx + 0xc]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0x10048c2b
push edx
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1004893e
mov eax, dword [eax + 4]
test eax, eax
je 0x10048c68
cmp eax, dword [esi + 4]
je 0x10048c68
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [esi], eax
mov byte [esi + 4], 1
jmp 0x10048c6f
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
test edi, edi
je 0x10048c7a
mov ecx, edi
call fcn.100489cf
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10052749
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push ecx
lea ecx, [ebp - 4]
call fcn.100526db
mov esi, eax
test esi, esi
jns 0x1005277d
cmp dword [ebp - 4], 0
je 0x10052776
push dword [ebp - 4]
call fcn.100c1152
pop ecx
mov eax, esi
jmp 0x10052817
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
xor edi, edi
push edi
push eax
call fcn.100c28a0
add esp, 0xc
mov dword [ebp - 0x60], esi
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100527f9
call fcn.10054b37
mov edi, eax
mov ecx, dword [0x100ec1d0]
cmp ecx, 0x100ec1d0
je 0x100527ea
test byte [ecx + 0x1c], 1
je 0x100527ea
push edi
push esi
push dword [ecx + 0x14]
mov edx, 0x10014868
push dword [ecx + 0x10]
push 0x18
pop ecx
call fcn.100522b8
test esi, esi
je 0x100527f5
push esi
call fcn.100c1152
pop ecx
mov eax, edi
jmp 0x10052817
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10052805
call fcn.10052fa2
mov eax, dword [ebp - 0x14]
mov dword [ebx], eax
test esi, esi
je 0x10052815
push esi
call fcn.100c1152
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x20

Function at 0x100533ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push 4
pop esi
jmp 0x10053414
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x10053469
test eax, eax
je 0x10053462
cmp eax, esi
ja 0x10053462
sub esi, eax
add edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10053401
call fcn.10054b37
mov esi, eax
test esi, esi
jns 0x10053469
mov ecx, dword [0x100ec1d0]
cmp ecx, 0x100ec1d0
je 0x1005345e
test byte [ecx + 0x1c], 1
je 0x1005345e
push esi
push dword [ecx + 0x14]
mov edx, 0x10014878
push dword [ecx + 0x10]
push 0x17
pop ecx
call fcn.10052045
mov eax, esi
jmp 0x1005346b
mov esi, 0x8000ffff
jmp 0x10053436
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100535e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push esi
push edi
mov edi, edx
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1005363d
call fcn.10054b37
mov esi, eax
cmp esi, 0x80070002
je 0x10053639
cmp esi, 0x80070003
je 0x10053639
mov eax, dword [0x100ec1d0]
cmp eax, 0x100ec1d0
je 0x10053639
test byte [eax + 0x1c], 1
je 0x10053639
push esi
push edi
push dword [eax + 0x14]
mov edx, 0x10014878
push dword [eax + 0x10]
push 0x22
pop ecx
call fcn.100522b8
mov eax, esi
jmp 0x10053641
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ecx
ret
Function at 0x10053696
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
xor ecx, ecx
push ecx
push 0x100f02b0
push 0x10095b50
push ecx
push ecx
mov dword [ebp - 4], ecx
call fcn.100caa2c
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100536f6
mov eax, dword [0x100ec1d0]
cmp eax, 0x100ec1d0
je 0x100536e6
test byte [eax + 0x1c], 4
je 0x100536e6
push 0x10014878
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10052026
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x100536f2
mov eax, dword [ebp - 4]
mov dword [ecx], eax
xor eax, eax
jmp 0x10053751
mov esi, 0x80004005
call fcn.100af1ca
mov eax, dword [eax]
sub eax, 0xb
je 0x10053724
sub eax, 1
je 0x10053716
sub eax, 1
je 0x1005371d
sub eax, 9
jne 0x10053729
mov esi, 0x8007000e
jmp 0x10053729
mov esi, 0x80070005
jmp 0x10053729
mov esi, 0x8007009b
mov eax, dword [0x100ec1d0]
cmp eax, 0x100ec1d0
je 0x1005374f
test byte [eax + 0x1c], 1
je 0x1005374f
push esi
push dword [eax + 0x14]
mov edx, 0x10014878
push dword [eax + 0x10]
push 0x2e
pop ecx
call fcn.10052045
mov eax, esi
pop esi
leave
ret 0x14

Function at 0x10054263
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
mov eax, dword [edi]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 4]
push dword [ebp + 8]
push 0
push eax
push dword [ebp + 0x10]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x100542d6
mov edx, dword [ebp - 4]
mov eax, 0x800700ea
inc edx
cmp dword [ebp + 0x10], 0
je 0x100542c0
cmp edx, dword [ebx]
cmova esi, eax
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp - 8]
je 0x100542ce
cmp ecx, dword [edi]
cmova esi, eax
mov dword [ebx], edx
mov dword [edi], ecx
mov eax, esi
jmp 0x1005432b
mov eax, 0x80070103
cmp esi, eax
je 0x1005432b
add eax, 0xffffffe7
cmp esi, eax
je 0x10054311
mov eax, dword [0x100ec1d0]
cmp eax, 0x100ec1d0
je 0x100542d2
test byte [eax + 0x1c], 1
je 0x100542d2
push esi
push dword [ebp - 0xc]
mov edx, 0x10014a00
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
pop ecx
call fcn.10052291
jmp 0x100542d2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
inc ecx
cmp dword [ebx], ecx
jb 0x10054327
cmp dword [edi], edx
jb 0x10054327
mov eax, 0x8000ffff
jmp 0x1005432b
mov dword [ebx], ecx
mov dword [edi], edx
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x10054f65
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x100eedbc]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.1006cf10
push 0x10015410
lea ecx, [esp + 0x1c]
call fcn.1006cec1
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x10054fe7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10055011
mov ecx, dword [ebp + 4]
mov edx, 0xc9
push 0x1001f0d8
call fcn.1006ce7d
mov edi, eax
jmp 0x10055011
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.10054e4a
mov ebx, eax
test ebx, ebx
jns 0x10055017
mov ecx, dword [ebp + 4]
mov edx, 0xcf
push ebx
push 0x1001f0d8
call fcn.1003c7d3
mov edi, ebx
test esi, esi
je 0x1005502b
jmp 0x10055025
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
push esi
call fcn.1006d0a8
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c0f05
mov esp, ebp
pop ebp
ret 8
Function at 0x10064220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3bac
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100eedbc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov edx, ebx
or dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], eax
mov dword [eax], edi
mov dword [eax + 4], edi
cmp dword [ebx + 0x14], 8
jb 0x10064269
mov edx, dword [ebx]
push ecx
push 0x2000000
push ecx
push ecx
push 3
push 0x80
lea ecx, [ebp - 0x40]
call fcn.10053103
mov esi, eax
test esi, esi
jns 0x100642d5
call fcn.10045373
mov ecx, dword [eax]
cmp dword [ecx], 2
jbe 0x100642bf
cmp dword [ebx + 0x14], 8
jb 0x1006429a
mov ebx, dword [ebx]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1001c7b0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
push eax
push ecx
push ecx
mov edx, 0x1003398b
call fcn.1003868a
cmp dword [ebp - 0x40], 0xffffffff
je 0x100642ce
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x10064371
mov esi, dword [ebp - 0x40]
xor eax, eax
push 9
pop ecx
mov dword [ebp - 0x38], edi
lea edi, [ebp - 0x34]
push 0x28
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
jne 0x10064355
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
call fcn.10045373
mov ecx, dword [eax]
cmp dword [ecx], 2
jbe 0x10064345
cmp dword [ebx + 0x14], 8
jb 0x10064320
mov ebx, dword [ebx]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1001c7b0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], edi
push eax
push ecx
push ecx
mov edx, 0x1003398b
call fcn.1003868a
cmp esi, 0xffffffff
je 0x10064351
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x10064371
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp esi, 0xffffffff
je 0x1006436f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c0f05
leave
ret 8
Function at 0x100782ff
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0x14
mov eax, 0x100d6264
call fcn.100c2007
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x50], ebx
je 0x1007838b
mov edx, 0x811c9dc5
mov ecx, ebx
movzx eax, byte [ebp + ecx + 0x14]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1007832e
push edx
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x48]
call fcn.10079b64
mov ecx, dword [ebp + 0x4c]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [ebp + 0x4c]
je 0x1007838b
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
jmp 0x10078383
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call fcn.10077c0d
test al, al
jne 0x10078389
add esi, 0x58
cmp esi, edi
jne 0x1007836a
jmp 0x1007838b
mov bl, 1
lea ecx, [ebp + 0x18]
call fcn.1006b994
mov al, bl
call fcn.100c1fd5
ret 0x60
Function at 0x1007b780
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1007b8d5
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1007b8d5
cmp eax, 0x29
jne 0x1007b7ec
cmp dword [esi + 0x10], 0
jne 0x1007b8d5
test dword [esi + 0x50], edx
je 0x1007b8db
cmp eax, 0x5d
jne 0x1007b7c7
test dword [esi + 0x50], edx
je 0x1007b86e
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1007c798
mov bl, 1
mov ecx, esi
call fcn.1007b757
test bl, bl
je 0x1007b7e8
mov ecx, esi
call fcn.1007c6b2
mov cl, 1
jmp 0x1007b787
cmp eax, 0x2e
jne 0x1007b804
push 5
lea ecx, [esi + 0x24]
call fcn.1007b9a5
mov ecx, esi
call fcn.1007b757
jmp 0x1007b7e1
cmp eax, 0x5c
jne 0x1007b855
mov ecx, esi
call fcn.1007b757
test byte [esi + 0x50], 0x80
je 0x1007b84c
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x1007b834
push 4
lea ecx, [esi + 0x24]
call fcn.1007b9a5
mov ecx, esi
call fcn.1007b757
jmp 0x1007b7e8
cmp ecx, 0x42
jne 0x1007b84c
push 4
lea ecx, [esi + 0x24]
call fcn.1007b9a5
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1007b82b
mov ecx, esi
call fcn.1007c54b
jmp 0x1007b7e1
cmp eax, 0x5b
jne 0x1007b872
mov ecx, esi
call fcn.1007b757
mov ecx, esi
call fcn.1007c4ff
cmp dword [esi + 0x4c], 0x5d
je 0x1007b7fb
push 4
jmp 0x1007b8dd
cmp eax, 0x28
jne 0x1007b892
mov ecx, esi
call fcn.1007b757
mov ecx, esi
call fcn.1007c623
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1007b8db
jmp 0x1007b7d6
cmp eax, 0x5e
jne 0x1007b89b
push 2
jmp 0x1007b823
cmp eax, 0x24
jne 0x1007b8a7
push 3
jmp 0x1007b823
cmp eax, 0x2a
je 0x1007b8d1
cmp eax, 0x2b
je 0x1007b8d1
cmp eax, 0x3f
je 0x1007b8d1
cmp eax, 0x7b
je 0x1007b8d1
cmp eax, 0x7d
jne 0x1007b7b9
test dword [esi + 0x50], edx
jne 0x1007b7c7
push 6
jmp 0x1007b8dd
push 0xa
jmp 0x1007b8dd
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1007acf8
int3
Function at 0x100898f9
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0x1e8
mov eax, 0x100d8d60
call fcn.100c203a
mov edi, ecx
mov ecx, dword [ebp + 0x14]
lea esi, [edi + 0x184]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1e4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x1e8], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x1e0], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x1ec], ecx
mov ecx, esi
push eax
call fcn.1008af4d
cmp eax, dword [esi]
je 0x10089a0b
add eax, 0x28
lea ecx, [ebp - 0x1dc]
push eax
call fcn.100835c3
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + ecx + 0xc]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x10089963
push edx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x148]
call fcn.10079b64
mov edx, dword [ebp - 0x144]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [ebp - 0x144]
je 0x10089a00
lea eax, [ebp - 0x194]
mov ecx, ebx
push eax
call fcn.1004799d
mov ecx, dword [ebp - 0x1e0]
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x1e4]
push eax
call fcn.1004799d
mov ecx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x17c]
push eax
call fcn.1004799d
mov ecx, dword [ebp - 0x1ec]
mov al, byte [ebp - 0x14b]
mov byte [ecx], al
lea ecx, [ebp - 0x1dc]
call fcn.1006c8a9
mov al, 1
jmp 0x10089a0d
lea ecx, [ebp - 0x1dc]
call fcn.1006c8a9
xor al, al
call fcn.100c1fe9
ret 0x1c
Function at 0x10099533
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x100eedbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [ebp - 0x47c], edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x1009955c
sub esi, ecx
sar esi, 1
jne 0x10099577
mov eax, 0x800700a1
jmp 0x100996f8
push 0x5c
pop edx
mov eax, edi
mov ecx, 0x104
cmp word [edi + esi*2 - 2], dx
je 0x100995c0
lea eax, [esi + 1]
cmp eax, ecx
jae 0x100996de
push edi
push ecx
lea eax, [ebp - 0x270]
push eax
call fcn.100b571e
push 0x100149c8
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.100b56af
add esp, 0x18
lea eax, [ebp - 0x270]
push 0x32
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1009967a
lea eax, [esi + 0xf]
mov ecx, 0x104
cmp eax, ecx
jae 0x100996de
push str._GlobalRoot
push ecx
lea eax, [ebp - 0x270]
push eax
call fcn.100b571e
push edi
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.100b56af
add esp, 0x18
push 0x5c
pop eax
cmp word [edi + esi*2 - 2], ax
je 0x1009962f
push 0x100149c8
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.100b56af
add esp, 0xc
push 0x32
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1009967a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1126
je 0x10099673
cmp eax, 1
je 0x10099673
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, ecx
jmp 0x100996f8
mov eax, 0x8007007b
jmp 0x100996f8
lea eax, [ebp - 0x47c]
mov esi, 0x104
push eax
push esi
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x10099658
lea ecx, [ebp - 0x478]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100996a7
sub ecx, edx
sar ecx, 1
je 0x100996da
push 0x5c
pop eax
cmp word [ebp + ecx*2 - 0x47a], ax
jne 0x100996da
dec ecx
lea eax, [ecx + ecx]
cmp eax, 0x208
jae 0x10099709
xor edx, edx
mov word [ebp + eax - 0x478], dx
cmp ecx, esi
jb 0x100996e5
mov eax, 0x8007007a
jmp 0x100996f8
lea eax, [ebp - 0x478]
push eax
push esi
push ebx
call fcn.100b571e
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c0f05
leave
ret 0xc
call fcn.100c1039
int3
Function at 0x1009c7da
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x100db11c
call fcn.100c2007
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x10], ebx
push 0x1002a118
sete al
push eax
push 0x80070057
push 0x1002a0d0
push 0x1e
push dword [ebp + 4]
call fcn.1006cd3c
add esp, 0x18
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1009c825
mov eax, dword [esi]
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 1
push dword [esi + 0x10]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push 0x1002a1a0
push eax
push 0x1002a0d0
push 0x2c
push dword [ebp + 4]
call fcn.10092c90
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x10]
call fcn.100947a1
xor edx, edx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x10]
inc edx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], edx
jb 0x1009c86e
mov esi, dword [esi]
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push dword [edi]
push edx
push eax
push esi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push 0x1002a158
push eax
push 0x1002a0d0
push 0x37
push dword [ebp + 4]
call fcn.10092c90
add esp, 0x14
mov eax, edi
call fcn.100c1fd5
ret

Function at 0x1009d197
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100eedbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x20], esi
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x1009d1c0
mov eax, dword [edi]
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
jne 0x1009d1e6
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x1009d23d
push ecx
lea eax, [ebx - 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10051f16
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
cmp dword [edi + 0x14], 8
jb 0x1009d206
mov edi, dword [edi]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1009d22a
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x1009d235
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100429f5
lea ecx, [ebp - 0x1c]
call fcn.10042adf
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c0f05
leave
ret
Function at 0x1009df70
Capabilities:
Get file version info

Disassembly:
push 0x10
mov eax, 0x100d183d
call fcn.100c2007
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1009df8b
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
push 0x1002a8d4
sete cl
movzx ecx, cl
push ecx
push 0x1002a894
push 0x19
push dword [ebp + 4]
call fcn.10092d27
add esp, 0x14
push ebx
call fcn.100cc9b1
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x1009dfcf
mov esi, dword [esi]
push eax
push ebx
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
push 0x1002a91c
push eax
push 0x1002a894
push 0x23
push dword [ebp + 4]
call fcn.10092c90
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
add esp, 0x14
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100149c8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x1002a8f8
push eax
push 0x1002a894
push 0x2c
push dword [ebp + 4]
call fcn.10092c90
mov ecx, dword [ebp - 0x10]
add esp, 0x14
movzx eax, word [ecx + 0xa]
mov dword [edi], eax
movzx eax, word [ecx + 8]
mov dword [edi + 4], eax
movzx eax, word [ecx + 0xe]
mov dword [edi + 8], eax
movzx eax, word [ecx + 0xc]
push esi
mov dword [edi + 0xc], eax
call fcn.100c1152
pop ecx
mov eax, edi
call fcn.100c1fd5
ret 4