joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xbc], 0
jg 0x10009378
push 0x502
push str.C:UsersXprtDownloadsCyrix_CheatsCyrix_T6___ChasePlaysImGui_DirectX_11_Kiero_Hookimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0xbc]
mov edi, 4
mov eax, dword [esi + 0xc4]
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1003b188]
sub edi, 1
jne 0x10009392
mov ecx, dword [0x10044964]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19e4], eax
jne 0x100093c4
mov dword [ecx + 0x19e8], eax
cmp dword [ecx + 0x1a18], eax
jne 0x100093d3
mov byte [ecx + 0x1a1c], 1
pop ebp
ret 4

Function at 0x1000bdf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x1000be09
cmp byte [edi + 0x2d2c], 0
je 0x1000be21
push 0xed0
push str.C:UsersXprtDownloadsCyrix_CheatsCyrix_T6___ChasePlaysImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
push str._g.Initialized___g.SettingsLoaded
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x10039739
mov al, 0x57
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1000be4e
cmp byte [esi], al
jne 0x1000be4e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1003b188]
test al, al
jne 0x1000be40
mov esi, dword [edi + 0x2d40]
not edx
mov ecx, dword [edi + 0x2d44]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x10018390
mov dword [ebp - 0xc], 0x100183f0
mov dword [ebp - 8], 0x100184c0
cmp esi, ecx
jne 0x1000bf24
inc esi
test ecx, ecx
je 0x1000bea5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000beaa
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000bf24
mov eax, dword [0x10044964]
test eax, eax
je 0x1000bec2
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x2d48]
test eax, eax
je 0x1000bf18
mov ecx, dword [edi + 0x2d40]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d48]
add esp, 0xc
test ecx, ecx
je 0x1000bf0e
mov eax, dword [0x10044964]
test eax, eax
je 0x1000bf0e
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x2d48], ebx
mov dword [edi + 0x2d44], esi
mov eax, dword [edi + 0x2d40]
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d48]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi + 0x2d40]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d360
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000d39f
cmp bl, 0x23
jne 0x1000d381
cmp byte [esi], bl
jne 0x1000d381
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1003b188]
test bl, bl
jne 0x1000d372
mov ecx, dword [0x10044964]
not eax
mov esi, dword [ecx + 0x19a0]
mov edi, dword [ecx + 0x19a8]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1000d3de
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000d3d8
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000d3da
mov esi, edx
test esi, esi
jne 0x1000d3c0
cmp edi, ebx
je 0x1000d3ed
cmp dword [edi], eax
jne 0x1000d3ed
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10017af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x10044964]
push edi
cmp byte [esi + 0x2d58], 0
je 0x10017b8f
cmp dword [esi + 0x2d60], 0
lea edi, [esi + 0x2d64]
je 0x10017b81
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10017b39
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019300
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10007470
mov edx, dword [edi]
mov ecx, 0x1004495e
push dword [esi + 0x2d60]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d6c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10007470
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x10044964]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d30], 0
test eax, eax
je 0x1001837f
lea edi, [esi + 0x2d34]
mov dword [esi + 0x2d30], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100182c5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019300
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x100182da
push 8
mov ecx, edi
call fcn.10019300
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0
inc dword [edi]
mov eax, dword [esi + 0x2d40]
test eax, eax
jle 0x1001833c
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10018315
push 0x4f8
push str.C:UsersXprtDownloadsCyrix_CheatsCyrix_T6___ChasePlaysImGui_DirectX_11_Kiero_Hookimguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [esi + 0x2d48]
add eax, ecx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 4]
inc ebx
mov eax, dword [esi + 0x2d40]
add ecx, 0x18
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10018315
mov edi, dword [edi]
mov ebx, 0x1004495e
mov ecx, dword [ebp - 8]
mov edx, 0x1003aee8
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d3c]
test eax, eax
cmovne ebx, eax
call fcn.10006ce0
mov esi, eax
test esi, esi
je 0x1001837f
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100332a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10044aec]
test eax, eax
je 0x100332bc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10033312
mov eax, dword [eax]
test eax, eax
jne 0x100332b0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1003330f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x100332e5
mov ecx, dword [0x10044aec]
mov dword [eax], ecx
mov dword [0x10044aec], eax
pop edi
pop esi
test eax, eax
jne 0x10033312
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x10034f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
sub eax, 0
je 0x10034f3d
sub eax, 1
jne 0x10034fba
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x10034c70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [0x100449f0], 0
je 0x10034fba
push ebx
push edi
xor edi, edi
mov ecx, 1
mov ebx, 0x10044980
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
je 0x10034f81
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x20
jae 0x10034f6d
push 0
jmp 0x10034f6f
push 1
call esi
inc edi
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x10034f64
cmp dword [0x10044984], 0
je 0x10034f91
xor ecx, ecx
call fcn.10035471
xor ecx, ecx
xchg dword [ebx], ecx
push dword [0x100449dc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [0x100449dc], 0
mov dword [0x100449f0], 0
pop edi
pop ebx
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x100351bf
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1004400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x100352ca
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100352c3
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x10035287
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10035287
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10035287
mov edx, dword [esi]
test edx, edx
jne 0x10035250
push 0x200
push edx
push dword [0x10044984]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100352ac
lea ebx, [esi + 8]
jmp 0x1003527a
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x1003527a
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10044984]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100352db
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10035208
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100352c3
xor edi, edi
cmp dword [esi], edi
je 0x100352c3
push dword [esi]
push edi
push dword [0x10044984]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003568d
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x100352ac
Function at 0x100352e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.100351bf
test eax, eax
jne 0x10035304
push 9
pop esi
jmp 0x1003534b
cmp dword [edi], esi
je 0x1003534b
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x1003534a
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x10035344
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.1003506c
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x10035310
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x10035351
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1003539d
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1003538c
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10035385
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10035362
pop ebx
push dword [esi]
push 0
push dword [0x10044984]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret

Function at 0x1003539f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
imul esi, ecx, 0x2c
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
add esi, dword [0x10044ae0]
mov dword [ebp - 8], esi
mov al, byte [esi + 0x14]
mov ebx, dword [esi]
and al, 1
je 0x100353c5
sub ebx, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100353ec
push 0xa
pop eax
jmp 0x1003546c
test edi, edi
je 0x1003540d
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x1003542c
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1003542c
test byte [esi + 0x14], 1
je 0x10035421
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x1003542c
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp - 0x10]
mov cl, byte [esi + 0x14]
and dl, 1
mov al, dl
and cl, 0xfd
add al, al
shl dl, 2
or cl, al
and cl, 0xfb
or cl, dl
xor eax, eax
mov byte [esi + 0x14], cl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
ror eax, 0x13
sbb eax, 0xa7
ror esi, 0xd4
sub edx, 0x7c
neg edi
rcr eax, 0x94
add ebx, 0x17
sbb eax, 0x80
sub edx, 0xbc
bswap eax
ror esi, 0x67
neg edx
or esi, 0xda
imul eax
imul edx
and esi, 0x13
not esi
sub edx, 0x1c
dec eax
imul esi
not edx
rcl ebx, 0xe6
imul edi
or edx, 0x4b
rol ebx, 0xb
sub esi, 0x3e
ror edx, 0xca
or eax, 0x61
or ebx, 0x23
inc esi
inc edx
bswap eax
not ebx
inc edx
ror eax, 0x9f
add edi, 0xd8
imul edi
mov eax, 0x3c
mov edi, 0x73
sbb edi, 0xb0
and edi, 0x4e
not edx
rcr edi, 0xc9
rol esi, 0x14
and edi, 0x4d
ror edx, 0x1a
mov edx, 0xb2
inc ebx
neg edi
neg edi
xor ecx, ecx
xor edi, edi
neg edi
bswap edi
dec ebx
inc eax
sub eax, 0x29
rcr edi, 0xdc
not ebx
dec edi
sub ebx, 0x27
neg eax
rol edi, 0x2b
dec eax
imul esi
neg eax
dec esi
or edi, 0xca
imul edx
inc esi
inc esi
bswap eax
or ebx, 0xc6
mov edx, 0xbe
bswap esi
neg ebx
neg ebx
inc esi
sbb edi, 0x89
bswap edi
sbb edx, 0xe8
sbb edi, 0xe0
rol ebx, 0x9b
and edx, 0x9a
add eax, 0xb7
imul eax
neg eax
dec edx
sbb eax, 6
ror edx, 0x8b
imul edi
rcl eax, 0xda
mov ebx, 0x6b
or esi, 0xf8
and edx, 0x85
neg eax
mov edi, 0x6b
add eax, 0x72
inc ebx
or edi, 0x98
inc edi
imul eax
mov ecx, dword [ebp + 0xc]
bswap ebx
imul edx
mov edi, 0x14
and esi, 0xac
inc eax
sbb ebx, 0xa8
rol edi, 0x27
neg ebx
not ebx
inc eax
rcl edi, 0x8a
neg eax
or eax, 0x99
bswap eax
inc esi
ror edi, 0x6f
add edi, 0xc8
inc eax
or eax, 0x42
ror eax, 0xe2
not eax
sbb ebx, 0xb1
imul edi
dec edx
dec edi
mov edi, 0x74
inc edi
add esi, 0x3c
neg edx
rcl eax, 0x7c
rcl esi, 0xcb
sub esi, 0x86
and eax, 0x62
add edx, 0xf5
add ebx, 0xdd
inc edx
mov ebx, 0xc6
rcl edi, 0x5e
not edi
rcl esi, 0x3b
neg esi
or esi, 0x77
neg esi
imul eax
add edi, 0x4d
rcr edx, 0x1f
and ebx, 0xcc
sub edi, 0x9e
and edi, 0x27
dec ebx
mov edi, dword [ebp + 8]
xor ebx, esi
mov ebx, esi
mov esi, eax
not byte [edi]
mov eax, eax
xor ebx, esi
xor ebx, eax
mov eax, eax
xor esi, esi
xor ebx, ebx
xor ebx, esi
mov eax, eax
xor ebx, eax
add byte [edi], 0x54
xor ebx, esi
mov esi, eax
mov esi, ebx
mov eax, ebx
mov eax, eax
xor esi, esi
xor esi, ebx
mov eax, esi
xor eax, eax
sub byte [edi], 0x29
mov ebx, esi
xor eax, esi
xor ebx, esi
xor esi, ebx
mov eax, eax
mov esi, eax
mov esi, ebx
xor eax, eax
mov esi, eax
imul byte [edi]
inc edi
loop 0x402e15
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40b2ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479490]
jne 0x40b2f4
repz ret
jmp fcn.0041287e
Function at 0x4171fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00411186
and dword [ebp - 4], 0
cmp dword [0x47afd0], 0
mov ebx, eax
jne 0x4172ad
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41735e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41735e
push eax
call fcn.00411114
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47afd0], eax
call esi
push eax
call fcn.00411114
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47afd4], eax
call esi
push eax
call fcn.00411114
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47afd8], eax
call esi
push eax
call fcn.00411114
pop ecx
mov dword [0x47afe0], eax
test eax, eax
je 0x4172ad
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411114
pop ecx
mov dword [0x47afdc], eax
mov eax, dword [0x47afdc]
cmp eax, ebx
je 0x417305
cmp dword [0x47afe0], ebx
je 0x417305
push eax
call fcn.0041118f
push dword [0x47afe0]
mov esi, eax
call fcn.0041118f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x417305
test edi, edi
je 0x417305
call esi
test eax, eax
je 0x4172fc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4172fc
test byte [ebp - 0xc], 1
jne 0x417305
or dword [ebp + 0x10], 0x200000
jmp 0x41733e
mov eax, dword [0x47afd4]
cmp eax, ebx
je 0x41733e
push eax
call fcn.0041118f
pop ecx
test eax, eax
je 0x41733e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41733e
mov eax, dword [0x47afd8]
cmp eax, ebx
je 0x41733e
push eax
call fcn.0041118f
pop ecx
test eax, eax
je 0x41733e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47afd0]
call fcn.0041118f
pop ecx
test eax, eax
je 0x41735e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417360
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x43cf59
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43ccda
call fcn.0043cf87
add edi, ebx
xor dword [ecx], esi
sub ebx, 0xb0744939
dec edi
add ecx, 1
mov edi, edi
cmp ecx, eax
jne fcn.0043cf59
add ebx, 0xb2186a4f
mov ebx, edi
ret
Function at 0x406a41
Capabilities:
Check for time delay via gettickcount
Modify service
Query service status
Start service

Disassembly:
push 0x34
mov eax, 0x40f1d1
call fcn.0040e67e
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ATDUhelper.dll_Ordinal_1043]
test eax, eax
je 0x406b90
push 8
pop ecx
mov esi, 0xf003f
push esi
push ebx
xor eax, eax
mov dword [ebp - 0x40], ebx
lea edi, [ebp - 0x3c]
push ebx
mov dword [ebp - 0x1c], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
je 0x406b90
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, ebx
jne 0x406aab
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x406b90
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call dword [0x416770]
call fcn.0040699d
cmp eax, ebx
jne 0x406b82
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x406ae3
push dword [ebp - 0x18]
call edi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], ebx
je 0x406b02
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
jmp 0x406b64
mov eax, dword [ebp - 0x28]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x3e8
cmp eax, ecx
jb 0x406b31
mov ecx, 0x2710
cmp eax, ecx
jbe 0x406b33
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1c]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x406b6a
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x2c], eax
ja 0x406b08
call esi
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
ja 0x406b6a
cmp dword [ebp - 0x3c], 2
je 0x406b15
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
inc eax
jmp 0x406b9b
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
call fcn.0040e71d
ret 8