joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001430
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.101b5a00
mov eax, dword [0x10285124]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x10001495
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10001495
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.100a5710
add eax, 0x40
push eax
call fcn.101b5a2d
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.101b451c
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.101b5a8f
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10001524
call fcn.100012f0
test eax, eax
jle 0x10001524
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.101b451c
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.101b451c
add esp, 0x108
ret

Function at 0x10001580
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x100015a4
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
sub edi, 1
jne 0x10001596
pop esi
movzx eax, cl
pop edi
ret
Function at 0x10030e30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.101b5a00
mov eax, dword [0x10285124]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x10030e7f
mov eax, 1
mov dword [esi], ebp
jmp 0x10030e81
mov ebp, dword [esi]
test ecx, ecx
je 0x10030f64
push ebp
call fcn.1003adb0
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x10030eb0
push str.j____int_sizeof_ctx__key_
push 0x68
push str..cryptohmachmac.c
call fcn.10001550
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x10030f07
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.1000dd40
add esp, 0xc
test eax, eax
je 0x10031006
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.1000def0
add esp, 0xc
test eax, eax
je 0x10031006
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1000df00
add esp, 0xc
test eax, eax
je 0x10031006
jmp 0x10030f41
cmp edi, 0x80
jbe 0x10030f23
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str..cryptohmachmac.c
call fcn.10001550
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.101b73e0
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x10030f6c
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.101b7960
add esp, 0xc
jmp 0x10030f6c
test eax, eax
je 0x10030ff2
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x10030f70
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.1000dd40
add esp, 0xc
test eax, eax
je 0x10031006
push ebp
call fcn.1003adb0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.1000def0
add esp, 0x10
test eax, eax
je 0x10031006
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x10030fb4
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.1000dd40
add esp, 0xc
test eax, eax
je 0x10031006
push ebp
call fcn.1003adb0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.1000def0
add esp, 0x10
test eax, eax
je 0x10031006
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.1000e090
add esp, 8
test eax, eax
jne 0x1003100a
xor eax, eax
jmp 0x1003100f
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b451c
add esp, 0x8c
ret
Function at 0x100583e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x100583f9
mov esi, edi
mov edi, eax
jmp 0x100583fb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x1005840b
mov eax, ebx
jmp 0x10058415
push eax
push ebx
call fcn.10011b80
add esp, 8
test eax, eax
jne 0x1005841d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x10058439
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x10058424
cmp eax, dword [esi + 4]
jge 0x10058450
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x10058440
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x10058471
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x1005846e
dec eax
test eax, eax
jg 0x10058460
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x100980c7
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.101b5a00
mov eax, dword [0x10285124]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
jbe 0x10098234
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
shl eax, 8
or ebx, eax
inc esi
movzx eax, byte [esi + 1]
inc esi
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 1]
shl edx, 0x18
inc esi
or ebx, edx
movzx edx, byte [esi + 1]
inc esi
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
inc esi
mov byte [edi], dl
mov byte [ebp], al
call fcn.10094240
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.100942c0
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.100928c0
push ebp
call fcn.10094240
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.100942c0
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.100928c0
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
inc eax
shr edx, 8
add esp, 0x30
mov byte [eax], dl
inc eax
inc eax
mov edx, ebx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
inc eax
shr ebx, 0x18
mov byte [eax - 1], bl
mov byte [eax], dl
mov ebx, edx
inc eax
inc eax
shr ebx, 8
mov byte [eax - 1], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax], bl
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov eax, ebp
mov byte [eax], cl
mov byte [eax + 1], dl
inc eax
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
shr ecx, 0x18
sub dword [esp + 0x18], 1
mov byte [eax], dl
mov byte [eax + 1], cl
jne 0x100980e3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.101b451c
add esp, 0xa0
ret
Function at 0x100a62f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x18], eax
mov edi, 0x20019
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100a6342
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
mov eax, 0x20119
cmovne edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0
push str.Softwaregoodoc_v30
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a63a3
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a639a
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101b451c
mov esp, ebp
pop ebp
ret

Function at 0x100a63c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push str.IsWow64Process
mov dword [ebp - 0x1c], eax
mov esi, 0x20019
mov eax, dword [ebp + 0x10]
push str.kernel32
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x100a641e
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0xc], 0
mov eax, 0x20119
cmovne esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a6499
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101b4b20
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a6487
push dword [ebp - 8]
push esi
push ebx
call fcn.101b73e0
add esp, 0xc
push esi
call fcn.101b4b1b
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101b451c
mov esp, ebp
pop ebp
ret
Function at 0x100a64b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100a64f6
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
mov ecx, 0x20106
mov eax, 0x20006
cmovne eax, ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push 0
push 0
push 0
push str.Softwaregoodoc_v30
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100a6549
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101b451c
mov esp, ebp
pop ebp
ret

Function at 0x100a6560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100a65aa
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
mov ecx, 0x20106
mov eax, 0x20006
cmovne eax, ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push 0
push 0
push 0
push str.Softwaregoodoc_v30
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100a6614
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a65e5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101b451c
mov esp, ebp
pop ebp
ret
Function at 0x100a68a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x100a6949
lea eax, [ebp - 0x20a]
mov ecx, 2
lea edx, [ebp - 0x20c]
sub eax, esi
sub edx, esi
mov dword [ebp - 0x210], eax
sub ecx, esi
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], ecx
movzx eax, word [esi]
mov word [edx + esi], ax
cmp eax, 0x5c
je 0x100a6907
cmp eax, 0x2f
jne 0x100a6939
lea eax, [ecx + esi]
cmp eax, 0x208
jae 0x100a696f
mov eax, dword [ebp - 0x210]
xor ecx, ecx
push ecx
mov word [eax + esi], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov edx, dword [ebp - 0x218]
inc ebx
add esi, 2
cmp ebx, dword [ebp - 0x21c]
jb 0x100a68f6
test edi, edi
jne 0x100a695c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov ecx, 1
cmove edi, ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101b451c
mov esp, ebp
pop ebp
ret
call fcn.101b4c4c
int3
Function at 0x100a8370
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 8], 0x103
jne 0x100a83b7
push 0x103
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], 0
xor ecx, ebp
mov dword [esi + 0x10], 0
pop esi
call fcn.101b451c
mov esp, ebp
pop ebp
ret

Function at 0x100a83e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x100a8414
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x100a8420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x100a8414
mov dword [esi + 0x10], 2
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100aabd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2a03
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x10285124]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x840], 0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x10244f88
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.100a7e70
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
push 0
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x100aacbe
push 0x10244f88
mov ecx, ebx
call fcn.100a7530
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x100aac8e
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.100a5620
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp ecx, 8
jb 0x100aae24
inc ecx
push ecx
jmp 0x100aae19
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101b4b20
mov esi, eax
add esp, 4
mov dword [ebp - 0x83c], esi
test esi, esi
je 0x100aadb3
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
push esi
cmovae ecx, dword [ebp + 0xc]
push edi
push 0
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100aadaa
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x830], 0
push eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x82c], 0
push eax
push 0x10245f44
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100aadaa
mov eax, dword [ebp - 0x830]
push 0x800
push 0
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx esi, word [eax + 0xc]
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x834], ecx
call fcn.101b7960
mov eax, dword [ebp - 0x834]
push esi
push edi
push ebx
movzx eax, ax
push eax
push 0x10245f48
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.100ab350
add esp, 0x28
lea eax, [ebp - 0x810]
lea ecx, [ebp - 0x828]
push eax
call fcn.100a7f70
mov ebx, dword [ebp - 0x838]
mov esi, dword [ebp - 0x83c]
push esi
call fcn.101b4b1b
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x828]
push eax
call fcn.100a7dd0
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x100aadf2
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x818], 0
cmp eax, 8
jb 0x100aae24
inc eax
push eax
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.100a5620
mov eax, ebx
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.101b451c
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100ac2a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x1f4
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 8], 0x103
jne 0x100ac2f9
push 0x103
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], 0
xor ecx, ebp
mov dword [esi + 0x10], 0
pop esi
call fcn.101b451c
mov esp, ebp
pop ebp
ret
Function at 0x100af980
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e357b
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.101b5a00
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x100afacc
sub eax, 1
jne 0x100afad7
push 0x400
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.101b7960
push 0x400
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.101b7960
add esp, 0x18
lea eax, [ebp - 0x810]
push 0x800
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x100afac4
lea eax, [ebp - 0x810]
push 0x5c
push eax
call fcn.101b6d84
add esp, 8
test eax, eax
je 0x100afa25
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1010]
push 0x3ff
push eax
call fcn.101c4f33
add esp, 0xc
lea eax, [ebp - 0x1010]
lea ecx, [ebp - 0x102c]
push eax
call fcn.100a7530
mov dword [ebp - 4], 0
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100afa85
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x1014], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100a8450
mov dword [0x102a7fc8], eax
lea ecx, [eax + 0x128]
mov dword [ebp - 4], 2
lea eax, [ebp - 0x102c]
cmp ecx, eax
je 0x100afaa6
push 0xffffffffffffffff
push 0
push eax
call fcn.100a5420
mov eax, dword [ebp - 0x1018]
cmp eax, 8
jb 0x100afac4
inc eax
lea ecx, [ebp - 0x102c]
push eax
push dword [ebp - 0x102c]
call fcn.100a5620
mov dword [0x102a7448], esi
jmp 0x100afad7
push str.detach
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100bbc30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2ed6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.101b4ab7
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1019cc0f
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100bde50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e554a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.1019d17e
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x100bdf10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.101b6f17
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x10282354
push eax
call fcn.101b6f99
push edi
push esi
call fcn.1019cd12
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret 4