joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e03edf4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x6e07088c], 0
jne 0x6e03ee63
push ebx
call fcn.6e04250a
xor ebx, ebx
mov byte [0x6e07088d], al
inc ebx
test al, al
jne 0x6e03ee5c
call fcn.6e047b14
cmp eax, 0x6b
jl 0x6e03ee5c
xor eax, eax
mov byte [ebp - 2], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 2]
push eax
call fcn.6e04250a
add esp, 0x10
test al, al
je 0x6e03ee5c
movzx eax, byte [0x6e07088d]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x6e07088d], al
mov byte [0x6e07088c], bl
pop ebx
cmp byte [0x6e07047b], 0
jne 0x6e03ee75
cmp byte [0x6e07047a], 0
je 0x6e03eeaf
cmp byte [0x6e07088d], 0
mov ecx, str.FALSE
push esi
mov eax, str.TRUE
mov esi, 0x6e070480
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e03eeae
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x6e07088d]
leave
ret
Function at 0x6e040737
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x440
mov eax, 0x6e04df3f
call fcn.6e0493da
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0x438], eax
xor edi, edi
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x424]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x434], 0x104
lea eax, [ebp - 0x428]
xorps xmm0, xmm0
movsd qword [ebp - 0x430], xmm0
push eax
push 0x20019
push edi
push 0x6e05c800
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e040956
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
mov ebx, edi
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
jmp 0x6e040843
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp qword [ebp - 0x44c]
movsd xmm0, qword [ebp - 0x44c]
comisd xmm0, xmmword [0x6e05cac0]
pop ecx
jbe 0x6e04082f
comisd xmm0, xmmword [ebp - 0x430]
jbe 0x6e04082f
lea eax, [ebp - 0x21c]
movsd qword [ebp - 0x430], xmm0
push eax
lea eax, [ebp - 0x424]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
inc ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
je 0x6e0407db
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x6e040956
push str.ClientUserInterface
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, eax
mov dword [esp], str.SoftwareMicrosoftSoftGrid_
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
xor ecx, ecx
mov dword [ebp - 0x42c], edi
push 2
pop edx
lea ebx, [eax + 0x105]
mov dword [ebp - 4], edi
add ebx, esi
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e04250a
mov esi, eax
mov dword [ebp - 0x42c], esi
pop ecx
pop ecx
test esi, esi
je 0x6e040956
push ebx
push edi
push esi
call fcn.6e04250a
push str.SoftwareMicrosoftSoftGrid_
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x424]
push eax
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push str.ClientUserInterface
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x30
lea eax, [ebp - 0x428]
push eax
push 0x20019
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e04094f
push dword [ebp - 0x438]
push str.LaunchCommand
push dword [ebp - 0x428]
call fcn.6e040989
add esp, 0xc
push dword [ebp - 0x43c]
push str.DDELaunchCommand
push dword [ebp - 0x428]
call fcn.6e040989
add esp, 0xc
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.6e04977e
pop ecx
call fcn.6e049327
ret
Function at 0x6e040989
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x6e04df67
call fcn.6e0493a3
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6e040ace
cmp dword [ebp - 0x18], 1
jne 0x6e040ace
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
inc eax
mov dword [ebp - 4], ebx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e04250a
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x6e040ace
push dword [ebp - 0x14]
push ebx
push esi
call fcn.6e04250a
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea eax, [eax*2 - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6e040ac3
cmp dword [ebp - 0x18], 1
jne 0x6e040ac3
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x14], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e04250a
mov dword [edi], eax
pop ecx
test eax, eax
je 0x6e040ac3
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.6e04250a
lea eax, [ebp - 0x20]
push eax
push 0x6e05c7fc
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x6e040aa7
push ebx
call fcn.6e04250a
pop ecx
test al, al
je 0x6e040aa7
mov eax, dword [ebp - 0x14]
push ebx
inc eax
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
jmp 0x6e040ac3
push dword [edi]
call fcn.6e04977e
and dword [edi], 0
pop ecx
jmp 0x6e040ac3
test esi, esi
je 0x6e040ace
push esi
call fcn.6e04977e
pop ecx
call fcn.6e049301
ret

Function at 0x6e0411f3
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x6e05c544
xor esi, esi
call fcn.6e04250a
pop ecx
test eax, eax
jne 0x6e041214
push 0x6e05c55c
call fcn.6e04250a
pop ecx
test eax, eax
je 0x6e041217
xor esi, esi
inc esi
cmp byte [0x6e07047b], 0
jne 0x6e041229
cmp byte [0x6e07047a], 0
je 0x6e04125f
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x6e070898
push edi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e04124e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e04125e
push edi
call fcn.6e003fc0
pop ecx
pop edi
mov eax, esi
pop esi
ret
Function at 0x6e04250a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x6e042519
pop dword [ebp - 0x4c]
mov eax, 0x664dd007
sub eax, 0xf849aaee
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4b338
push 0
mov eax, 0xc28626b
sub eax, 0x9e235fdf
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x7fefcf45
add ecx, 0x80107f9b
mov edx, eax
mov edi, 0x92a15e58
add edi, 0xdb6b47a8
add edi, dword [ebp - 0x4c]
mov esi, 0x75ea75b4
sub esi, 0x9f4ef06f
xor dword [ebp - 0x14], eax
mov ebx, dword [edi]
sub dword [ebp - 0x14], 0xe9c233cc
add ebx, esi
mov dword [ebp - 0xc], 0xfe86ff10
mov dword [edx], ebx
add dword [ebp - 0x1c], ebx
add edx, 0x2be9bb86
add edx, 0xd416447e
add edi, 0x9a82b300
sub edi, 0x9a82b2fc
loop 0x6e042578
add eax, 0x12e53
xor ebx, ebx
add ebx, eax
add eax, 0xa15954ce
sub eax, 0xa15954c9
mov ecx, 0xf26c5c29
add ecx, 0x7b93a3d7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x6e0435b8
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x6e043636
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x6e043636
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x6e07047b], 0
jne 0x6e0435fa
cmp byte [0x6e07047a], 0
je 0x6e043631
movzx eax, bl
mov esi, 0x6e071400
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e043621
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e043631
push esi
call fcn.6e003fc0
pop ecx
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x6e07047b], 0
jne 0x6e043648
cmp byte [0x6e07047a], 0
je 0x6e04367a
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x6e071400
push esi
call fcn.6e04250a
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04366a
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e04367a
push esi
call fcn.6e003fc0
pop ecx
mov al, 1
pop esi
ret
Function at 0x6e047ca3
Capabilities:
Print debug messages

Disassembly:
push esi
push 8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x6e047cc0
push 8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x6e07047b], 0
jne 0x6e047cd6
cmp byte [0x6e07047a], 0
je 0x6e047e15
push edi
push 0x64
push str.sizeof__t_ASMBlock____d
mov edi, 0x6e071858
push edi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047cfc
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d15
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047d1e
cmp byte [0x6e07047a], 0
je 0x6e047d3e
push 4
push str.sizeof_Uns32____d
push edi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047d3e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d57
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047d60
cmp byte [0x6e07047a], 0
je 0x6e047d80
push 4
push str.sizeof_HANDLE____d
push edi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047d80
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d99
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047da2
cmp byte [0x6e07047a], 0
je 0x6e047dc2
push 4
push str.sizeof_Handle32____d
push edi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047dc2
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047ddb
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047de4
cmp byte [0x6e07047a], 0
je 0x6e047e04
push 4
push str.sizeof_void____d
push edi
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047e04
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047e14
push edi
call fcn.6e003fc0
pop ecx
pop edi
mov eax, esi
pop esi
ret

Function at 0x6e047eae
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x6e04ca0e
call fcn.6e04936c
cmp byte [0x6e07047b], 0
mov ebx, 0x6e071858
mov edi, dword [ebp + 8]
jne 0x6e047ed9
mov al, byte [0x6e07047a]
test al, al
jne 0x6e047ed9
lea esi, [edi + 4]
jmp 0x6e047ef0
lea esi, [edi + 4]
push esi
push str.ASM_Release__s
push ebx
call fcn.6e04250a
mov al, byte [0x6e07047a]
add esp, 0xc
test al, al
je 0x6e047efb
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047f0b
push ebx
call fcn.6e003fc0
pop ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.6e04250a
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x6e047f3e
mov ecx, dword [ebx]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
and dword [edi + 0x4c], 0
and dword [edi + 0x44], 0
call fcn.6e049316
ret
Function at 0x6e047f54
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x6e04e1e0
call fcn.6e04936c
cmp byte [0x6e07047b], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x6e047f81
cmp byte [0x6e07047a], 0
je 0x6e047fd0
call fcn.6e04250a
test al, al
mov edx, 0x6e051790
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x6e071858
call fcn.6e04250a
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047fbc
push 0x6e071858
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047fd0
push 0x6e071858
call fcn.6e003fc0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.6e04250a
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
test ebx, ebx
jne 0x6e04804e
cmp byte [0x6e07047b], bl
jne 0x6e04801a
cmp byte [0x6e07047a], bl
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x6e071858
push ebx
call fcn.6e04250a
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04803c
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e0480c2
push ebx
call fcn.6e003fc0
pop ecx
jmp 0x6e0480c2
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x6e04807d
cmp byte [0x6e07047b], al
jne 0x6e048076
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x6e04801f
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x6e0480b2
cmp byte [0x6e07047b], al
jne 0x6e0480a8
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x6e04801f
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.6e049316
ret

Function at 0x401adf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b1e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b1e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b1e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b1e
cmp dword [ecx + 0x74], 0xe
jbe 0x401b1e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403f59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x403f68
pop dword [ebp - 0x30]
mov eax, 0x61ae42d2
add eax, 0x9e91fc96
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xf4b4f9d8
add dword [ebp - 0x40], 0x599d4b73
mov dword [ebp - 0x3c], 0x56ad667f
add dword [ebp - 0x3c], 0xdb85e5c6
mov dword [ebp - 0x38], 0x87edd3a6
add dword [ebp - 0x38], 0xc45e7088
mov dword [ebp - 0x34], 0xb4de9d6b
add dword [ebp - 0x34], 0x4b216295
lea eax, [ebp - 0x40]
push eax
mov eax, 0x94ca074c
sub eax, 0x948936f8
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x5de78d4d
sub dword [ebp - 0x40], 0xe97523f7
mov dword [ebp - 0x3c], 0x7c9663b8
sub dword [ebp - 0x3c], 0x3b2a0243
mov dword [ebp - 0x38], 0x632891fa
add dword [ebp - 0x38], 0x46da72
mov dword [ebp - 0x34], 0x2be0a540
sub dword [ebp - 0x34], 0x2be0a540
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3a5c4
push 0
call eax
mov ecx, 0x4b0f
mov esi, eax
mov edx, 0x72641407
add edx, 0x8ddd9bf9
add edx, dword [ebp - 0x30]
mov ebx, 0x33cf22f9
xor dword [ebp - 0x2c], 0x53f06f62
mov edi, dword [edx]
add edi, ebx
add dword [ebp - 0x28], esi
mov dword [esi], edi
add dword [ebp - 0x1c], esi
add esi, 4
add edx, 0xe84904f2
add edx, 0x17b6fb12
loop 0x404079
add eax, 0x11f0f
mov ebx, eax
add eax, 5
mov ecx, 0xacd21dda
sub ecx, 0xac921dda
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x20092cdc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x78560918
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4172b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4172f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4172f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4172f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4172f2
cmp dword [ecx + 0x74], 0xe
jbe 0x4172f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x429590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4295bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4295bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xeeb9a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xeeb9aa
pushal
call 0xeeb9b0
pop ebp
sub ebp, 0x10
sub ebp, 0xaeb9a0
jmp 0xeeb9c6
mov eax, 0xaeb9a0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bb
mov edx, 0xf493cb42
xor byte [eax], dl
inc eax
dec ecx
jne 0xeeb9dd
jmp 0xeeb9f0
leave
invalid
Function at 0x4011c0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x64
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_OpenServiceW]
sub esp, 0xc
test eax, eax
je 0x4012d8
mov ebx, eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_QueryServiceStatus]
sub esp, 8
mov edi, eax
test eax, eax
jne 0x401230
test byte [section..data], 2
jne 0x401340
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], 0x404132
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
cmp eax, 7
jbe 0x401328
mov edx, dword [ebp - 0x28]
mov eax, str.WIN32_SHARE_PROCESS
cmp edx, 0x20
je 0x401285
mov eax, str.WIN32
cmp edx, 0x30
je 0x401285
cmp edx, 0x10
mov eax, str.WIN32_OWN_PROCESS
mov ecx, 0x404132
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 4], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esp], str.SERVICE_NAME:__ls_n________TYPE_______________:__lx___ls_n________STATE______________:__lx___ls_n________WIN32_EXIT_CODE____:__lu___0x_lx__n________SERVICE_EXIT_CODE__:__lu___0x_lx__n________CHECKPOINT_________:_0x_lx_n________WAIT_HINT__________:_0x_lx_n
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x10], ecx
call sym._printf.constprop.0
jmp 0x401213
xor edi, edi
test byte [section..data], 2
je 0x40121f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_open_service__lu_n
mov dword [esp + 8], str.query_service
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax*4 + 0x404680]
mov dword [ebp - 0x30], eax
jmp 0x40125e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_query_service_status__lu_n
mov dword [esp + 8], str.query_service
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401213
Function at 0x402310
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 0x402368
cmp byte [esi + ebx - 1], 0xa
je 0x40233c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x406084], 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