joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e9240
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x100e92ae
test ecx, ecx
je 0x100e92a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x100e92bc
test ecx, ecx
je 0x100e9361
push ecx
jmp 0x100e935b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
jne 0x100e932e
jmp 0x100e92f0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.100e9240
mov edi, eax
test edi, edi
jne 0x100e937d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
je 0x100e92f0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100e9345
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100e9361
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.101586e7
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100e938c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x100e9363
Function at 0x100eea91
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.Install]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 7
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [0x1019a99c]
mov dword [ebp - 8], eax
mov esi, str.SOFTWARETencentQQDownload
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
inc eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x28]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100eeb05
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101586e7
leave
ret

Function at 0x100f0388
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x40
mov eax, 0x1018bef0
call fcn.1015d10b
mov ecx, dword [ebp + 0x110]
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
call fcn.100064d0
mov edi, 0x104
push edi
xor ebx, ebx
lea eax, [ebp]
push esi
inc ebx
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ebx
call fcn.101580b0
add esp, 0xc
push ebx
push 0x23
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100f0461
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100019a0
push str.TencentQQDownload
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.1002ced0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push esi
push eax
mov byte [ebp - 4], 2
call fcn.1000c960
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.10001b20
push esi
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10001b20
push edi
lea eax, [ebp]
push esi
push eax
call fcn.101580b0
push dword [ebp - 0x10]
call fcn.100efede
add esp, 0x10
test al, al
jne 0x100f045b
push dword [ebp - 0x10]
call fcn.100effda
pop ecx
jmp 0x100f045d
mov al, bl
test al, al
jne 0x100f046e
mov ecx, dword [ebp - 0x10]
push 0x1019777d
call fcn.10001af0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.101586e7
add ebp, 0x108
leave
ret
Function at 0x100f0494
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x40
mov eax, 0x1018bf54
call fcn.1015d10b
mov edi, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.100064d0
push 0x104
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x10], esi
call fcn.101580b0
mov al, byte [ebp + 0x23c]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100f056e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.100019a0
lea ecx, [ebp + 0x220]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.1002cf90
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.1000c960
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.10001b20
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001b20
push edi
call fcn.100efede
test al, al
pop ecx
jne 0x100f0568
push edi
call fcn.100effda
pop ecx
jmp 0x100f056a
mov al, 1
cmp al, bl
jne 0x100f05da
push 0x104
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.101580b0
add esp, 0xc
push 0x105
lea eax, [ebp + 0x104]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x104]
push 0x5c
push eax
call fcn.101591a0
cmp eax, ebx
pop ecx
pop ecx
je 0x100f05b2
mov byte [eax], bl
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x30]
call fcn.100019a0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10001a10
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.10001b20
push ebx
push esi
lea ecx, [ebp + 0x220]
call fcn.10001b20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.101586e7
add ebp, 0x210
leave
ret
Function at 0x100f08d9
Capabilities:
Enumerate process modules

Disassembly:
push 0x260
mov eax, 0x1018c062
call fcn.1015d174
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100f0981
lea eax, [ebp - 0x26c]
push eax
push edi
mov dword [ebp - 0x26c], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x100f097a
xor esi, esi
push str.TcpIpDog
lea ecx, [ebp - 0x2c]
call fcn.100019a0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.100019a0
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.100eef6b
cmp eax, 0xffffffff
push esi
lea ecx, [ebp - 0x48]
push 1
jne 0x100f0989
call fcn.10001b20
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001b20
lea eax, [ebp - 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x100f091e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.1015d1f7
ret
call fcn.10001b20
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001b20
mov al, 1
jmp 0x100f0983
Function at 0x100f2b20
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0xc00
lea ebp, [esp - 4]
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0xc00], eax
push 0x40
mov eax, 0x1018c445
call fcn.1015d10b
xor esi, esi
cmp dword [0x101c7fb0], esi
je 0x100f2b58
mov eax, 0x101c7f9c
jmp 0x100f2cbd
mov ebx, 0x3ff
push ebx
lea eax, [ebp + 0x801]
push esi
push eax
mov byte [ebp + 0x800], 0
call fcn.101580b0
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
lea edi, [ebx + 1]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp + 1]
push esi
push eax
mov byte [ebp], 0
call fcn.101580b0
add esp, 0xc
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov esi, 0x101c7f9c
je 0x100f2bf6
lea eax, [ebp + 0x800]
push eax
call fcn.100aee00
test al, al
pop ecx
je 0x100f2bf6
cmp dword [ebp - 0x14], 0
je 0x100f2be8
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.1015dcc0
test eax, eax
pop ecx
pop ecx
jne 0x100f2be8
push 0x1019777d
jmp 0x100f2bef
lea eax, [ebp + 0x800]
push eax
mov ecx, esi
call fcn.10001af0
push 0x1019777d
mov ecx, esi
call fcn.10037150
test eax, eax
jne 0x100f2c42
push ebx
mov byte [ebp + 0x400], al
xor ebx, ebx
lea eax, [ebp + 0x401]
push ebx
push eax
call fcn.101580b0
add esp, 0xc
push edi
lea eax, [ebp + 0x400]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x100f2c44
lea eax, [ebp + 0x400]
push eax
mov ecx, esi
call fcn.10001af0
jmp 0x100f2c44
xor ebx, ebx
push 0x1019777d
mov ecx, esi
call fcn.10037150
test eax, eax
je 0x100f2cbb
push 0xffffffffffffffff
mov edi, 0x10198048
push edi
mov ecx, esi
call fcn.1002c6a0
cmp eax, 0xffffffff
je 0x100f2ca7
push eax
mov ecx, esi
call fcn.10027aa0
push eax
push ebx
mov ecx, esi
call fcn.10027aa0
push eax
lea ecx, [ebp - 0x4c]
call fcn.100f2952
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10001a10
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001b20
push edi
mov ecx, esi
call fcn.1002cc90
push esi
lea ecx, [ebp - 0x30]
call fcn.10001970
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10001b20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc00]
xor ecx, ebp
call fcn.101586e7
add ebp, 0xc04
leave
ret
Function at 0x100f2ce0
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x3c
mov eax, 0x1018c47d
call fcn.1015d10b
xor ebx, ebx
cmp dword [0x101c7f94], ebx
je 0x100f2d18
mov eax, 0x101c7f80
jmp 0x100f2df8
mov edi, 0x3ff
push edi
lea eax, [ebp + 0x401]
push ebx
push eax
mov byte [ebp + 0x400], bl
call fcn.101580b0
add esp, 0xc
lea eax, [ebp + 0x400]
push eax
lea esi, [edi + 1]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.101580b0
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebp - 0x10], ebx
mov edi, eax
mov esi, 0x101c7f80
je 0x100f2df6
lea eax, [ebp + 0x400]
push eax
call fcn.100aee00
test al, al
pop ecx
je 0x100f2df6
cmp edi, ebx
je 0x100f2dad
lea eax, [ebp]
push eax
lea eax, [ebp + 0x400]
push eax
call fcn.1015dcc0
test eax, eax
pop ecx
pop ecx
jne 0x100f2dad
push 0x1019777d
mov ecx, esi
call fcn.10001af0
jmp 0x100f2df6
lea eax, [ebp + 0x400]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100019a0
push str.qd.tmp_
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], ebx
call fcn.1002ced0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10001a10
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10001b20
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001b20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.101586e7
add ebp, 0x804
leave
ret
Function at 0x100f349a
Capabilities:
Print debug messages

Disassembly:
push 0x15c
mov eax, 0x1018c57d
call fcn.1015d174
cmp dword [ebp + 0x14], 0x10
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
jne 0x100f3646
push 0x9c
xor edi, edi
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.101580b0
lea eax, [ebp - 0xbc]
push eax
call fcn.1010495d
push dword [ebp + 0xc]
lea eax, [ebp - 0xbc]
push esi
push eax
call fcn.10104988
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.101580b0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10104a40
add esp, 0x30
cmp byte [ebp + 0x18], 0
je 0x100f3630
push 1
push 3
lea ecx, [ebp - 0x168]
call fcn.10013620
lea eax, [ebp - 0x160]
push str.Hash_check_
push eax
mov dword [ebp - 4], edi
call fcn.10012340
cmp ebx, edi
pop ecx
pop ecx
mov esi, 0x10003140
je 0x100f3582
lea eax, [ebp - 0xc4]
push 2
push eax
call fcn.10157871
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x160]
call fcn.10003490
push eax
call fcn.10003af0
pop ecx
pop ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add edx, eax
mov byte [edx + 0x30], 0x30
movzx ecx, byte [ebx + edi]
push ecx
mov ecx, eax
call fcn.100133a0
inc edi
cmp edi, 0x10
jl 0x100f3540
push str.Hash_calc_
lea eax, [ebp - 0x160]
push 0x10198200
push eax
call fcn.10012340
pop ecx
pop ecx
push eax
call fcn.10012340
pop ecx
pop ecx
xor edi, edi
lea eax, [ebp - 0xc4]
push 2
push eax
call fcn.10157871
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x160]
call fcn.10003490
push eax
call fcn.10003af0
pop ecx
pop ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add edx, eax
mov byte [edx + 0x30], 0x30
movzx ecx, byte [ebp + edi - 0x20]
push ecx
mov ecx, eax
call fcn.100133a0
inc edi
cmp edi, 0x10
jl 0x100f35a4
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x168]
call fcn.1000abd0
cmp dword [eax + 0x18], 0x10
jb 0x100f3604
mov eax, dword [eax + 4]
jmp 0x100f3607
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 1
lea ecx, [ebp - 0xe0]
call fcn.10001b20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.10005840
test ebx, ebx
je 0x100f3646
push 0x10
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.1015b9fb
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x100f3648
xor al, al
call fcn.1015d1f7
ret

Function at 0x100f5273
Capabilities:
Create thread

Disassembly:
push 0x4c
mov eax, 0x1018c830
call fcn.1015d10b
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.100f42d4
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call fcn.10003330
push edi
push edi
push edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.10030590
push edi
push edi
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.10030590
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x100f4fd5
push edi
push edi
mov byte [ebp - 4], 3
call fcn.10158ba9
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x100f52fb
push str.create_thread_failed
lea ecx, [ebp - 0x30]
call fcn.100019a0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.10007ea0
push eax
mov byte [ebp - 4], 5
call fcn.10075580
mov eax, esi
call fcn.1015d1e3
ret
Function at 0x100f5303
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100f532c
push 0xf0
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x34]
call fcn.10030620
lea ecx, [esi + 0x28]
call fcn.10030620
lea ecx, [esi + 0xc]
call fcn.10003350
mov ecx, esi
pop esi
jmp fcn.100f4dd4

Function at 0x100f5953
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x1018c977
call fcn.1015d10b
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov dword [esi], 0x1019ac80
mov dword [esi + 8], eax
call fcn.10003330
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0x1019777d
push edi
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.100755b0
push edi
push edi
push edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.10030590
push edi
push edi
push edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.10030590
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x100f54a3
push edi
push edi
mov byte [ebp - 4], 4
call fcn.10158ba9
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x100f5a09
push str.create_thread_failed
lea ecx, [ebp - 0x2c]
call fcn.100019a0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.10007ea0
push eax
mov byte [ebp - 4], 6
call fcn.10075580
mov eax, esi
call fcn.1015d1e3
ret 0xc

Function at 0x100f5a13
Capabilities:
Terminate thread

Disassembly:
push 4
mov eax, 0x1018c99d
call fcn.1015d10b
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x1019ac80
push dword [esi + 0x48]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100f5a54
push 0xff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x50]
call fcn.10030620
lea ecx, [esi + 0x44]
call fcn.10030620
lea ecx, [esi + 0x3c]
call fcn.10030620
lea ecx, [esi + 0x28]
call fcn.100f43b4
lea ecx, [esi + 0xc]
call fcn.10003350
call fcn.1015d1e3
ret
Function at 0x100f713b
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x19c
lea ebp, [esp - 4]
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push 0x1c
mov eax, 0x1018cc2a
call fcn.1015d10b
mov edi, dword [ebp + 0x1a8]
push 0x80
xor ebx, ebx
lea eax, [ebp + 0x11c]
push ebx
push eax
call fcn.101580b0
add esp, 0xc
cmp edi, ebx
je 0x100f71de
mov esi, 0x1019ad40
push esi
push edi
call fcn.10158fe0
cmp eax, ebx
pop ecx
pop ecx
je 0x100f71d1
mov ebx, eax
push esi
sub ebx, edi
call fcn.1015d080
pop ecx
mov ecx, eax
push 0x7f
add ecx, ebx
pop eax
cmp ecx, eax
ja 0x100f71b1
push esi
call fcn.1015d080
pop ecx
add eax, ebx
push eax
push edi
lea eax, [ebp + 0x11c]
push 0x80
push eax
call fcn.10159a02
add esp, 0x10
lea esi, [ebp + 0x11c]
xor ebx, ebx
jmp 0x100f71d3
mov esi, edi
push esi
call fcn.1015d080
test eax, eax
pop ecx
jne 0x100f71e0
xor esi, esi
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.1002bde0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.100019a0
lea eax, [ebp]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.100f6be6
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001b20
push pe_nt_image_headers32
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.101580b0
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
jae 0x100f7238
lea eax, [ebp + 4]
push 0x40
lea ecx, [ebp + 0x1c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100f72b2
lea eax, [ebp + 0x1c]
push str.fat32
push eax
call fcn.1015da87
test eax, eax
pop ecx
pop ecx
jne 0x100f7294
xor esi, esi
push ebx
push 1
lea ecx, [ebp]
call fcn.1002be10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x19c]
xor ecx, ebp
call fcn.101586e7
add ebp, 0x1a0
leave
ret
lea eax, [ebp + 0x1c]
push str.ntfs
push eax
call fcn.1015da87
test eax, eax
pop ecx
pop ecx
jne 0x100f72ad
xor esi, esi
inc esi
jmp 0x100f7264
or esi, 0xffffffff
jmp 0x100f7264
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x100f72c7
cmp eax, 0x7b
jne 0x100f72ad
push 0xfffffffffffffffd
pop esi
jmp 0x100f7264
push 0xfffffffffffffffe
jmp 0x100f72c4

Function at 0x100f744b
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x100f745e
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 4], 0
pop esi
ret

Function at 0x100f76d6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea eax, [esi + 8]
push eax
push 0x10128ff8
push ebx
push ebx
mov byte [esi + 0x18], bl
mov dword [eax], esi
call fcn.10158ba9
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x100f770e
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
jne 0x100f771b
mov byte [esi + 0x18], 1
xor al, al
jmp 0x100f771d
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x101022da
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa4]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x77]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x80], edi
mov byte [ebp - 0x78], bl
call fcn.101580b0
push edi
call fcn.1015d080
mov edi, eax
mov eax, 0x102
add esp, 0x10
cmp edi, eax
jb 0x10102336
mov edi, eax
push 0x104
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.101580b0
push edi
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call fcn.10159070
mov edx, dword [ebp + 0xa0]
mov eax, dword [ebp + 0x98]
mov ecx, dword [ebp + 0x9c]
add esp, 0x18
dec edx
dec edx
lea edi, [ebp + edi - 0x78]
mov byte [edi], 0x31
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
je 0x10102393
dec edx
dec edx
je 0x1010238a
sub edx, 4
jne 0x101023e6
mov dword [esi + 0x10], 2
jmp 0x1010239a
mov dword [esi + 0x10], 0xf001f
jmp 0x1010239a
mov dword [esi + 0x10], 4
lea edx, [ebp - 0x78]
push edx
push eax
push ecx
push dword [ebp + 0xa0]
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x101023e6
cmp eax, 0xffffffff
je 0x101023e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0x10]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x10102402
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 8], 0xffffffff
xor al, al
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101586e7
add ebp, 0x90
leave
ret 0x14
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
mov byte [edi], 0x32
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x20], eax
jne 0x10102433
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10102433
lea eax, [ebp - 0x78]
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi + 0x20], eax
mov al, 1
jmp 0x101023e8