joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ca44
Capabilities:
Hash data using murmur3

Disassembly:
push eax
mov ecx, dword [esp + 8]
push eax
imul edx, ecx, 0xcc9e2d51
rol edx, 0xf
mov dword [esp], ebx
imul ebx, edx, 0x1b873593
xor ebx, dword [esp + 4]
rol ebx, 0xd
lea eax, [ebx + ebx*4 - 0x19ab949c]
mov ebx, dword [esp]
add esp, 8
ret 4

Function at 0x48f640
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x14], esi
mov esi, eax
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esi], 0
mov eax, dword [ebx]
call fcn.0045d3bc
push 0
push 0
push 0
push 0
push esi
mov dword [esi], eax
push dword [ebx + 4]
push ebp
push dword [esp + 0x44]
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edi, eax
cmp eax, 0xea
je 0x48f6a4
mov eax, edi
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add esp, 0x1c
ret 0xc
mov dword [esp + 8], ebx
mov ecx, dword [ebx]
add ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], 0x4e8e70
call fcn.0044e730
mov eax, dword [ebx]
call fcn.0045d3bc
push 0
push 0
push 0
push 0
push esi
mov dword [esi], eax
push dword [ebx + 4]
push ebp
push dword [esp + 0x44]
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edi, eax
cmp eax, 0xea
jne 0x48f68c
jmp 0x48f6a4

Function at 0x48f6e8
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x14], esi
mov esi, eax
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esi], 0
mov eax, dword [ebx]
call fcn.0045d3bc
push 0
push 0
push 0
push 0
push esi
mov dword [esi], eax
push dword [ebx + 4]
push ebp
push dword [esp + 0x44]
call sub.ADVAPI32.DLL_RegEnumValueW
mov edi, eax
cmp eax, 0xea
je 0x48f74c
mov eax, edi
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add esp, 0x1c
ret 0xc
mov dword [esp + 8], ebx
mov ecx, dword [ebx]
add ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], 0x4e8e70
call fcn.0044e730
mov eax, dword [ebx]
call fcn.0045d3bc
push 0
push 0
push 0
push 0
push esi
mov dword [esi], eax
push dword [ebx + 4]
push ebp
push dword [esp + 0x44]
call sub.ADVAPI32.DLL_RegEnumValueW
mov edi, eax
cmp eax, 0xea
jne 0x48f734
jmp 0x48f74c

Function at 0x490e88
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
lea eax, [esp + 8]
call fcn.00408354
xor al, 1
je 0x490eaf
inc ebx
lea eax, [esp + 8]
call fcn.004083e0
lea eax, [esp + 8]
call fcn.00408354
xor al, 1
jne 0x490e98
mov eax, ebx
pop ebx
ret 8
Function at 0x4938ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
lea eax, [esp + 8]
call fcn.0047f0b0
xor al, 1
je 0x493923
lea eax, [esp + 8]
call fcn.0047f114
push eax
mov eax, ebx
call fcn.0040937c
lea eax, [esp + 8]
call fcn.0047f0d4
lea eax, [esp + 8]
call fcn.0047f0b0
xor al, 1
jne 0x4938fc
pop ebx
ret 0x1c

Function at 0x494178
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
lea eax, [esp + 8]
call fcn.00408354
xor al, 1
je 0x4941b3
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00408360
push eax
mov eax, ebx
call fcn.0049b32c
lea eax, [esp + 8]
call fcn.004083e0
lea eax, [esp + 8]
call fcn.00408354
xor al, 1
jne 0x494188
pop ebx
ret 8

Function at 0x49472c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0049b3b4
lea esi, [esp + 0x30]
lea edi, [esp + 0x18]
mov dword [esp + 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x18]
call fcn.004945d8
xor al, 1
je 0x494783
lea eax, [esp + 0x18]
call fcn.00494578
push edx
push eax
lea eax, [esp + 0x10]
call fcn.0049b3e8
lea eax, [esp + 0x18]
call fcn.004945f0
lea eax, [esp + 0x18]
call fcn.004945d8
xor al, 1
jne 0x494759
lea eax, [esp + 8]
call fcn.0049b614
mov esi, dword [esp]
mov edi, dword [esp + 4]
add esp, 0x2c
ret 0x14

Function at 0x497610
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x10], esi
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0x300
mov dword [esp], 1
call fcn.004abae4
test eax, eax
mov dword [esi + 0xc], eax
jne 0x497645
call fcn.0049c06c
mov ebx, dword [esi + 0xc]
mov ecx, 0xc0
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea ebp, [ebx + 0x88]
push ebp
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
imul edx, edx, 0xdeece66d
lea ecx, [eax + eax*4]
add ecx, edx
mov edx, 0xdeece66d
mul edx
add edx, ecx
add eax, 0xb
adc edx, 0
and edx, 0xffff
mov dword [ebp + 4], edx
lea edx, [ebx + 0x98]
mov dword [ebp], eax
mov dword [esp + 0x18], edx
push edx
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
imul edx, edx, 0xdeece66d
mov eax, dword [ecx]
lea edi, [eax + eax*4]
add edi, edx
mov edx, 0xdeece66d
mul edx
add edx, edi
add eax, 0xb
adc edx, 0
and edx, 0xffff
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor ecx, ecx
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf8], ecx
fld dword [ebx + 0xf0]
mov dword [ebx + 0xf4], ecx
fstp dword [ebx + 0xec]
mov dword [ebx + 0xfc], ecx
cmp dword [0x4e97ac], ecx
je 0x49770d
mov ebx, dword [0x4e97ac]
shl ebx, 0x14
mov eax, dword [esi + 0xc]
push ebx
call fcn.0049cb40
cmp byte [0x4e97a0], 0
je 0x49771f
mov edx, dword [esi + 0xc]
inc dword [edx + 0xa0]
mov eax, esi
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esp, 0x1c
ret
Function at 0x49b800
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
lea eax, [esp + 8]
call fcn.004a2640
xor al, 1
je 0x49b83b
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00420af0
push eax
mov eax, ebx
call fcn.00409154
lea eax, [esp + 8]
call fcn.00420cc8
lea eax, [esp + 8]
call fcn.004a2640
xor al, 1
jne 0x49b810
pop ebx
ret 8

Function at 0x49c06c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push eax
xor eax, eax
call fcn.0047e058
mov dword [esp], eax
call fcn.0044a110
Function at 0x4a4af4
Capabilities:
Resume thread

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp], 8
call fcn.004a9378
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov dword [esp + 0x2c], 0
cmp byte [0x510508], 0
jne 0x4a4b78
lea ebx, [esp + 0x2c]
mov esi, 0x4a4c70
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 0
call fcn.004a9dcc
test eax, eax
mov dword [esp + 0x34], eax
jne 0x4a4b8c
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 0x38
xor eax, eax
ret 0x14
mov edx, 0x5104ec
push edx
call sub.KERNEL32.DLL_EnterCriticalSection
inc dword [0x5104d8]
mov eax, dword [0x5104d8]
lea ecx, [eax + eax*2]
lea ecx, [ecx*4]
mov dword [esp + 4], ecx
mov ebx, dword [0x5104dc]
mov dword [esp], ebx
call fcn.004a93a4
mov dword [0x5104dc], eax
mov edx, dword [0x5104d8]
lea edi, [edx + edx*2]
lea edi, [edi*4]
add edi, eax
mov esi, dword [esp + 0x2c]
mov dword [edi - 0xc], esi
mov ecx, dword [0x5104d8]
lea ebx, [ecx + ecx*2]
lea ebx, [ebx*4]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add ebx, dword [0x5104dc]
mov dword [ebx - 8], eax
mov dword [ebx - 4], edx
push dword [esp + 0x34]
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 0xffffffff
jne 0x4a4c2d
mov edx, 0x4c33b0
mov esi, 0x15
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.0046186c
push dword [esp + 0x34]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x3c]
je 0x4a4c45
call fcn.004a6a10
mov ecx, dword [esp + 0x2c]
mov ebx, 0x5104ec
mov dword [esp + 0x30], ecx
push ebx
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 0x38
ret 0x14

Function at 0x4a4ef8
Capabilities:
Terminate thread

Disassembly:
push eax
push eax
mov dword [esp], ebx
push dword [esp + 4]
push 0
push 0x10004a
call sub.KERNEL32.DLL_OpenThread
mov ebx, eax
test eax, eax
jne 0x4a4f1a
mov ebx, dword [esp]
add esp, 8
ret
cmp byte [0x510508], 0
je 0x4a4f35
push 1
push ebx
call sub.KERNEL32.DLL_TerminateThread
push 0xa
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
jmp 0x4a4f3d
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov ebx, dword [esp]
add esp, 8
ret

Function at 0x4a5908
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
lea eax, [esp + 8]
call fcn.0047c644
xor al, 1
je 0x4a592f
inc ebx
lea eax, [esp + 8]
call fcn.0047c660
lea eax, [esp + 8]
call fcn.0047c644
xor al, 1
jne 0x4a5918
mov eax, ebx
pop ebx
ret 0x44
Function at 0x4a5bac
Capabilities:
Resume thread

Disassembly:
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov ecx, dword [edi + 0xc]
push ecx
call sub.KERNEL32.DLL_GetCurrentThreadId
pop ecx
cmp ecx, eax
je 0x4a5c0b
push dword [edi + 8]
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 0xffffffff
jne 0x4a5c0b
mov eax, edi
call fcn.00455f18
xor al, 1
je 0x4a5bfe
mov eax, edi
call fcn.00456420
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0x10
ret
mov edx, 0x4f51d0
push edx
push 0x17
call fcn.0046186c
movsx ebx, byte [edi + 0x4c]
xor bl, 1
je 0x4a5c1c
mov esi, dword [edi + 0x48]
mov ecx, dword [esi]
mov dword [esi + 4], ecx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xc]
mov ecx, 8
xor eax, eax
add edi, 0x54
rep stosd dword es:[edi], eax
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0x10
ret
Function at 0x4a7878
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
lea eax, [esp + 8]
call fcn.0047c644
xor al, 1
je 0x4a78af
lea eax, [esp + 8]
call fcn.0047c654
push eax
mov eax, ebx
call fcn.0040937c
lea eax, [esp + 8]
call fcn.0047c660
lea eax, [esp + 8]
call fcn.0047c644
xor al, 1
jne 0x4a7888
pop ebx
ret 0x44

Function at 0x4a8c94
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x4f53f4
push 0x4ad7f4
push edx
mov dword fs:[0], esp
sub esp, 8
push eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
jmp 0x4a8ce2
call fcn.004add30
mov eax, esp
mov dword [0x512b64], eax
call fcn.004adea4
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x512b6c], eax
call fcn.004ade88
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x512b68], eax
call fcn.004a8dd4
call fcn.004add70
call fcn.004ada3c
call fcn.004ab620
push 0
push dword [0x4f62cc]
push dword [0x4f5e19]
push dword [0x4f5e15]
call fcn.00444068
add esp, 0x10
push eax
call fcn.004abde8
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a9dcc
Capabilities:
Create thread
Resume thread

Disassembly:
push eax
push eax
push ebx
push esi
push edi
mov dword [0x4f6414], 1
push 0x4f641c
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor ebx, ebx
mov eax, dword [0x512b70]
cmp dword [eax + ebx*4], 0
je 0x4a9dfc
inc ebx
cmp ebx, 0x400
jb 0x4a9de8
cmp ebx, 0x400
jne 0x4a9e12
push 0xb
call fcn.004ae1b4
xor ebx, ebx
jmp 0x4a9eab
push 1
push 0x2a8
call fcn.004abae4
add esp, 8
mov esi, eax
test eax, eax
jne 0x4a9e32
push 0xc
call fcn.004ae1b4
xor ebx, ebx
jmp 0x4a9eab
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x28]
or edx, 4
push ecx
push edx
push dword [esp + 0x2c]
push 0x4a9ec0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test eax, eax
jne 0x4a9e71
push esi
call fcn.004a8fd8
call fcn.004b02e0
xor ebx, ebx
add esp, 4
jmp 0x4a9eab
test dword [esp + 0x28], 4
mov ecx, dword [0x512b70]
mov dword [ecx + ebx*4], esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0x1c], edi
jne 0x4a9ea9
push edi
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ebx, edi
push 0x4f641c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4abca8
Capabilities:
Query environment variable

Disassembly:
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
je 0x4abd05
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov edi, eax
test eax, eax
je 0x4abd05
lea ecx, [edi + 1]
push ecx
call fcn.004a9378
add esp, 4
mov ebx, eax
test eax, eax
je 0x4abd05
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
test eax, eax
jne 0x4abcf2
push ebx
call fcn.004a8fd8
xor ebx, ebx
add esp, 4
jmp 0x4abd05
push ebx
push esi
call fcn.004b0bbc
add esp, 4
push eax
call fcn.004abbb8
add esp, 8
pop edi
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b09d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0x3c
jae 0x4b0a1a
mov ecx, dword [ebp + 0x10]
or ecx, ecx
je 0x4b0a16
test byte [ebx + 0x4f542c], 0x10
jne 0x4b0a2b
mov edx, dword [ebp + 0xc]
push ecx
push edx
push 0
lea eax, [ebp - 8]
push eax
push ecx
push edx
push dword [ebx*4 + 0x4f5468]
call sub.KERNEL32.DLL_ReadFile
pop edx
pop ecx
or eax, eax
je 0x4b0a1a
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x4b0a11
push 9
call fcn.004ae1b4
mov eax, 0xffffffff
jmp 0x4b0a11
push esi
push edi
mov edi, dword [ebp + 0xc]
and byte [ebx + 0x4f542c], 0xfe
cld
push ds
pop es
mov edx, edi
push ecx
push edx
push 0
lea eax, [ebp - 8]
push eax
push ecx
push edx
push dword [ebx*4 + 0x4f5468]
call sub.KERNEL32.DLL_ReadFile
pop edx
pop ecx
or eax, eax
je 0x4b0b09
mov eax, dword [ebp - 8]
add edx, eax
cmp eax, ecx
je 0x4b0a6e
or byte [ebx + 0x4f542c], 1
mov ecx, eax
or ecx, ecx
je 0x4b0bb0
push edi
mov al, 0x1a
repne scasb al, byte es:[edi]
je 0x4b0ad8
pop edi
mov ecx, edx
sub ecx, edi
mov al, 0xd
xor esi, esi
repne scasb al, byte es:[edi]
jne 0x4b0bb0
cmp edi, edx
jae 0x4b0b1d
cmp byte [edi], 0xa
jne 0x4b0a86
mov esi, edi
mov dword [ebp - 4], edi
dec dword [ebp - 4]
mov ecx, edx
sub ecx, edi
mov al, 0xd
repne scasb al, byte es:[edi]
jne 0x4b0b7a
cmp edi, edx
jae 0x4b0b1d
cmp byte [edi], 0xa
jne 0x4b0aa9
mov ecx, edi
dec ecx
sub ecx, esi
mov eax, edi
mov edi, dword [ebp - 4]
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], edi
mov edi, eax
inc esi
jmp 0x4b0aa3
dec edi
test byte [ebx + 0x4f542c], 8
jne 0x4b0afb
sub edx, edi
push 1
push 0
push edx
push dword [ebx*4 + 0x4f5468]
call sub.KERNEL32.DLL_SetFilePointer
cmp ax, 0xffff
je 0x4b0b09
or byte [ebx + 0x4f542c], 1
mov edx, edi
jmp 0x4b0a7d
push 9
call fcn.004ae1b4
mov eax, 0xffffffff
jmp 0x4b0bb5
test byte [ebx + 0x4f542c], 1
jne 0x4b0b7a
dec edx
mov ecx, 1
push ecx
push edx
push 0
lea eax, [ebp - 8]
push eax
push ecx
push edx
push dword [ebx*4 + 0x4f5468]
call sub.KERNEL32.DLL_ReadFile
pop edx
pop ecx
or eax, eax
je 0x4b0b09
mov eax, dword [ebp - 8]
or eax, eax
je 0x4b0b73
cmp byte [edi - 1], 0xa
je 0x4b0b7a
mov byte [edi - 1], 0xd
push 1
push 0
push 0xffffffffffffffff
push dword [ebx*4 + 0x4f5468]
call sub.KERNEL32.DLL_SetFilePointer
cmp ax, 0xffff
je 0x4b0b09
jmp 0x4b0b7a
or byte [ebx + 0x4f542c], 1
cmp esi, 0
je 0x4b0bb0
mov ecx, edi
sub ecx, esi
mov edi, dword [ebp - 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test byte [ebx + 0x4f542c], 8
jne 0x4b0bb0
mov ecx, esi
sub ecx, edi
je 0x4b0bb0
test byte [ebx + 0x4f542c], 1
je 0x4b0a3a
mov eax, edi
sub eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100014b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100c5180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
mov edx, ecx
movq qword [ebp - 0x10], xmm0
push esi
lea ecx, [ebp - 0x10]
xor bl, bl
call fcn.10001390
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x10001510
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi]
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
add esi, 4
cmp esi, dword [ebp - 0x14]
jne 0x100014f1
mov esi, dword [ebp - 0x10]
pop edi
test esi, esi
je 0x10001540
mov ecx, dword [ebp - 8]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10001536
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001552
push ecx
push esi
call fcn.1008a52c
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a4e9
mov esp, ebp
pop ebp
ret
call fcn.1008e1ca
int3
Function at 0x10001910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000192e
push 0
push 0
push 0
push 0x10001900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10001fb0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
mov edi, ecx
lea ebp, [edi + 0x84]
push ebp
call esi
lea eax, [edi + 0x9c]
push eax
call esi
lea eax, [edi + 0xbc]
push eax
call esi
lea eax, [edi + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
lea eax, [edi + 0xd8]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0xb8], eax
lea eax, [edi + 0x7c]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [edi + 0xf8]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [edi + 0x100]
push 0
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [edi + 0x110]
push 0
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [edi + 0x118]
push 1
push 0
mov dword [eax + 4], eax
mov dword [eax], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x10002067
xor ecx, ecx
call fcn.10006760
push eax
push str.CreateEvent_failed:__s
push str.usbi_create_event
push 1
push 0
call fcn.100064b0
mov ebx, 0xffffff9d
jmp 0x1000214b
push ecx
mov edx, eax
mov ecx, edi
call fcn.100039c0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
add esp, 4
test ebx, ebx
js 0x10002127
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x100020ce
xor ecx, ecx
call fcn.10006760
push eax
push str.CreateWaitableTimer_failed:__s
push str.usbi_create_timer
push 2
push 0
call fcn.100064b0
push str.timer_not_available_for_timeouts
push str.usbi_io_init
push 4
push edi
call fcn.100064b0
add esp, 0x24
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push str.using_timer_for_timeouts
push str.usbi_io_init
push 4
push edi
call fcn.100064b0
mov edx, dword [edi + 0x10]
add esp, 0xc
mov ecx, edi
call fcn.100039c0
mov ebx, eax
add esp, 4
test ebx, ebx
jns 0x100020c7
push dword [edi + 0x10]
call esi
test eax, eax
jne 0x1000211d
xor ecx, ecx
call fcn.10006760
push eax
push str.CloseHandle_failed:__s
push str.usbi_destroy_timer
push 2
push 0
call fcn.100064b0
add esp, 0x14
mov edx, dword [edi + 0xc]
mov ecx, edi
call fcn.10003a70
push dword [edi + 0xc]
call esi
test eax, eax
jne 0x1000214e
xor ecx, ecx
call fcn.10006760
push eax
push str.CloseHandle_failed:__s
push str.usbi_destroy_event
push 2
push 0
call fcn.100064b0
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push ebp
call esi
lea eax, [edi + 0x9c]
push eax
call esi
lea eax, [edi + 0xbc]
push eax
call esi
lea eax, [edi + 0xd8]
push eax
call esi
push dword [edi + 0xb8]
call dword [sym.imp.KERNEL32.dll_TlsFree]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x10006850
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x100c5180]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x10]
mov edi, edx
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
test edx, edx
je 0x100068e4
cmp edx, 0x104
jae 0x100068e4
mov ecx, edi
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006890
sub ecx, ebx
lea eax, [edx + 6]
add eax, ecx
cmp eax, 0x104
jb 0x100068ac
push str.program_assertion_failed___library_path_buffer_overflow
jmp 0x100068e9
push edi
lea eax, [esp + 0x10]
add eax, edx
push str._s.dll
push eax
call fcn.10006720
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.1008a4e9
add esp, 0x110
ret
push str.program_assertion_failed___could_not_get_system_directory
push str.load_system_library
push 1
push esi
call fcn.100064b0
mov ecx, dword [esp + 0x128]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a4e9
add esp, 0x110
ret