joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1044781
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x10602d3
call fcn.0104f320
mov ebx, dword [ebp + 0x14]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
cmp ebx, edi
jne 0x10447c4
push 0x10119a4
mov esi, 0x80070057
push 0x1011988
push esi
call fcn.0104a504
add esp, 0xc
jmp 0x10448af
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x1044811
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1044817
mov esi, eax
jle 0x10447f6
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0xc]
push 0x10112d8
push 0x101196c
push eax
call fcn.0104a6e8
add esp, 0x10
jmp 0x10448af
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x18], 8
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x104485a
mov esi, eax
jle 0x104484b
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0x10]
push 0x1011270
push 0x1011950
jmp 0x1044803
cmp dword [ebp - 0x1c], 0xb
je 0x10448a4
push 0x1011908
mov esi, 0x8007000d
push 0x10118e8
jmp 0x10447b6
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
cmp dword [ebp + 0xc], edi
je 0x10448c2
cmp dword [ebp - 0x14], edi
je 0x10448c2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0104f3d4
ret 0x10
Function at 0x10448d1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x10602f3
call fcn.0104f320
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x104493a
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x1044940
mov esi, eax
jle 0x104491f
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0xc]
push 0x10112d8
push 0x1011a74
push eax
call fcn.0104a6e8
add esp, 0x10
jmp 0x10449d9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 4
pop edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x1044982
mov esi, eax
jle 0x1044973
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0x10]
push 0x1011270
push 0x1011a58
jmp 0x104492c
cmp dword [ebp - 0x1c], edi
je 0x10449d1
push 0x1011a10
mov esi, 0x8007000d
push 0x10119f0
push esi
call fcn.0104a504
add esp, 0xc
jmp 0x10449d9
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
cmp dword [ebp + 0xc], ebx
je 0x10449ec
cmp dword [ebp - 0x14], ebx
je 0x10449ec
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0104f3d4
ret 0x10

Function at 0x10449fb
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x1060313
call fcn.0104f320
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x1044a5b
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push 2
push dword [ebp + 0x18]
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x1044a61
mov esi, eax
jle 0x1044a43
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0xc]
push 0x1011b1c
push 0x1011b04
push eax
call fcn.0104a6e8
add esp, 0x10
jmp 0x1044ac7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x1044ac7
mov esi, eax
jle 0x1044a8a
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0x10]
push 0x1011ac0
push 0x1011aa8
jmp 0x1044a50
cmp dword [ebp + 0xc], edi
je 0x1044ada
cmp dword [ebp - 0x14], edi
je 0x1044ada
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0104f3d4
ret 0x14
Function at 0x1044ae9
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x1060333
call fcn.0104f320
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x1044b47
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x1044b4d
mov esi, eax
jle 0x1044b2f
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0xc]
push 0x1011b1c
push 0x1011b88
push eax
call fcn.0104a6e8
add esp, 0x10
jmp 0x1044bbe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x1044bbe
mov esi, eax
jle 0x1044b81
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0x10]
push 0x1011ac0
push 0x1011b6c
jmp 0x1044b3c
cmp dword [ebp + 0xc], edi
je 0x1044bd1
cmp dword [ebp - 0x14], edi
je 0x1044bd1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0104f3d4
ret 0x10

Function at 0x1044be0
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x1060353
call fcn.0104f320
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x1044c38
lea eax, [ebp - 0x14]
push eax
push 2
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x1044c3e
mov esi, eax
jle 0x1044c20
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0xc]
push 0x1011c38
push 0x1011c20
push eax
call fcn.0104a6e8
add esp, 0x10
jmp 0x1044c99
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x1044c99
mov esi, eax
jle 0x1044c5e
and esi, 0xffff
or esi, 0x80070000
push dword [ebp + 0x10]
push 0x1011bd8
push 0x1011bbc
jmp 0x1044c2d
cmp dword [ebp + 0xc], 0
je 0x1044cae
cmp dword [ebp - 0x14], 0
je 0x1044cae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0104f3d4
ret 0xc
Function at 0x1044cbd
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x1060373
call fcn.0104f320
push 4
pop edi
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push 0x28
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x1044d10
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push 0x1011d60
push 0x1011d4c
call edi
push eax
call fcn.0104a5f6
add esp, 0xc
jmp 0x1044de9
lea eax, [ebp - 0x28]
push eax
push 0x1011d24
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x1044d5b
call ebx
push 0x1011ce0
push 0x1011cc8
call ebx
jmp 0x1044d02
cmp dword [ebp + 8], esi
je 0x1044d63
push 7
pop edi
cmp dword [ebp + 0xc], esi
jne 0x1044d6d
or edi, 0x20
jmp 0x1044d73
or edi, 0x80
mov ebx, dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
push 0x80020010
push edi
push dword [ebp + 0xc]
push esi
push esi
call ebx
cmp eax, esi
je 0x1044da0
push 0x80020010
and edi, 0xffffffdf
or edi, 3
push edi
push 0x78
push esi
push esi
call ebx
cmp eax, esi
jne 0x1044dab
mov dword [ebp - 0x18], 1
cmp eax, esi
je 0x1044de9
push 0x1011c90
push 0x1011c7c
push eax
call fcn.0104a6e8
jmp 0x1044d08
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x14], esi
je 0x1044e16
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp dword [ebp - 0x14], esi
je 0x1044e16
cmp dword [ebp - 0x14], 0xffffffff
je 0x1044e16
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
call fcn.0104f3d4
ret 8
Function at 0x10452b9
Capabilities:
Get file version info

Disassembly:
push 0x1c
mov eax, 0x106039b
call fcn.0104f320
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov byte [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x1045333
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, ebx
jle 0x1045308
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x1045316
mov dword [ebp - 0x14], 0x80004005
push dword [esi]
push 0x1011f10
push 0x1011efc
call edi
push eax
call fcn.0104a5f6
add esp, 0x10
push ebx
jmp 0x104544b
push edi
lea ecx, [ebp - 0x18]
call fcn.01042fff
cmp dword [ebp - 0x18], ebx
jne 0x104535e
push 0x10110a0
mov eax, 0x8007000e
push 0x1011eec
push eax
mov dword [ebp - 0x14], eax
call fcn.0104a504
add esp, 0xc
jmp 0x104532d
push dword [ebp - 0x18]
mov eax, dword [esi]
push edi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, ebx
jne 0x10453af
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, ebx
jle 0x1045385
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x1045393
mov dword [ebp - 0x14], 0x80004005
push dword [esi]
push 0x1011e90
push 0x1011e80
call edi
push eax
call fcn.0104a5f6
add esp, 0x10
jmp 0x1045448
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1001530
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
jne 0x1045427
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, ebx
jle 0x10453de
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x10453ec
mov dword [ebp - 0x14], 0x80004005
push dword [esi]
push 0x1011e90
push 0x1011e70
jmp 0x104539f
mov eax, dword [ebp - 0x1c]
movzx edx, word [eax + 0xa]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
movzx edx, word [eax + 8]
mov dword [ecx + 4], edx
movzx edx, word [eax + 0xe]
mov dword [ecx + 8], edx
movzx eax, word [eax + 0xc]
mov dword [ecx + 0xc], eax
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
call fcn.0104f3d4
ret 8
Function at 0x1046775
Capabilities:
Get common file path

Disassembly:
push 0x10
mov eax, 0x1060581
call fcn.0104f320
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push ebx
push ebx
mov byte [ebp - 4], 1
call esi
cmp eax, ebx
jne 0x10467ec
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, ebx
jle 0x10467b4
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x10467c2
mov dword [ebp - 0x14], 0x80004005
push 0x10048f0
push 0x10124b4
call esi
push eax
call fcn.0104a5f6
add esp, 0xc
push ebx
mov byte [ebp - 4], bl
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
call fcn.0104f3d4
ret 4
lea edi, [eax + 1]
push edi
lea ecx, [ebp - 0x18]
call fcn.01033f0f
movzx eax, al
cmp eax, ebx
jne 0x104681f
push 0x10048b8
mov eax, 0x8007000e
push 0x101249c
push eax
mov dword [ebp - 0x14], eax
call fcn.0104a504
add esp, 0xc
push dword [ebp - 0x18]
jmp 0x10467d8
push edi
mov edi, dword [ebp - 0x18]
push edi
call esi
cmp eax, ebx
jne 0x1046869
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, ebx
jle 0x1046840
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x104684e
mov dword [ebp - 0x14], 0x80004005
push 0x1004868
push 0x1012484
call esi
push eax
call fcn.0104a5f6
add esp, 0xc
push edi
jmp 0x10467d8
mov ecx, dword [ebp + 8]
push edi
call fcn.01031649
jmp 0x1046863
Function at 0x1046dec
Capabilities:
Create process on windows
Manipulate boot configuration

Disassembly:
push 0xb0
mov eax, 0x10606b2
call fcn.0104f396
xor ebx, ebx
mov esi, 0x1068adc
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], ebx
call fcn.010309e3
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.010309e3
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x60], ebx
push 0xe
pop ecx
push 0x44
mov esi, 0x10127d0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea eax, [ebp - 0xbc]
push ebx
push eax
mov byte [ebp - 4], 4
call sub.msvcrt.dll_memset
xor eax, eax
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], 0x100
call fcn.01046775
cmp eax, ebx
mov dword [ebp - 0x50], eax
jge 0x1046ea7
push 0x1002fb0
push 0x10127bc
push eax
call fcn.0104a504
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.010303ce
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.010303ce
mov eax, dword [ebp - 0x50]
call fcn.0104f401
ret
push dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push 0x100ce30
push eax
call fcn.0103152e
mov edi, dword [ebp - 0x5c]
add esp, 0xc
push edi
push 0x1002678
push 0x1012768
push 0x4000000
call fcn.0104a7da
add esp, 0x10
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xbc]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x1046f3c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, ebx
jle 0x1046f10
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x50], eax
jl 0x1046f1e
mov dword [ebp - 0x50], 0x80004005
push edi
push 0x10126b8
push 0x10126a0
call esi
push eax
call fcn.0104a5f6
add esp, 0x10
lea ecx, [edi - 0x10]
jmp 0x1046e8e
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x70]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, ebx
jne 0x1046fbd
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, ebx
jle 0x1046f78
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x50], eax
jl 0x1046f86
mov dword [ebp - 0x50], 0x80004005
push 0x1002ae8
push 0x101268c
call esi
push eax
call fcn.0104a5f6
add esp, 0xc
cmp edi, ebx
je 0x1046fa7
lea ecx, [ebp - 0x60]
call fcn.010303b2
cmp dword [ebp - 0x58], ebx
je 0x1046e88
lea ecx, [ebp - 0x58]
call fcn.010303b2
jmp 0x1046e88
cmp dword [ebp - 0x64], ebx
je 0x1046f9b
push dword [ebp - 0x64]
mov eax, 0x80004005
push 0x100cd20
push 0x1012678
push eax
mov dword [ebp - 0x50], eax
call fcn.0104a504
add esp, 0x10
jmp 0x1046f9b
Function at 0x104a504
Capabilities:
Print debug messages

Disassembly:
push 0x14
mov eax, 0x1060a58
call fcn.0104f320
and dword [ebp - 4], 0
push 0x1002678
lea ecx, [ebp - 0x14]
call fcn.0104a4be
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.01031665
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.01047967
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.010303ce
cmp dword [ebp + 0xc], 0
je 0x104a567
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x101540c
push eax
call fcn.0104a46b
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.01048c7f
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x1015400
push eax
call fcn.0104a46b
add esp, 0xc
push dword [ebp - 0x14]
push 0x2000000
call fcn.01050010
pop ecx
pop ecx
push 0xa
lea ecx, [ebp - 0x14]
call fcn.0104a3a1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.010303ce
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.010303ce
call fcn.0104f3d4
ret

Function at 0x104a5f6
Capabilities:
Print debug messages

Disassembly:
push 0x14
mov eax, 0x1060a90
call fcn.0104f320
and dword [ebp - 4], 0
push 0x1002678
lea ecx, [ebp - 0x14]
call fcn.0104a4be
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.01031665
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.01047967
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.010303ce
cmp dword [ebp + 0xc], 0
je 0x104a659
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x101540c
push eax
call fcn.0104a46b
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.01048c7f
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x1015424
push eax
call fcn.0104a46b
add esp, 0xc
push dword [ebp - 0x14]
push 0x2000000
call fcn.01050010
pop ecx
pop ecx
push 0xa
lea ecx, [ebp - 0x14]
call fcn.0104a3a1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.010303ce
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.010303ce
call fcn.0104f3d4
ret
Function at 0x104a6e8
Capabilities:
Print debug messages

Disassembly:
push 0x14
mov eax, 0x1060ac8
call fcn.0104f320
and dword [ebp - 4], 0
push 0x1002678
lea ecx, [ebp - 0x14]
call fcn.0104a4be
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.01031665
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.01047967
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.010303ce
cmp dword [ebp + 0xc], 0
je 0x104a74b
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x101540c
push eax
call fcn.0104a46b
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.01048c7f
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x1015440
push eax
call fcn.0104a46b
add esp, 0xc
push dword [ebp - 0x14]
push 0x2000000
call fcn.01050010
pop ecx
pop ecx
push 0xa
lea ecx, [ebp - 0x14]
call fcn.0104a3a1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.010303ce
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.010303ce
call fcn.0104f3d4
ret

Function at 0x104a7da
Capabilities:
Print debug messages

Disassembly:
push 0x10
mov eax, 0x1060af8
call fcn.0104f320
and dword [ebp - 4], 0
push 0x1068adc
lea ecx, [ebp - 0x14]
call fcn.010309e3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0104a4be
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.01048c7f
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.01050010
pop ecx
pop ecx
push 0xa
lea ecx, [ebp - 0x14]
call fcn.0104a3a1
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.010303ce
lea ecx, [esi - 0x10]
call fcn.010303ce
call fcn.0104f3d4
ret

Function at 0x104a881
Capabilities:
Print debug messages

Disassembly:
push 0x14
mov eax, 0x1060b30
call fcn.0104f320
and dword [ebp - 4], 0
push 0x1068adc
lea ecx, [ebp - 0x14]
call fcn.010309e3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.01031665
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.01047967
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.010303ce
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.01048c7f
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.01050010
pop ecx
pop ecx
push 0xa
lea ecx, [ebp - 0x14]
call fcn.0104a3a1
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.010303ce
lea ecx, [esi - 0x10]
call fcn.010303ce
call fcn.0104f3d4
ret
Function at 0x104daa5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
je 0x104dadb
mov ecx, dword [ebp + 0xc]
push esi
movzx esi, byte [ecx]
dec dword [ebp + 0x10]
mov edx, eax
and edx, 0xff
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10683d0]
inc ecx
cmp dword [ebp + 0x10], 0
jne 0x104dab9
pop esi
not eax
pop ebp
ret 0xc
Function at 0x104ec94
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x10687d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0104ebd5
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x104ed07
cmp dword [ebp - 0x94], 5
jb 0x104ed28
jmp 0x104ed24
cmp dword [ebp - 0x88], 1
jne 0x104ed28
cmp dword [ebp - 0x94], 4
ja 0x104ed24
jne 0x104ed28
cmp dword [ebp - 0x90], 0
jbe 0x104ed28
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1018a28
call fcn.0104ea6c
test eax, eax
jge 0x104ed49
mov byte [0x1068804], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0104f2d3
leave
ret

Function at 0x104f2a1
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1065d40
call fcn.0104f7c0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1068fd0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x104f0b6
cmp eax, esi
jne 0x104f0a9
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x104f0b9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x104f090
xor esi, esi
inc esi
mov eax, dword [0x1068fcc]
cmp eax, esi
jne 0x104f0cc
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x104f107
mov eax, dword [0x1068fcc]
test eax, eax
jne 0x104f101
mov dword [0x1068fcc], esi
push 0x10014b0
push 0x10014a4
call fcn.0104f00d
pop ecx
pop ecx
test eax, eax
je 0x104f107
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x104f1d1
mov dword [0x1068b4c], esi
mov eax, dword [0x1068fcc]
cmp eax, esi
jne 0x104f12b
push 0x10014a0
push 0x100146c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1068fcc], 2
cmp dword [ebp - 0x1c], ebx
jne 0x104f138
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1068fdc], ebx
je 0x104f159
push 0x1068fdc
call fcn.0104f919
pop ecx
test eax, eax
je 0x104f159
push ebx
push 2
push ebx
call dword [0x1068fdc]
push dword [0x1068b34]
push dword [0x1068b38]
push dword [0x1068b30]
call fcn.01032fd5
add esp, 0xc
mov dword [0x1068b48], eax
cmp dword [0x1068b3c], ebx
jne 0x104f1b7
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1068b4c], ebx
jne 0x104f1c5
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1068b48]
call fcn.0104f805
ret
call fcn.0104fa66
jmp 0x104f06e