joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b932
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 9
mov esi, ecx
lea edi, [ebp - 0x44]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x40]
lea ebx, [edi - 1]
not ebx
and ebx, dword [ebp + 8]
je 0x40b983
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea ecx, [esi + 0xc]
call fcn.0040c374
cmp eax, dword [esi + 0xc]
je 0x40b977
cmp ebx, dword [eax + 0x10]
jae 0x40b97a
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0xc]
jne 0x40b98c
sub ebx, edi
jne 0x40b95e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 7
lea esi, [eax + 0x14]
pop ecx
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
add ecx, ebx
cmp ecx, dword [ebp + 8]
jbe 0x40b983
mov eax, ebx
jmp 0x40b985

Function at 0x40bc8b
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x74]
push 9
pop ecx
xor eax, eax
mov dword [ebp - 0xc], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
and dword [esi + 8], eax
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x30]
push eax
push 0
jmp 0x40bd91
cmp dword [ebp - 0x20], 0x1000
jne 0x40bd82
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x30]
push 7
pop ecx
lea edi, [ebp - 0x50]
add eax, 0xc
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
call fcn.0040c374
mov esi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x40bd1d
cmp edi, dword [esi + 0x10]
jae 0x40bd5f
push 0x30
call fcn.0040445c
mov edx, eax
xor eax, eax
pop ecx
mov ecx, dword [ebp - 4]
push 7
lea edi, [edx + 0x10]
mov dword [edi], ecx
add edi, 4
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
lea eax, [edx + 0x10]
push edx
push eax
push esi
lea eax, [ebp - 0x14]
mov word [edx + 0xc], 0
push eax
call fcn.0040c7f8
mov esi, dword [ebp - 0x14]
lea edi, [esi + 0x14]
push 7
pop ecx
lea esi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
test byte [ebp - 0x1c], 0x70
je 0x40bd82
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, ecx
div dword [ebp - 0x70]
mov edx, dword [ebp - 0xc]
add dword [edx + 8], eax
jmp 0x40bd85
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
add eax, ecx
lea ecx, [ebp - 0x30]
push 0x1c
push ecx
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
je 0x40bcd8
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x40ef98
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f035
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f035
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f035
push 4
push 0xffffffffffffffff
push esi
push 0x40f74f
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f035
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f000
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f035
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40f03b
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f037

Function at 0x40f147
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x2c
push ebx
mov dword [ebp - 8], ebx
lea esi, [edi + 0xa0]
push esi
call fcn.00416720
add esp, 0xc
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 8]
push eax
push 0x2c
push esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne cl
mov byte [ebp - 1], cl
test eax, eax
jne 0x40f196
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [ebp - 1]
mov ebx, eax
test cl, cl
jne 0x40f1ad
cmp ebx, 0x3e5
je 0x40f1ad
push 0xa
mov ecx, edi
call fcn.0040f3d8
jmp 0x40f1b7
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410de0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
push 0x410ea6
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.004013b1
push eax
lea ecx, [esp + 0x18]
call fcn.004017d1
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.00407beb
lea ecx, [esp + 0x24]
call fcn.00408266
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
mov cl, bl
push 0
push eax
call fcn.004118c5
add esp, 0x18
cmp byte [edi + 1], 0
je 0x410e91
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.00407beb
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00408266
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404968
test al, al
je 0x410e95
mov dl, byte [edi]
lea eax, [esp + 0x14]
push 0
push eax
mov cl, bl
call fcn.004118c5
pop ecx
pop ecx
jmp 0x410e95
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.0040160e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411253
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov bl, cl
mov dword [ebp - 0x18], edx
push edi
mov byte [ebp - 1], bl
call fcn.00412378
call fcn.004013b1
push eax
test bl, bl
je 0x4112b7
lea ecx, [ebp - 0xc]
call fcn.004017d1
lea eax, [ebp - 0xc]
push eax
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
push eax
push str.GoogleCrashReports
mov dword [ebp - 0x14], eax
call fcn.00403d30
push 0x26
mov edx, eax
pop ecx
call fcn.00411cb4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040160e
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
jmp 0x4112fa
lea ecx, [ebp - 8]
call fcn.004017d1
lea eax, [ebp - 8]
push eax
push 1
push str.GoogleCrashReports
lea ecx, [ebp - 0x14]
call fcn.00403d30
push 0x1c
mov edx, eax
pop ecx
call fcn.00411cb4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040160e
mov edi, dword [ebp - 8]
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 2
lea ecx, [eax - 0x10]
call fcn.004017fa
cmp dword [ebp - 0x10], 0
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
je 0x411316
lea ecx, [edi - 0x10]
call fcn.0040160e
cmp dword [ebp - 0x14], 0
je 0x411327
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0040160e
cmp byte [ebp - 1], 0
je 0x411348
cmp dword [esi - 0xc], ebx
je 0x41134d
lea ecx, [ebp - 8]
call fcn.004110c9
mov esi, dword [ebp - 8]
test eax, eax
jns 0x411348
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x411378
lea ecx, [ebp - 0x14]
call fcn.00404775
push eax
lea ecx, [ebp - 8]
call fcn.00401626
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040160e
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x411378
mov ebx, 0x8004fffc
jmp 0x41138a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41138a
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.00401626
lea ecx, [esi - 0x10]
call fcn.0040160e
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x411752
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
movzx ecx, byte [0x441da9]
neg ecx
push edi
sbb ecx, ecx
and ecx, 0x441cd0
je 0x41179b
or dword [ebp - 0x18], 0xffffffff
push 7
pop eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
call fcn.00405f6b
push dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.004030aa
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004082b2
push 0x43bd20
lea ecx, [ebp - 8]
call fcn.00403d30
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.00403d30
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e260
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0040160e
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0040160e
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 8], eax
test eax, eax
je 0x411885
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e291
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
je 0x411885
push 0x40
lea eax, [ebp - 0x74]
mov dword [ebp - 0x78], 0x44
push ebx
push eax
call fcn.00416720
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x411852
push dword [eax - 0xc]
mov ecx, esi
call fcn.00401950
mov eax, dword [esi]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push ebx
push edi
push 0x400
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x411885
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
jmp 0x41188c
call fcn.0040813c
mov ebx, eax
test edi, edi
je 0x4118a1
mov ecx, dword [ebp - 0x14]
sub ecx, edi
and ecx, 0xfffffffe
push ecx
push edi
call fcn.00404430
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
mov ecx, eax
call fcn.0040831f
push 0x18
push dword [ebp - 0x10]
call fcn.00404430
pop ecx
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x412735
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x440008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00416720
add esp, 0xc
mov dword [ebp - 0x20c], pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x41279e
push ecx
mov edx, 0x43bd24
lea ecx, [ebp - 0x204]
call fcn.00404b50
pop ecx
test al, al
je 0x41279e
mov al, 1
jmp 0x4127e3
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x4127d9
cmp dword [esi + 8], ebx
je 0x4127d9
push str.google
push dword [esi + 8]
call fcn.004234dc
pop ecx
pop ecx
test eax, eax
jne 0x4127d9
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00415bad
leave
ret

Function at 0x412e67
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.004013b1
push eax
lea ecx, [ebp - 4]
call fcn.004017d1
push dword [esi]
lea eax, [ebp - 4]
push str.__s__r_n
push eax
call fcn.00407c15
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x412ec8
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.00407c15
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00403ef3
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x412ea2
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov eax, dword [esi - 0xc]
push ecx
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x412eee
call fcn.0040813c
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040160e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41331c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00412f00
test eax, eax
js 0x41343e
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x41343e
call fcn.00412378
cmp byte [ebp - 1], 0
mov eax, str.HKLMSoftwareGoogleUpdate_
jne 0x413364
mov eax, str.HKCUSoftwareGoogleUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.00403d30
push 0x43c510
lea ecx, [ebp - 0xc]
call fcn.00403d30
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0040382a
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00401626
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040160e
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0040160e
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.004076ad
test al, al
jne 0x4133c5
mov cl, byte [ebp - 1]
mov dl, 1
call fcn.00413450
mov edi, eax
jmp 0x413430
push 1
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x439a88
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x200
call fcn.004071fd
mov edi, eax
test edi, edi
js 0x413421
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x413415
push 0
push 0
push 0
push 0
push dword [eax + edi*4]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41343a
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x4133f5
mov cl, byte [ebp - 1]
xor dl, dl
call fcn.00413450
mov edi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x439a88
call fcn.004070a0
lea ecx, [esi - 0x10]
call fcn.0040160e
jmp 0x413441
xor edi, edi
jmp 0x413421
xor edi, edi
inc edi
lea ecx, [ebp - 0x1c]
call fcn.004048f2
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413603
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x440008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x41362f
call fcn.004142a7
test al, al
je 0x41362f
mov eax, 0x80004005
jmp 0x41378f
xor esi, esi
mov dword [ebp - 0x1c], 0x43a65c
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov cl, bl
call fcn.0041319b
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 4]
mov dword [ebp - 0x2c], 0x439a88
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x200
call fcn.00412378
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x413672
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040714b
mov edi, eax
test edi, edi
js 0x41376d
push esi
push esi
push esi
push esi
push 0x43c510
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4136ab
mov edi, esi
jmp 0x41376d
call fcn.004013b1
push eax
lea ecx, [ebp - 0x20]
call fcn.004017d1
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x4136f3
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.004037b0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401626
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0040160e
mov eax, esi
test eax, eax
mov esi, dword [ebp - 0x20]
js 0x413763
xor edi, edi
lea ecx, [ebp - 0x2c]
inc edi
push edi
push esi
push 0x43c510
call fcn.00407647
test eax, eax
js 0x413763
mov ecx, 0x440a40
call fcn.00408fdc
lea ecx, [ebp - 0x2c]
call fcn.004135ac
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.00412f00
test eax, eax
js 0x413759
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x413759
sub esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00413905
mov cl, bl
call fcn.004131fc
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x10]
call fcn.004048f2
jmp 0x413765
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040160e
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x439a88
call fcn.004070a0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
call fcn.00406f2e
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415bad
leave
ret
Function at 0x413985
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x413995
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x41399b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x4139c3
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x438830]
test ax, ax
jne 0x4139aa
mov esi, ecx
jmp 0x4139c6
movzx esi, si
pop edi
cmp cx, si
je 0x4139e3
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x438830]
test cx, cx
jne 0x4139c7
mov eax, 0x437348
jmp 0x4139eb
imul eax, edx, 0x1a
add eax, 0x438832
push eax
mov ecx, ebx
call fcn.00403d30
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x414672
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x441db0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x441db0
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x4146b4
test ebx, ebx
je 0x414712
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.00414649
test al, al
je 0x414712
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.00405008
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.0041493b
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.0040160e
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x414719
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x440008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x441db0
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
pop ecx
lea eax, [esi + 0x18]
push 0x20
mov esi, eax
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00416720
add esp, 0xc
push 0x441db0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x41484a
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.00414649
test al, al
je 0x41484a
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.00405008
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.00414987
pop ecx
test al, al
jne 0x4147ca
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00417b70
add esp, 0xc
jmp 0x41482e
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x24]
jg 0x4147f8
mov eax, dword [esp + 0x40]
jl 0x414800
cmp eax, dword [esp + 0x20]
jb 0x414800
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], ecx
jg 0x41481e
mov eax, dword [esp + 0x48]
jl 0x414826
cmp dword [esp + 0x28], eax
jb 0x414826
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
push 0x20
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.0040160e
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00415bad
mov esp, ebp
pop ebp
ret 4

Function at 0x41493b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414974
cmp dword [ebp - 8], 3
jne 0x414974
test eax, eax
jne 0x414974
cmp dword [ebp - 4], esi
jne 0x414974
mov al, 1
jmp 0x414984
push esi
push 0
push dword [ebp + 8]
call fcn.00416720
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x414987
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4149c0
cmp dword [ebp - 8], 3
jne 0x4149c0
test eax, eax
jne 0x4149c0
cmp dword [ebp - 4], esi
jne 0x4149c0
mov al, 1
jmp 0x4149d0
push esi
push 0
push dword [ebp + 8]
call fcn.00416720
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x41592c
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0xc
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x40]
mov esi, eax
lea eax, [ebx + 0x38]
push edx
push ecx
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.004157ed
lea ecx, [ebp - 0x30]
call fcn.0040ed59
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push 0x2c
mov eax, ecx
mov dword [ebp - 4], esi
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x4159ef
cmp dword [ebp - 0x30], 2
jne 0x4159ef
cmp dword [ebp - 0x2c], esi
je 0x4159ef
cmp dword [ebp - 0x10], esi
je 0x4159ef
cmp dword [ebp - 0xc], esi
je 0x4159ef
cmp dword [ebp - 8], esi
je 0x4159ef
lea ecx, [ebp - 0x5c]
call fcn.0040ed59
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4159ef
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov al, 1
jmp 0x4159f1
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219