joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d6bb0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x565ff0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4d6d57
mov ecx, dword [0x6dd6f4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4d6cac
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004d58d0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00555278
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0055518b
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6964c8
call fcn.005551f9
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004d5c90
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00555278
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0055518b
lea ecx, [esp + 0xc]
call fcn.00555653
mov ecx, dword [esp + 0xc]
push 0x696f04
push ecx
call fcn.00543c14
add esp, 8
test eax, eax
je 0x4d6cd4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4d6c0d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0055518b
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0055518b
jmp 0x4d6d5b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004d6950
test eax, eax
push 0
je 0x4d6d3f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004d4ff0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4d6d25
cmp eax, 0x64
jg 0x4d6d13
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4d6cb0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4d6cb0
cmp eax, 0x64
jge 0x4d6cac
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4d6cb0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004d4ff0
mov esi, eax
jmp 0x4d6cb0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4d6d65
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4df1a0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x697854]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4df1b3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4df1f4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x6978fc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4df226
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4df22a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4df21b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4df248
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4df24c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4df23d
xor ecx, ecx
mov eax, 0x697864
xor ebx, ebx
mov bl, byte [ecx + 0x69790c]
cmp byte [esp + ebx + 0x14], 0
je 0x4df277
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x697924]
cmp byte [esp + ebx + 0x14], 0
je 0x4df28e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4df25e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4df1e7
lea edx, [esp + 0x84]
push edx
call fcn.004df2d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x501870
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00501670
pop edi
add esp, 0x104
ret 4

Function at 0x504200
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x504233
push esi
call fcn.00508ed0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x50422c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5042b9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5042a2
mov eax, dword [esi + 8]
test eax, eax
je 0x504257
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x50429e
cmp eax, 2
je 0x5042a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x50424a
cmp eax, 3
je 0x50427d
cmp eax, 1
jne 0x50424a
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 0x50424a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x50424a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005042f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5042d9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005042f0
add esp, 4
pop esi
ret

Function at 0x557596
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5575ce
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.005555e6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005555be
jmp 0x5575da
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x558c8b
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 0x558ccd
call fcn.0055f116
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x558ccd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x558cc4
xor eax, eax
jmp 0x558cd5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00558cdb
pop edi
pop esi
pop ebx
ret 4
Function at 0x55f646
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection_1]
cmp dword [esp + 0x10], 0
jne 0x55f674
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x55f692
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0055f5ac
jmp 0x55f692
mov eax, dword [esi + 0x14]
test eax, eax
je 0x55f692
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0055f5ac
test edi, edi
mov eax, edi
jne 0x55f67c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x705816a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x705816f8
cmp byte [esi + ebx - 1], 0xa
je 0x705816cc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x70587084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x70581d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x70581f28
mov edi, dword [0x70587084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x70581e37
test byte [0x70583030], 8
jne 0x70581ed0
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x70583040], 8
jne 0x70581e90
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x70581dd9
cmp esi, 3
jbe 0x70581e48
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x70581dea
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + str._QXp_QXp_QXp1QXpGCC:__GNU__9.3_win32_20200422]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x70581dd9
mov dword [esp], 0x70583040
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x70581db0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x70581db0
mov dword [esp], 0x70583030
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x70581d9b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x70581da3
mov eax, 0xffffffff
jmp 0x70581e37
Function at 0x10003710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040762
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10062070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1000c4b0
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1000c4b0
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x44], 0
call fcn.10003a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10003f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100406f7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10062070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1000c4b0
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x4c], 0
call fcn.100040f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10009180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040e50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10062070]
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 edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x1000928f
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x1000928f
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x18], al
mov dword [ebp - 4], eax
mov ecx, dword [edi]
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
cmp dword [ebp - 0x20], 0
je 0x10009254
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10009275
push str.Kernel32.dll
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10009232
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000922b
lea ecx, [ebp - 0x14]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
test eax, eax
je 0x1000926c
call fcn.10001230
mov bl, 1
cmp dword [ebp - 0x1c], 8
jb 0x10009268
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x10009291
call fcn.10001230
xor bl, bl
jmp 0x10009256
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009254
xor bl, bl
jmp 0x10009256
xor al, al
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.1003d966
mov esp, ebp
pop ebp
ret
Function at 0x10009550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 4]
test esi, esi
je 0x1000967f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0xa
push 0x104
push eax
push 0
push esi
call dword [sym.imp.MSVCR110.dll__i64tow_s]
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
add esp, 4
lea eax, [ebp - 0x230]
push eax
call fcn.10009690
cmp dword [ebp - 0x21c], 8
push 0x208
lea eax, [ebp - 0x43c]
push 0
lea esi, [ebp - 0x230]
cmovae esi, dword [ebp - 0x230]
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x43c]
push esi
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000963e
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1000963e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push dword [ebp - 0x218]
push eax
push ecx
lea ecx, [ebp - 0x440]
call fcn.1001eb60
cmp dword [ebp - 0x21c], 8
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
jb 0x1000967f
push dword [ebp - 0x230]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003d966
mov esp, ebp
pop ebp
ret
Function at 0x1000a740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
push str.Kernel32.dll
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
test edi, edi
je 0x1000a7b1
push str.Wow64DisableWow64FsRedirection
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a7ae
lea ecx, [ebp - 0x2c]
push ecx
call eax
push edi
call ebx
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x1000a7c2
mov eax, dword [esi]
jmp 0x1000a7c4
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000a810
cmp dword [esi + 0x14], 8
jb 0x1000a7d7
mov esi, dword [esi]
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1000a867
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
push str.Kernel32.dll
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000a847
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a83f
push dword [ebp - 0x2c]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call eax
mov al, bl
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.1003d966
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
sub eax, 0
je 0x1000a887
dec eax
je 0x1000a87e
dec eax
jne 0x1000a895
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
jmp 0x1000a88e
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
jmp 0x1000a88e
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
mov ebx, dword [ebp - 0x50]
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x16], eax
movzx eax, word [ebx + 6]
push eax
movzx eax, word [ebx + 2]
push eax
movzx eax, word [ebx]
push eax
push 0x10048278
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
push 0x16
push eax
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
call fcn.100030a0
add esp, 0x18
cmp word [ebp - 0x28], 0
jne 0x1000a8e5
xor ecx, ecx
jmp 0x1000a8ff
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
jmp 0x1000a8f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a8f0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push eax
call fcn.1000dd10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x1000a812
Function at 0x1000b8b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
cmp dword [edx + 0x14], 8
push edi
mov edi, dword [edx + 0x10]
jb 0x1000b8c3
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x1000b8e1
mov edi, edi
movzx eax, byte [edx + ecx]
xor esi, eax
inc ecx
imul esi, esi, 0x1000193
cmp ecx, edi
jb 0x1000b8d0
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1000fdc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100414eb
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x10062070]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x10062070]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x38
mov dword [esp + 0x14], eax
mov dword [eax], 0
lea eax, [esp + 0x30]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push eax
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x40], str.open
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], 1
call sub.MSVCR110.dll_memset
add esp, 8
mov edx, 0x104
push ebx
push ecx
lea ecx, [esp + 0x70]
call fcn.10003110
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x64]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1000fea1
xor al, al
jmp 0x1000ff55
mov eax, dword [esp + 0x60]
push esi
push 1
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x4c], esp
mov dword [esp + 0x48], eax
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x50], 0x1000ff80
mov dword [esp + 0x54], 0
movq xmm0, qword [esp + 0x50]
movq qword [eax], xmm0
mov dword [esp + 0x58], esi
movq xmm0, qword [esp + 0x58]
movq qword [eax + 8], xmm0
call fcn.10010b10
mov dword [esp + 0x2a8], 0
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
mov ecx, eax
mov dword [esp + 0x2a8], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COUIManager::AddUIHandler_class_boost::function_void____cdecl___void____bool__void__]
push 0xffffffffffffffff
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1000ff53
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0xdc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [esi + 0xf4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0x14