joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a06d
Capabilities:
Get hostname

Disassembly:
add byte [ebx - 0x37], cl
pop ebx
dec edx
xchg ebx, eax
push dword [esp + 4]
push 0x4005e8
push eax
push 0x402ced
call fcn.004023ff
mov edx, dword [ebx - 0x62]
leave
mov dword [esi - 0x74], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call dword [sym.imp.ntdll.dll_RtlAddCompoundAce]
mov esi, dword [ebp + 3]
push 0x64
pop ebx
cwde
push dword [esp + 8]
push ebx
push dword [esp + 4]
push 0x400aaa
push 0x3fd340
call fcn.0040239a
mov esi, dword [ebx + 0x150]
jno 0x40a749
pop esi
mov ebp, dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test edx, edx
push ecx
inc esi
jmp 0x40c6df
das
sar edi, 1
jmp [edx + 0x1a]
sbb byte [edi + 0x1cc], 0
mov dword [esi + 0x1b], ecx
push dword [esp + 4]
call fcn.0040c895
add byte [eax], al
push 0xffffffffffffffea
push 0x68
push dword [esp + 8]
push 0x3f7314
call fcn.00402bfe
mov dword [ebx + 0x70], eax
push dword [eax + 0x3a]
lea edi, [edi + ebx*4 + 0x6b36f554]
mov dword [esp + 0x116], ebx
and word [ebx + 0x950], 0x5000
jge 0x40c69c
xchg edx, eax
xchg ecx, eax
push esi
push 0x2a
push dword [esp + 4]
push 0x3f80c2
call fcn.00402464
mov dword [edx + 0x4ff], eax
leave
call dword [sym.imp.user32.dll_DestroyCaret]
invalid
mov al, 0x94

Function at 0x40a6d1
Capabilities:
Accept command line arguments

Disassembly:
push esp
push dword [esp + 0xc]
push 0x40089a
push 0x401c91
call fcn.004023ff
call dword [sym.imp.ntdll.dll_RtlAddAuditAccessAce]
in al, 0x10
inc eax
add byte [ebp + 0x7568d3bc], cl
and esp, dword [edx]

Function at 0x40a76e
Capabilities:
Get file size

Disassembly:
add byte [eax], al
call fcn.0040a703
xchg ebx, eax
mov ecx, dword [esp - 0x25]
push 0xffffffffffffffcc
mov ebx, esp
xchg edi, eax
push 0xffffffffffffff9e
push 0xfffffffffffffff2
push 0xffffffffffffffd0
push 0x56
push 0x3fed6b
add al, ch
sar dword [edi + edi*8 - 1], cl

Function at 0x40a78b
Capabilities:
Get file size

Disassembly:
add al, ch
sar dword [edi + edi*8 - 1], cl
xchg ecx, eax
sbb byte [edi + 0x242], 0
call fcn.0040b392
push dword [esi + 0xece]
xchg edx, eax

Function at 0x40b065
Capabilities:
Delete file

Disassembly:
add byte [eax], al
jle 0x40b077
inc ecx
xchg esp, eax
push 0x40055c
push eax
push ecx
push 0x3fca0f
call fcn.004024e9
call dword [sym.imp.ntdll.dll_RtlSetTimeZoneInformation]
add byte [ecx], dl
inc eax
add bh, bh
adc eax, sym.imp.user32.dll_DestroyCursor

Function at 0x40b07e
Capabilities:
Delete file

Disassembly:
add byte [ecx], dl
inc eax
add bh, bh
adc eax, sym.imp.user32.dll_DestroyCursor
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, 0x9aa
mov edi, 0x87c
mov edi, edx
leave
pop ecx
push ebx
Function at 0x40b120
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
add byte [eax], al
push dword [edi + 0xb8e]
jns 0x40b7be
inc esi
test edi, edx
push 0x4007cc
push dword [esp + 8]
push ecx
push 0x3fe9a5
call fcn.0040239a
leave
push 8
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
jge 0x40b506
push dword [edx - 2]
inc esp
sub word [edi + 0xeaa], 0xaa00
dec ebx
mov dword [ebx + 0x3f], esi
mov edx, eax
leave
call fcn.0040a1f0
push dword [esp + 8]
push 0x4a
push 0x400c48
push 0x3fea61
call fcn.0040239a
push 0x32
push dword [esi - 0x5c]
push dword [eax + 0x3e]
jnp 0x40b1d0
and byte [ebx + 0xbea], 0
push dword [ecx - 0x44]
leave
xchg ebp, eax
pop ebp
inc eax
add byte [eax + 0x12], ch
invalid
add dword [edi - 0x7a397aed], esi
into
xchg esi, eax

Function at 0x40b414
Capabilities:
Terminate process

Disassembly:
add byte [eax + eax], 0
push 0x54
push 0xffffffffffffffae
cwde
push ebp
push 0xffffffffffffff98
push 0x7e
push ebx
push 0x3ff083
call fcn.0040239a
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40b4a1
Capabilities:
Get common file path

Disassembly:
add byte [ebx - 0xf39501], cl
je 0x40b4cd
add al, 0x6a
loop 0x40b515
rcr dword [ebp + 0x48e8003f], 0x77
invalid
add dword [eax], eax
add byte [edx + 0x66], ch
push eax
invalid
invalid
invalid

Function at 0x40b870
Capabilities:
Get file size

Disassembly:
jno 0x40c125
cwde
popal
call fcn.00407a8b
push ebx
push dword [esp + 8]
push 0x40028c
push 0x3f8c1c
call fcn.0040239a
mov eax, dword [ebp + 0x300]
jg 0x40bfea
call fcn.0040b832
push dword [ebx + 0xc1a]
xchg edx, eax
test eax, ebx
ret
inc eax
add byte [edx - 0x2a], ch
push 0x400580
call fcn.00402bfe
push 0x298
call fcn.0040c198
adc dword [edx + 0x92a], 0x2a00
mov edx, edx
ret
jmp 0x40bf20
push 0x400398
push edx
push 0x3ffa48
call fcn.004023ff
push dword [eax + 0x60]
mov edx, 0xe2a
push dword [edx - 4]
jle 0x40bf93
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, ebp
leave
ret
stosd dword es:[edi], eax
cld
aas
Function at 0x40d1fb
Capabilities:
Accept command line arguments

Disassembly:
ret
push esi
jecxz 0x40d1ef
push ebx
inc edi
jmp 0x408d70
ret
xchg ebx, eax
jle 0x40d1b0
mov eax, ebp
xchg edx, eax
inc esi
push edx
push dword [esp + 4]
push 0xffffffffffffff90
push 0x3fef73
call fcn.00402464
jbe 0x40d225
push dword [eax - 0x54]
call fcn.0040cef7
sub byte [edx + 0x1e8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push dword [esi + 0x44]
push dword [esi + 0x5e]
mov esi, esi
pop ebx
push dword [esp + 4]
push 0x5c
neg byte [ebx - 1]
je 0x40d24e
add al, 0x6a
pop esp
push dword [esp + 4]
push 0x4000f2
push 0x3fcc4c
call fcn.00402bfe
push dword [eax + 0xe64]
mov dword [edx - 0xf], edx
mov esi, esp
push dword [edi - 0x56]
jo 0x40d3a7
pop edx
Function at 0x401ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041186c

Function at 0x402080
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.00411f58
cmp dword [esi + 0x9c], 0
jne 0x402157
push ebx
push edi
push dword [esi + 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push 0xff
push eax
push 0x558cb0
push str.SkinName
push str.Start8Skin
mov byte [ebp - 0x104], 0
call edi
lea ecx, [ebp - 0x104]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4020e3
sub ecx, ebx
lea eax, [ebp - 0x104]
push ecx
push eax
lea ecx, [esi + 0xa0]
call fcn.004023e0
push dword [esi + 0x98]
lea eax, [ebp - 0x104]
push 0xff
push eax
push 0x558cb0
push str.SkinBlurb
push str.Start8Skin
call edi
lea eax, [ebp - 0x104]
lea edi, [eax + 1]
jmp 0x402130
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402130
sub eax, edi
lea ecx, [esi + 0xa4]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004023e0
push 0
mov ecx, esi
call fcn.0040ec82
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret
Function at 0x402d30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5482e1
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x98], 0
jne 0x402f0d
push 1
call fcn.0040ec82
push 0x104
lea eax, [ebp - 0x214]
push eax
call fcn.00404610
lea eax, [ebp - 0x214]
dec eax
jmp 0x402d90
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x402d90
mov ecx, dword [str.defs2.ini]
mov dword [eax], ecx
mov ecx, dword [0x559254]
mov dword [eax + 4], ecx
mov cx, word [0x559258]
mov word [eax + 8], cx
mov cl, byte [0x55925a]
mov byte [eax + 0xa], cl
call fcn.0040964e
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x402ddb
push 0x80004005
call fcn.00401e00
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0xa0]
call fcn.0040c660
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x214]
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x218]
push eax
push str.Name
push eax
call esi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402500
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 1
push eax
push 0xff
lea eax, [ebp - 0x110]
push eax
push 0x558cb0
push str.Section
push dword [ebp - 0x218]
call esi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402500
push dword [edi + 0x9c]
mov byte [ebp - 4], 2
push dword [edi + 0x114]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.00408060
mov edx, dword [ebp - 0x220]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x402ec6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402ee9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x218]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x402f0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret
Function at 0x4038b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4038c5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403904
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403900
lea ebx, [ebx]
cmp esi, edx
jae 0x403904
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4038f0
cmp esi, edx
jb 0x403909
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x404460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x10c], eax
nop
mov al, byte [ecx + str.SOFTWAREStardockStart8]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x404490
push edi
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4044b0
mov ax, word [0x559700]
mov esi, ebx
mov word [edi], ax
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x4044c5
lea edi, [ebp - 0x104]
sub ebx, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4044d5
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
dec edi
mov cl, byte [edi + 1]
lea edi, [edi + 1]
test cl, cl
jne 0x4044f2
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x404501
lea edi, [ebp - 0x104]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404511
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
lea eax, [ebp - 0x104]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10c]
mov dword [ebp - 0x114], 1
pop edi
test eax, eax
jne 0x404591
lea eax, [ebp + 0x18]
push eax
push ebx
lea eax, [ebp - 0x114]
push eax
push 0
push dword [ebp - 0x110]
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4045a4
mov edx, ebx
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x404582
jmp 0x4045a4
mov edx, ebx
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x404597
mov ecx, ebx
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4045b0
sub ecx, edx
jne 0x4045cd
sub ebx, esi
lea ecx, [ecx]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ebx + esi - 1], al
test al, al
jne 0x4045c0
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret
Function at 0x4046b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5485d3
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0052ebe0
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x558cb0
push dword [edi + 0xa4]
mov dword [ebp - 4], 0
call fcn.0052df73
add esp, 8
test eax, eax
sete al
test al, al
je 0x404726
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x404852
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push dword [edi + 0xc8]
call ebx
push dword [ebp + 8]
push 0
push 0x143
push dword [edi + 0xc8]
call ebx
push 2
push eax
push 0x151
push dword [edi + 0xc8]
call ebx
push 0xfff
lea eax, [ebp - 0x100f]
mov byte [ebp - 0x1010], 0
push 0
push eax
call fcn.0052f260
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401e30
add esp, 0x10
add eax, 0x10
mov dword [ebp - 0x1014], eax
mov byte [ebp - 4], 1
jmp 0x4047a0
push 3
push 0x55a128
lea ecx, [ebp - 0x1014]
call fcn.004042a0
push dword [edi + 0xa4]
mov esi, dword [ebp - 0x1014]
lea eax, [ebp - 0x1010]
push 0x1000
push eax
push esi
mov byte [ebp - 0x1010], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp byte [ebp - 0x1010], 0
je 0x404803
push esi
push 0
push 0x143
push dword [edi + 0xc8]
call ebx
push 2
push eax
push 0x151
push dword [edi + 0xc8]
call ebx
jmp 0x4047a0
push 0
push 0
push 0x14e
push dword [edi + 0xc8]
call ebx
mov ecx, edi
call fcn.00405870
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40483b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40485c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret 4
Function at 0x408060
Capabilities:
Find taskbar

Disassembly:
cmp dword [0x5ad54c], 0
je 0x40809c
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40809b
push 0
push 0
push str.START8_RELOAD
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
ret

Function at 0x408280
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5a7ee8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x20c], eax
jmp 0x4082b0
mov al, byte [ecx + section..data]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x4082b0
push esi
push edi
lea edi, [ebp - 0x104]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4082d0
mov ax, word [0x559700]
mov esi, ebx
mov word [edi], ax
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x4082e5
lea edi, [ebp - 0x104]
sub ebx, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4082f5
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
dec edi
mov cl, byte [edi + 1]
lea edi, [edi + 1]
test cl, cl
jne 0x408312
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x408321
lea edi, [ebp - 0x104]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408331
mov ecx, edx
mov ebx, dword [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test ebx, ebx
jne 0x408376
lea eax, [ebp - 0x104]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x104]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0x2d
je 0x4083da
lea edx, [ebp - 0x208]
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4083a0
lea ecx, [ebp - 0x208]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4083b6
sub ecx, edx
lea eax, [ebp - 0x208]
push ecx
push eax
push 1
push 0
push ebx
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4083e7
push ebx
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0052d1cc
mov esp, ebp
pop ebp
ret
Function at 0x40c0ad
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 0x40c0f2
call fcn.00416227
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c0f2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40c10e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004123e9
mov ebx, eax
test edi, edi
je 0x40c10c
test esi, esi
je 0x40c10c
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 0x40f490
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.0040f28f
fsub st(5)
test al, 0xf7
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
shl eax, 3
loopne 0x40f4b1
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.0040f28f
mov bh, byte [eax - 0x7499f705]
inc edi
push es
cmp ax, bx
jbe 0x40f4e9
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x40f4e3
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x40f4d4
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
lodsd eax, dword [esi]
ret 0x45c6
scasb al, byte es:[edi]
rol esi, cl
inc ebp
scasd eax, dword es:[edi]
hlt
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040f28f
push 0xffffffffffffffdf
pop edi
push esi
lea eax, [ebp - 0x58]
push eax
call fcn.0040f29f
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040f254
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40f57d
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
inc ebp
invalid
popal
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
inc ebp
iretd
jo 0x40f58b
inc ebp
rcl byte [ebx]
call fcn.0040f28f
or dword [esi], ecx
inc ebx
aaa
lea eax, [ebp - 0x40]
push eax
call fcn.0040f29f
push eax
push esi
push dword [ebp + 8]
call fcn.0040f254
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040f28f
popfd
push 0xffffffffffffff8d
inc ebp
call 0x51295385
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
pop ebp
jmp 0x40f5ce
inc ebp
in al, dx
jmp 0xd72e3bd5
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
Function at 0x40f633
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 9], 0xbf
call fcn.0040f29f
push eax
push esi
push dword [ebp + 8]
call fcn.0040f254
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040f29f
push eax
push esi
push dword [ebp + 8]
call fcn.0040f254
scasd eax, dword es:[edi]
sti
invalid
dec dword [ecx - 0xbb7b]
dec dword [ebp + 0x5d88d445]
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x40f72a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
in al, 0x2b
call fcn.0040f29f
push eax
push esi
push dword [ebp + 8]
call fcn.0040f254
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040f28f
xchg edi, eax
push 0x9d887064
jl 0x40f714
invalid
invalid