joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486080
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x20]
push eax
call fcn.004152a0
mov ebx, eax
mov eax, dword [esi + 0x2c]
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [esp + 0x18], ebx
jne 0x48611c
mov eax, dword [esi + 0x18]
lea edi, [esi + 0x18]
cmp eax, ebp
je 0x4860be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebp
push edx
push 0x4a7b30
push 1
push ebp
push 0x4a7700
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x486100
mov eax, dword [esp + 0x20]
push ebp
push edi
push 0x4a76f0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push ebp
push str.999999
call fcn.004152a0
add esp, 4
mov ecx, esi
push eax
call fcn.00486010
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebp
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
cmp edi, eax
jge 0x486232
mov ecx, dword [esi + 0x2c]
dec ecx
cmp ebx, ecx
jle 0x486232
cmp edi, eax
mov dword [esp + 0x14], edi
jge 0x486232
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x10]
inc ecx
push edx
mov dword [esi + 0x20], ecx
push edi
mov ecx, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebp
call fcn.00486010
cmp eax, edi
jne 0x486178
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x4a7be0
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x20], ebp
je 0x48620f
mov eax, dword [esi + 0x28]
lea edi, [esi + 0x28]
cmp eax, ebp
je 0x486194
mov edi, eax
mov eax, dword [edi]
cmp eax, ebp
jne 0x48618c
mov eax, dword [esi + 0x2c]
push 0xa
push eax
call fcn.00443640
push 0xa0
mov ebx, eax
call fcn.004178f0
add esp, 0xc
cmp eax, ebp
je 0x4861bc
push ebx
mov ecx, eax
call fcn.0046fc00
mov ebp, eax
push ebx
mov ecx, 0x4ba850
call fcn.00417540
push 0x3c
call fcn.004178f0
add esp, 4
test eax, eax
je 0x4861e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x24]
push ecx
push ebp
push edx
mov ecx, eax
call fcn.00485600
jmp 0x4861ea
xor eax, eax
push eax
mov ecx, ebp
mov dword [edi], eax
call fcn.0046fcd0
mov edi, dword [esi + 0x2c]
mov eax, dword [esp + 0x20]
inc edi
push eax
mov dword [esi + 0x2c], edi
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x48621d
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp ebx, dword [esi + 0x2c]
jl 0x486232
mov eax, dword [esi + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x486142
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x486780
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x74
push ebp
push esi
lea eax, [esp + 8]
push edi
xor ebp, ebp
push eax
push 1
push ebp
push str.SoftwareMicrosoftMultimediaSound_Mapper
push 0x80000001
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4868f0
mov edi, dword [esp + 0x84]
mov eax, str.Record
test edi, edi
jne 0x4867d5
mov eax, str.Playback
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push eax
push edx
call esi
test eax, eax
jne 0x4868f0
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.004178f0
add esp, 4
mov ebp, eax
test edi, edi
mov eax, str.Record
jne 0x486814
mov eax, str.Playback
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push ebp
push 0
push 0
push eax
push edx
call esi
test eax, eax
jne 0x4868f0
test edi, edi
je 0x48683a
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
jmp 0x486840
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4868f0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x48689c
lea eax, [esp + 0x1c]
push 0x30
push eax
push edi
call dword [sym.imp.WINMM.dll_waveInGetDevCapsA]
mov esi, ebp
lea eax, [esp + 0x24]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x486891
test cl, cl
je 0x48688d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x486891
add eax, 2
add esi, 2
test cl, cl
jne 0x48686d
xor eax, eax
jmp 0x486896
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4868ec
jmp 0x4868dd
lea eax, [esp + 0x4c]
push 0x34
push eax
push edi
call dword [sym.imp.WINMM.dll_waveOutGetDevCapsA]
mov esi, ebp
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4868d4
test cl, cl
je 0x4868d0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4868d4
add eax, 2
add esi, 2
test cl, cl
jne 0x4868b0
xor eax, eax
jmp 0x4868d9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4868ec
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x48684e
jmp 0x4868f0
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4868ff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x48690c
push ebp
call fcn.00417900
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x74
ret
Function at 0x486c10
Capabilities:
Capture microphone audio

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [ebp + 4]
add ecx, 0x24
call fcn.00487100
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
mov byte [eax], 0
inc esi
mov dword [esp + 8], esi
je 0x486d26
mov cl, byte [ebp + 0x2aa]
test cl, cl
jne 0x486cfb
mov ecx, dword [ebp + 0x28c]
test ecx, ecx
jle 0x486cfb
mov byte [eax], 1
push ebx
mov ebx, dword [ebp + 0x24c]
lea eax, [ebp + 0x290]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x48]
mov esi, dword [ebp + ebx*4 + 8]
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x28c]
xor ecx, ecx
dec esi
mov eax, esi
mov dword [ebp + 0x28c], esi
test eax, eax
jle 0x486cb3
lea eax, [ebp + 0x24c]
mov edx, dword [eax + 4]
inc ecx
mov dword [eax], edx
mov edx, dword [ebp + 0x28c]
add eax, 4
cmp ecx, edx
jl 0x486ca0
lea eax, [ebp + 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp]
push 0x20
shl ebx, 5
lea eax, [ebx + ebp + 0x4c]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov al, byte [ebp + 0x2a8]
pop edi
test al, al
pop ebx
je 0x486cf1
mov edx, dword [ebp]
push edx
call dword [sym.imp.WINMM.dll_waveInStart]
mov byte [ebp + 0x2a8], 0
mov eax, dword [esp + 8]
pop esi
pop ebp
pop ecx
ret 8
mov al, byte [ebp + 0x2a9]
test al, al
je 0x486d1e
mov eax, dword [ebp]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov eax, esi
mov byte [ebp + 0x2a9], 0
pop esi
pop ebp
pop ecx
ret 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x486dc0
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push eax
mov ecx, dword [ebp + 4]
add ecx, 0x9c
push ecx
call fcn.00486700
mov edx, dword [esp + 0x34]
lea edi, [ebp + 8]
add esp, 8
mov dword [ebp + 0x28c], 0
mov byte [ebp + 0x2a8], 0
mov dword [ebp + 0x48], edx
mov esi, edi
mov ebx, 0x10
mov eax, dword [esp + 0x2c]
push eax
call fcn.004178f0
mov dword [esi], eax
add esp, 4
add esi, 4
dec ebx
jne 0x486e02
mov edx, dword [ebp + 4]
push 0x30000
push ebp
lea ecx, [esp + 0x1c]
mov eax, dword [edx + 0x50]
push 0x486d30
push ecx
push eax
push ebp
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x486e9b
xor ebx, ebx
lea esi, [ebp + 0x4c]
mov dword [esp + 0x10], edi
mov ecx, 8
xor eax, eax
mov edi, esi
push 0x20
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
push esi
mov edx, dword [ecx]
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov edx, dword [ebp]
push 0x20
push esi
push edx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov edi, dword [esp + 0x10]
inc ebx
add edi, 4
add esi, 0x20
cmp ebx, 0x10
mov dword [esp + 0x10], edi
jl 0x486e42
mov byte [ebp + 0x2a9], 1
mov byte [ebp + 0x2aa], 0
xor ecx, ecx
pop edi
test eax, eax
sete cl
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x18
ret 4

Function at 0x486ff0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [esi + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x28]
mov dword [esi + 0x20], eax
push edx
push 0
push esi
push 0x487120
push 0
push 0
mov dword [esi + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov eax, dword [esp + 0x14]
dec eax
je 0x487040
dec eax
jne 0x487049
push 1
jmp 0x487042
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test esi, esi
je 0x487054
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret 0xc

Function at 0x487060
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov dword [edi], 1
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4870b7
push esi
call ebx
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x4870c9
jmp 0x48708c
push esi
mov edi, 1
call ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x498480
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push eax
push esi
xor edi, edi
call dword [0x57da40]
mov ecx, eax
add esp, 8
add ecx, 0x20
mov ebx, 8
sar ecx, 6
xor eax, eax
mov al, byte [esi + 7]
sub eax, ecx
cdq
mov ebp, eax
xor eax, eax
mov al, byte [esi + 6]
xor ebp, edx
sub eax, ecx
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
xor eax, eax
mov al, byte [esi + 5]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
xor eax, eax
mov al, byte [esi + 4]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
xor eax, eax
mov al, byte [esi + 3]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
xor eax, eax
mov al, byte [esi + 2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
xor eax, eax
mov al, byte [esi + 1]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
xor eax, eax
mov al, byte [esi]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x18]
add eax, edi
add esi, edx
dec ebx
lea edi, [eax + ebp]
jne 0x4984a6
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x498a20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov eax, 2
sub eax, edi
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, 3
sub eax, edi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, 4
sub eax, edi
mov ebp, 1
mov dword [esp + 0x14], eax
mov eax, 5
sub eax, edi
sub ebp, edi
mov dword [esp + 0x18], eax
mov eax, 6
sub eax, edi
lea ecx, [ebx + edi + 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 8
xor eax, eax
xor edx, edx
mov al, byte [ecx - 1]
mov dl, byte [ebx]
lea eax, [eax + edx + 1]
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov byte [esi], al
mov dl, byte [ecx]
xor eax, eax
mov al, byte [ebx + 1]
add ebx, edi
lea eax, [eax + edx + 1]
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov byte [esi + 1], al
mov dl, byte [ecx + 1]
xor eax, eax
mov al, byte [ecx + ebp]
lea eax, [eax + edx + 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
mov byte [esi + 2], al
xor eax, eax
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [ecx + 2]
lea eax, [eax + edx + 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
mov byte [esi + 3], al
xor eax, eax
mov al, byte [ecx + edx]
xor edx, edx
mov dl, byte [ecx + 3]
lea eax, [eax + edx + 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
mov byte [esi + 4], al
xor eax, eax
mov al, byte [ecx + edx]
xor edx, edx
mov dl, byte [ecx + 4]
lea eax, [eax + edx + 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov byte [esi + 5], al
xor eax, eax
mov al, byte [ecx + edx]
xor edx, edx
mov dl, byte [ecx + 5]
lea eax, [eax + edx + 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov byte [esi + 6], al
xor eax, eax
mov al, byte [ecx + edx]
xor edx, edx
mov dl, byte [ecx + 6]
add ecx, edi
lea eax, [eax + edx + 1]
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 7], al
mov eax, dword [esp + 0x24]
add esi, edi
dec eax
mov dword [esp + 0x24], eax
jne 0x498a7d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x49a0c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
shl esi, 0xe
mov eax, dword [edi]
xor ebp, ebp
add eax, 4
add esi, 0x4bd8f4
sar eax, 3
cmp eax, 1
jge 0x49a0eb
mov eax, 1
jmp 0x49a0f7
cmp eax, 0xfe
jle 0x49a0f7
mov eax, 0xfe
mov edx, dword [esp + 0x18]
mov ebx, 0x3f
sub edi, edx
mov dword [edx], eax
lea ecx, [edx + 4]
mov eax, dword [edi + ecx]
add ecx, 4
mov eax, dword [esi + eax*4]
mov dword [ecx - 4], eax
cdq
xor eax, edx
sub eax, edx
add ebp, eax
dec ebx
jne 0x49a107
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x49a420
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
shl esi, 0xe
add esi, 0x4bd8f4
sub edi, ecx
mov ebp, 0x40
mov eax, dword [edi + ecx]
add ecx, 4
mov eax, dword [esi + eax*4]
mov dword [ecx - 4], eax
cdq
xor eax, edx
sub eax, edx
add ebx, eax
dec ebp
jne 0x49a442
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret
Function at 0x4a2430
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov eax, ecx
mov ebx, dword [esp + 0x10]
cdq
and edx, 7
push ebp
add eax, edx
and ecx, 7
sar eax, 3
push esi
mov esi, dword [esp + 0x10]
test eax, eax
mov ebp, ecx
jle 0x4a247b
push edi
mov edi, eax
push 8
mov ecx, esi
call fcn.0049ccf0
xor ecx, ecx
and eax, 0xff
mov cl, bh
xor edx, edx
xor eax, ecx
mov dh, bl
mov ebx, dword [eax*4 + 0x4aceac]
xor ebx, edx
dec edi
jne 0x4a2456
pop edi
test ebp, ebp
jle 0x4a24a7
push 1
mov ecx, esi
call fcn.0049ccf0
mov ecx, ebx
and ebx, 0x7fff
shr ecx, 0xf
and ecx, 1
xor eax, ecx
shl ebx, 1
test eax, eax
je 0x4a24a4
xor ebx, 0x8005
dec ebp
jne 0x4a247f
pop esi
mov eax, ebx
pop ebp
pop ebx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438c8e
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
sub esi, edx
sub esi, edx
or esi, esi
call fcn.00438cc7
add edx, esi
and edx, edx
add esi, 0x355aed0e
xor dword [eax], ebx
or esi, esi
inc eax
add edx, 0x87907ed0
inc esi
cmp eax, edi
jne fcn.00438c8e
push 0xb4e74203
pop edx
add edx, 0xa550c300
ret
Function at 0x40b2d0
Capabilities:
Write file on windows

Disassembly:
adc dword [edx - 0x28], ebp
ret
xchg esp, eax
dec ebp
adc byte [ebp - 0x74ed8a37], al
dec ebp
adc al, 0x8b
push ebp
adc byte [ebx + 0x4c], bl
mov eax, 0x1117e
mov dword [ecx], edx
pop esi
jns 0x40b2eb
mov ebx, esp
or al, 0x61
rcr dh, cl
sbb byte [edx - 0x3a7bf7aa], cl
jne 0x40b2bd
mov esp, edx
push eax
add edx, ecx
adc byte [esp + edx*2 - 0x45], ch
rol dword [eax], 1
mov dword [esi + 0x50], edx
loopne 0x40b27d
push esp
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
pop ebx
pop edi
mov dword [ecx], edx
pop esi
pop ebp
ret
push ebp
mov ebp, esp
push ecx
or cl, byte [ebx + 0x468a0875]
add al, 0x84
ror byte [edi], 0x84
mov esi, 0x8bab0000
out 0x48, al
xor eax, eax
push ebx
sub dword [eax + 1], 0x57
mov dword [ebp - 4], eax
add dword [edi - 0x77], edx
inc ebp
cld
mov dword [edx - 0x637ae3fb], ecx
add byte [eax], al
loope 0x40b285
mov ch, 0x3c
cmp edi, eax
je 0x40b388
mov ebx, ebx
cmp byte [ebx + 0x576eaff], al
lodsd eax, dword [esi]
enter 0xffffffffffffebff, 2
mov edx, dword [ebp - 0x7262a975]
dec ebp
cld
push 0
push ecx
cmp edx, dword [ebx + 0x52]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
shr dword [edi], cl
xlatb
inc ebp
cwde
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
add edx, eax
invalid
ror byte [ecx + 0x775544e], 0xde
inc esi

Function at 0x40b840
Capabilities:
Encode data using xor

Disassembly:
pop ds
cmp eax, 0x1056
lea ecx, [esp + 8]
jb 0x40b860
sub ecx, 0x1000
xor dl, byte gs:[eax]
add byte [eax], al
sub al, 1
cmp eax, 0x1000
jae 0x40b84c
jmp 0x40c852
sub edi, edx
mov eax, esp
test dword [ecx], eax
mov esp, ecx
mov ecx, dword [eax]
mov ecx, dword [ecx - 0x333caffc]
or cl, bh
inc eax
jae 0x40b870
sar ecx, 0x20
jae 0x40b880
shld esi, ebx, cl
rcl dword [ebx - 0x3d], cl
or al, 0xd0
xor eax, eax
or byte [edi - 0x79], 0xa2
loop 0x40b84d
xor esi, dword [ebp + 0x33]
rol bl, cl
int3
Function at 0x40615b
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8bfc58]
mov ecx, dword [0x8bebac]
sub esp, 0xe84
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40625e
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0x8bfc58], 0x959
jne 0x40624c
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x405920
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x405978
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0xe80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00405f68
add ebx, 8
dec dword [ebp - 8]
jne 0x406184
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40886b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e718]
jne 0x408875
repz ret
jmp fcn.0041010c

Function at 0x411e87
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.00409fed
and dword [ebp - 4], 0
cmp dword [0x8107a0], 0
mov ebx, eax
jne 0x411f38
push 0x40392c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411fe9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403920
push edi
call esi
test eax, eax
je 0x411fe9
push eax
call fcn.00409f7b
mov dword [esp], 0x403910
push edi
mov dword [0x8107a0], eax
call esi
push eax
call fcn.00409f7b
mov dword [esp], 0x4038fc
push edi
mov dword [0x8107a4], eax
call esi
push eax
call fcn.00409f7b
mov dword [esp], 0x4038e0
push edi
mov dword [0x8107a8], eax
call esi
push eax
call fcn.00409f7b
pop ecx
mov dword [0x8107b0], eax
test eax, eax
je 0x411f38
push 0x4038c8
push edi
call esi
push eax
call fcn.00409f7b
pop ecx
mov dword [0x8107ac], eax
mov eax, dword [0x8107ac]
cmp eax, ebx
je 0x411f90
cmp dword [0x8107b0], ebx
je 0x411f90
push eax
call fcn.00409ff6
push dword [0x8107b0]
mov esi, eax
call fcn.00409ff6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x411f90
test edi, edi
je 0x411f90
call esi
test eax, eax
je 0x411f87
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411f87
test byte [ebp - 0xc], 1
jne 0x411f90
or dword [ebp + 0x10], 0x200000
jmp 0x411fc9
mov eax, dword [0x8107a4]
cmp eax, ebx
je 0x411fc9
push eax
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fc9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x411fc9
mov eax, dword [0x8107a8]
cmp eax, ebx
je 0x411fc9
push eax
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fc9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8107a0]
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fe9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411feb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b635
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
or ecx, ebx
mov ecx, ebx
call fcn.0043b65e
add ebx, ebx
xor dword [edx], esi
push ebx
pop ebx
inc edx
sub ebx, 0xa2d9c22
cmp edx, edi
jne fcn.0043b635
sub ebx, ebx
dec ebx
ret
Function at 0x6c3370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6c338e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x6ec074
push ecx
mov edi, eax
call fcn.006d7198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6c33cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006d702e
push esi
call fcn.006d6fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret