joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005d900
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1005d933
push esi
call fcn.1006bca0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005d92c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1005d9b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1005d9a2
mov eax, dword [esi + 8]
test eax, eax
je 0x1005d957
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005d99e
cmp eax, 2
je 0x1005d9a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005d94a
cmp eax, 3
je 0x1005d97d
cmp eax, 1
jne 0x1005d94a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1005d94a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005d94a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1005d9e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1005d9c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1005d9e0
add esp, 4
pop esi
ret

Function at 0x1005e250
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1005e271
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1005e271
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1005e271
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1005e6c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1005e6cb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1005e7ce
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100c5c08]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c5c08]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c5c08]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c5c08]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c5c08]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c5c08]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c5c08]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100c5c08]
xor eax, edx
inc ecx
dec edi
jne 0x1005e6e6
pop edi
test esi, esi
je 0x1005e7f0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100c5c08]
xor eax, edx
inc ecx
dec esi
jne 0x1005e7d2
pop esi
pop ebx
not eax
ret
Function at 0x1007cfe0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x101cc07c]
xor edx, edx
cmp eax, edx
jne 0x1007d006
xor eax, eax
mov byte [eax + 0x101cbf7c], al
inc eax
cmp eax, 0x100
jl 0x1007cfee
mov dword [0x101cc07c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x101cbf7c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1007d097
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1007d06a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1007d038
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1007d110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1007d163
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1007d14a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10083b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bc5ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10084420
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x100c87d4
call fcn.100adb26
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x10083b93
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100adb26
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x10083b8c
push 0
mov ecx, eax
call fcn.1007ac20
mov dword [esi + 0xc], eax
jmp 0x10083b95
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x10083b95
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x100b0189
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100b01c1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100ae240
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100ae218
jmp 0x100b01cd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100b187b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100b18bd
call fcn.100b744d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100b18bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100b18b4
xor eax, eax
jmp 0x100b18c5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100b18cb
pop edi
pop esi
pop ebx
ret 4
Function at 0x401040
Capabilities:
Create thread
Get common file path
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push ecx
push 0
push 0x1fffff
mov ebx, edx
mov dword [ebp - 0x110], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x401094
push str.error___function_OpenProcess__returns_with_error_n
call fcn.00401010
add esp, 4
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401627
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x4010d2
push str.error___function_GetCurrentDirectory__returns_with_error_n
call fcn.00401010
add esp, 4
jmp 0x4011fc
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea eax, [ebp - 0x108]
push 0x403214
push 0x104
push eax
call esi
push ebx
lea eax, [ebp - 0x108]
push 0x104
push eax
call esi
lea ecx, [ebp - 0x108]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401107
sub ecx, edx
push 4
push 0x3000
lea eax, [ecx + 1]
push eax
push 0
push edi
mov dword [ebp - 0x10c], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x401142
push str.error___function_VirtualAllocEx__returns_with_error_n
call fcn.00401010
add esp, 4
jmp 0x4011fb
push 0
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40116c
push str.error___function_WriteProcessMemory__returns_with_error_n
call fcn.00401010
add esp, 4
jmp 0x4011e8
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x40118c
push str.error___function_LoadLibrary__returns_with_error_n
call fcn.00401010
add esp, 4
jmp 0x4011e8
push 0x4032d0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push ebx
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x4011c2
push str.error___function_CreateRemoteThread__returns_with_error_n
call fcn.00401010
add esp, 4
jmp 0x4011e1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x114]
mov dword [ebp - 0x110], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push GetCurrentProcessId
push dword [ebp - 0x10c]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110]
xor ecx, ebp
pop edi
pop ebx
call fcn.00401627
mov esp, ebp
pop ebp
ret
Function at 0x10012642
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0x96
ja case.0x1001265b.3
movzx eax, byte [eax + 0x10012a72]
jmp dword [eax*4 + 0x100128d6]
xor eax, eax
inc eax
jmp 0x100128cf
push 2
pop eax
jmp 0x100128cf
push 3
jmp 0x1001266c
push 4
jmp 0x1001266c
push 5
jmp 0x1001266c
push 6
jmp 0x1001266c
push 7
jmp 0x1001266c
push 8
jmp 0x1001266c
push 9
jmp 0x1001266c
push 0xb
jmp 0x1001266c
push 0xc
jmp 0x1001266c
push 0xd
jmp 0x1001266c
push 0xe
jmp 0x1001266c
push 0xf
jmp 0x1001266c
push 0x10
jmp 0x1001266c
push 0x11
jmp 0x1001266c
push 0x12
jmp 0x1001266c
push 0x13
jmp 0x1001266c
push 0x14
jmp 0x1001266c
push 0x15
jmp 0x1001266c
push 0x16
jmp 0x1001266c
push 0x17
jmp 0x1001266c
push 0x18
jmp 0x1001266c
push 0x19
jmp 0x1001266c
push 0x1a
jmp 0x1001266c
push 0x1b
jmp 0x1001266c
push 0x1c
jmp 0x1001266c
push 0x1d
jmp 0x1001266c
push 0x1e
jmp 0x1001266c
push 0x1f
jmp 0x1001266c
push 0x20
jmp 0x1001266c
push 0x21
jmp 0x1001266c
push 0x22
jmp 0x1001266c
push 0x23
jmp 0x1001266c
push 0x24
jmp 0x1001266c
push 0x25
jmp 0x1001266c
push 0x26
jmp 0x1001266c
push 0x27
jmp 0x1001266c
push 0x28
jmp 0x1001266c
push 0x29
jmp 0x1001266c
push 0x2a
jmp 0x1001266c
push 0x2b
jmp 0x1001266c
push 0x2c
jmp 0x1001266c
push 0x2d
jmp 0x1001266c
push 0x2e
jmp 0x1001266c
push 0x2f
jmp 0x1001266c
push 0x30
jmp 0x1001266c
push 0x31
jmp 0x1001266c
push 0x32
jmp 0x1001266c
push 0x33
jmp 0x1001266c
push 0x34
jmp 0x1001266c
push 0x35
jmp 0x1001266c
push 0x36
jmp 0x1001266c
push 0x37
jmp 0x1001266c
push 0x38
jmp 0x1001266c
push 0x39
jmp 0x1001266c
push 0x3a
jmp 0x1001266c
push 0x3b
jmp 0x1001266c
push 0x3c
jmp 0x1001266c
push 0x3d
jmp 0x1001266c
push 0x3e
jmp 0x1001266c
push 0x3f
jmp 0x1001266c
push 0x40
jmp 0x1001266c
push 0x41
jmp 0x1001266c
push 0x43
jmp 0x1001266c
push 0x44
jmp 0x1001266c
push 0x45
jmp 0x1001266c
push 0x46
jmp 0x1001266c
push 0x47
jmp 0x1001266c
push 0x48
jmp 0x1001266c
push 0x49
jmp 0x1001266c
push 0x4a
jmp 0x1001266c
push 0x4b
jmp 0x1001266c
push 0x4c
jmp 0x1001266c
push 0x4d
jmp 0x1001266c
push 0x4e
jmp 0x1001266c
push 0x4f
jmp 0x1001266c
push 0x50
jmp 0x1001266c
push 0x51
jmp 0x1001266c
push 0x52
jmp 0x1001266c
push 0x53
jmp 0x1001266c
push 0x54
jmp 0x1001266c
push 0x55
jmp 0x1001266c
push 0x56
jmp 0x1001266c
push 0x59
jmp 0x1001266c
push 0x5a
jmp 0x1001266c
push 0x5b
jmp 0x1001266c
push 0x5c
jmp 0x1001266c
push 0x5d
jmp 0x1001266c
push 0x57
jmp 0x1001266c
push 0xa
jmp 0x1001266c
push 0x58
jmp 0x1001266c
push 0x67
jmp 0x1001266c
push 0x6b
jmp 0x1001266c
push 0x73
jmp 0x1001266c
push 0x5e
jmp 0x1001266c
push 0x5f
jmp 0x1001266c
push 0x60
jmp 0x1001266c
push 0x61
jmp 0x1001266c
push 0x62
jmp 0x1001266c
push 0x63
jmp 0x1001266c
xor eax, eax
pop ebp
ret 4
Function at 0x10027e20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1005c824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [0x1005e114]
push dword [0x1005ec50]
push 0x1005ec80
push str.C:_vm3dum_log_vm3dum_s__d__d.log
push 0x80
push 0x1005eca0
call fcn.100281a0
push 0x20
push 0x1004fdcc
push 0x1005eca0
call fcn.10031b16
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x10027f05
push edi
lea eax, [ebp - 0x144]
push eax
push str.C:_vm3dum_log_vm3dum.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10027ef1
push esi
lea eax, [ebp - 0x144]
mov esi, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10027ecb
nop dword [eax]
inc esi
cmp esi, 0x200
ja 0x10027ecb
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10027eb0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x200
pop esi
ja 0x10027ef1
pop edi
mov dword [0x1005e110], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002b593
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10031667
push 0x1005eca0
call fcn.10031ca7
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1002b593
mov esp, ebp
pop ebp
ret

Function at 0x10028720
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
push 0
push 1
push dword [edi]
call fcn.100286e0
cmp byte [0x1005ebc1], 0
je 0x10028799
mov ecx, dword [edi]
push ebx
rdtsc
push esi
mov ebx, eax
mov dword [ebp - 4], edx
mov esi, ebx
sub esi, dword [edi + 0x10]
sbb edx, dword [edi + 0x14]
add ecx, 8
push edx
push esi
push ecx
call fcn.100286e0
mov esi, dword [ebp - 4]
mov ecx, ebx
sub ecx, dword [edi + 8]
mov eax, esi
sbb eax, dword [edi + 0xc]
push eax
mov eax, dword [edi]
push ecx
add eax, 0x10
push eax
call fcn.100286e0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1002878a
sub ebx, dword [edi + 8]
sbb esi, dword [edi + 0xc]
add dword [eax + 0x10], ebx
adc dword [eax + 0x14], esi
mov eax, dword [edi + 0x18]
push eax
push dword [0x1005ebc4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x100287a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x1005ebc1], 0
je 0x100287e9
push esi
push 0
push 1
push 0x100628d8
call fcn.100286e0
mov esi, dword [ebp + 8]
rdtsc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
push dword [0x1005ebc4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov dword [esi + 0x18], eax
push dword [0x1005ebc4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret 4
Function at 0x10028980
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x1005ebc0], 0
jne 0x100289f4
mov word [0x1005ebc0], 0x101
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push dword [ebp + 8]
mov dword [0x1005ebc4], eax
push 0x1004ce54
push 0xffffffffffffffff
push 0x40
push 0x1005ebc8
call fcn.10028130
mov eax, dword [0x1005ebc4]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x100289d9
push str.Unable_allocate_TLS_for_MKSGuestStats.__Timing_will_be_unavailable._n
call fcn.10027bb0
add esp, 4
mov byte [0x1005ebc1], 0
jmp 0x100289e2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [ebp + 8]
push str.MKSGuestStats_enabled_for__s._n
push 8
call fcn.100280e0
add esp, 0xc
pop ebp
ret 4
Function at 0x100290f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1005c824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push esi
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x220], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x100292a5
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10029297
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x10029297
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10029272
push edi
call fcn.1003071d
mov esi, eax
add esp, 4
test esi, esi
je 0x10029296
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10029235
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
push 0x10050250
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10029259
mov eax, dword [ebp - 0x214]
push 3
mov edi, dword [eax + 8]
mov ecx, edi
mov ebx, dword [eax + 0xc]
xor eax, eax
or eax, ebx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], eax
call fcn.100280d0
test al, al
je 0x10029259
movzx eax, bx
push eax
shr ebx, 0x10
push ebx
movzx eax, di
push eax
shr edi, 0x10
push edi
push str.Version:__hu___hu___hu___hu_n
call fcn.10027bb0
add esp, 0x14
push esi
call fcn.10030702
add esp, 4
pop ebx
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100292ca
push 3
call fcn.100280d0
test al, al
je 0x10029259
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMFileUtil_GetModuleVersion
push str._s:_GetFileVersionInfo_failed_with_error_code:__u_n
call fcn.10027bb0
add esp, 0xc
push esi
call fcn.10030702
add esp, 4
pop ebx
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100292ca
push 3
call fcn.100280d0
test al, al
je 0x10029296
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMFileUtil_GetModuleVersion
push str._s:_GetFileVersionInfoSize_failed_with_error_code:__u_n
call fcn.10027bb0
add esp, 0xc
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100292ca
push 3
call fcn.100280d0
test al, al
je 0x100292ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.UMFileUtil_GetModuleVersion
push str._s:_GetModuleHandleEx_error_for_module__ls:__u_n
call fcn.10027bb0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x21c]
xor ecx, ebp
mov eax, dword [ebp - 0x220]
pop esi
call fcn.1002b593
mov esp, ebp
pop ebp
ret 4
Function at 0x10029760
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1005c824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push edi
mov edi, dword [ebp + 8]
movq qword [ebp - 0x10], xmm0
call fcn.10029a00
mov esi, eax
cmp esi, 0xffffffff
jne 0x100297a4
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002b593
mov esp, ebp
pop ebp
ret 4
push ebx
mov dword [ebp - 0x18], 0x10029870
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
push 0x1a05
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov bl, al
test bl, bl
jne 0x100297fc
push str.WDDMCoreDump:_MiniDumpWriteDump___failed._n
call fcn.10028110
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.1002b593
mov esp, ebp
pop ebp
ret 4
Function at 0x404550
Capabilities:
Set thread local storage value

Disassembly:
push 0x254
call fcn.00402d00
test eax, eax
pop ecx
jne 0x404562
xor eax, eax
ret
mov dword [eax], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 0x4146d4
mov dword [eax + 0xc], 0x4146d4
mov ecx, dword [esp + 4]
push eax
mov dword [eax + 0x10], ecx
mov eax, dword [0x4146d0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
ret

Function at 0x406060
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 8
mov dword [ebp - 0x10], 1
push 4
mov dword [0x422dcc], 0
call fcn.00402d00
test eax, eax
pop ecx
mov dword [0x422dc8], eax
jne 0x406098
call fcn.00406040
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
xor eax, eax
mov ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
push eax
call fcn.00402d00
mov edi, eax
pop ecx
test edi, edi
mov dword [0x414f70], eax
jne 0x4060d3
call fcn.00406040
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
inc esi
movsx eax, byte [esi]
push eax
push str.__t_r_n_v
call fcn.004023c0
test eax, eax
pop ecx
pop ecx
jne 0x4060d2
jmp 0x4061a0
mov eax, dword [0x422dcc]
inc eax
cmp eax, dword [ebp - 0x10]
jl 0x406120
add dword [ebp - 0x10], 0x10
mov eax, dword [0x422dc8]
mov edx, dword [ebp - 0x10]
shl edx, 2
push edx
push eax
call fcn.00402db0
test eax, eax
pop ecx
pop ecx
je 0x4061a9
mov dword [0x422dc8], eax
mov eax, dword [0x422dc8]
mov ecx, dword [0x422dcc]
mov dword [eax + ecx*4], edi
inc dword [0x422dcc]
xor ebx, ebx
jmp 0x40619a
test ebx, ebx
jne 0x406171
movsx eax, al
push eax
push str.__t_r_n_v
call fcn.004023c0
test eax, eax
pop ecx
pop ecx
je 0x406171
inc esi
mov bl, byte [esi]
test bl, bl
je 0x40616b
movsx eax, bl
push eax
push str.__t_r_n_v
call fcn.004023c0
test eax, eax
pop ecx
pop ecx
jne 0x406150
mov byte [edi], 0
inc edi
jmp 0x4061a0
mov al, byte [esi]
cmp al, 0x22
jne 0x406183
xor eax, eax
inc esi
test ebx, ebx
jne 0x40617f
inc eax
mov ebx, eax
jmp 0x40619a
cmp al, 0x5c
jne 0x406196
cmp byte [esi + 1], 0x22
jne 0x406196
mov byte [edi], 0x22
inc edi
add esi, 2
jmp 0x40619a
inc esi
mov byte [edi], al
inc edi
mov al, byte [esi]
test al, al
jne 0x406138
cmp byte [esi], 0
jne 0x4060f0
mov byte [edi], 0
mov edx, dword [0x422dcc]
mov eax, dword [0x422dc8]
mov dword [eax + edx*4], 0
push 0x406000
call fcn.00405ee0
pop ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret