joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c4b0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5c07e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46ac3b
je 0x46ac8e
cmp ebx, 0x20
jbe 0x46ac94
cmp ebx, 0x40
jbe 0x46acda
jmp 0x46ad7b
test ebx, ebx
je 0x46ac84
add eax, 0x10
test ax, 0xff0
je 0x46ac70
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x50e080]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x50e180]
jmp 0x46ac58
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46ac58
pxor xmm1, xmmword [0x5c07f0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5c07f0]
pxor xmm2, xmmword [0x5c0800]
pxor xmm3, xmmword [0x5c0810]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5c07f0]
pxor xmm2, xmmword [0x5c0800]
pxor xmm3, xmmword [0x5c0810]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46adda
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5c0489], 0
je 0x46c4ca
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46ac00
jmp fcn.004088c0
Function at 0x46c4d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x5c05a8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4036fc
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004088c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0046b200
jmp 0x4036c0
cmp byte [0x5c0489], 0
je 0x46c4eb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x46ac00
jmp 0x4036c0

Function at 0x46d370
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46d38a
mov ecx, 0x14
jmp 0x46d393
shl ecx, 2
add ecx, 0xe10
mov dword [0x5c05a8], ecx
ret
Function at 0x4932e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5c05a8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4933da
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x493320
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x493359
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.00470ac0
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x493313
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x493363
inc eax
cmp eax, 4
jge 0x493379
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x4933d3
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.00470b00
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x49339c
jmp 0x493362
call fcn.0046b200
jmp fcn.004932e0
Function at 0x49c8c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5c05a8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49caaa
sub esp, 0x48
mov eax, dword [0x59d590]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.004995d0
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0046ccfe
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0046ccfe
call fcn.00499250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.0045f3b0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x49c997
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x49c9b1
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x49ca28
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x49c9fe
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x49c9fa
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x49c9f3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x49ca00
mov ebx, 0x1d
jmp 0x49ca1e
mov ebp, eax
jmp 0x49ca00
mov ebp, eax
cmp ebp, 0xd
jae 0x49ca9d
lea eax, [ebp - 1]
lea edx, [0x594960]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x49ca93
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x49ca28
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x49ca5a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x49ca62
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call fcn.0046c680
mov eax, ebp
mov ecx, 0xd
call fcn.0046c680
nop
call fcn.0046b200
jmp fcn.0049c8c0
Function at 0x4b1980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5c05a8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b1a8f
sub esp, 0xc
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4b19fd
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jb 0x4b1a89
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp edx, ebx
je 0x4b19d8
mov ebp, edx
lea esi, [ebx + ecx - 1]
nop
cmp esi, edx
jb 0x4b19d6
lea esi, [ebp + ecx - 1]
cmp esi, ebx
jae 0x4b1a71
mov edx, ebp
mov ebx, dword [esp + 0x20]
jmp 0x4b19d8
mov edx, ebp
lea eax, [ecx - 1]
mov ebp, dword [esp + 0x18]
cmp ebp, eax
jbe 0x4b1a6a
mov eax, dword [esp + 0x10]
movzx ebp, byte [eax + 0x400]
movzx esi, byte [eax + 0x401]
xor edi, edi
jmp 0x4b1a4e
add esp, 0xc
ret
movzx ebx, byte [ebx + edi]
inc ebp
xchg ebp, eax
mov byte [esp + 0xb], al
xchg ebp, eax
xchg ebp, eax
movzx ecx, al
xchg ebp, eax
mov ebp, dword [eax + ecx*4]
add esi, ebp
xchg esi, eax
mov byte [esp + 0xa], al
xchg esi, eax
xchg esi, eax
movzx eax, al
xchg esi, eax
mov edx, dword [eax + esi*4]
mov dword [eax + ecx*4], edx
mov dword [eax + esi*4], ebp
lea ecx, [ebp + edx]
movzx ecx, cl
xor ebx, dword [eax + ecx*4]
mov edx, dword [esp + 0x14]
mov byte [edx + edi], bl
inc edi
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
movzx ebp, byte [esp + 0xb]
movzx esi, byte [esp + 0xa]
cmp ecx, edi
jg 0x4b1a01
xchg ebp, ebx
mov byte [eax + 0x400], bl
xchg ebp, ebx
xchg esi, ebx
mov byte [eax + 0x401], bl
xchg esi, ebx
add esp, 0xc
ret
mov ecx, ebp
call fcn.0046c680
lea eax, [0x4cfc60]
mov dword [esp], eax
lea eax, [0x50d6a8]
mov dword [esp + 4], eax
call fcn.00466390
call fcn.0046c6c0
nop
call fcn.0046b200
jmp fcn.004b1980
Function at 0x1188b90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7ea000]
mov dword [edi + 0xcff464], 0xcf0de7cd
push edi
jmp 0x1188bba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1188bc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1188bb0
mov eax, 1
add ebx, ebx
jne 0x1188bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1188be4
jne 0x1188c03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1188c03
dec eax
add ebx, ebx
jne 0x1188bf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1188bc8
add ebx, ebx
jne 0x1188bff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1188c55
xor ecx, ecx
sub eax, 3
jb 0x1188c1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1188c8a
sar eax, 1
mov ebp, eax
jmp 0x1188c26
add ebx, ebx
jne 0x1188c26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1188bf4
inc ecx
add ebx, ebx
jne 0x1188c34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1188bf4
add ebx, ebx
jne 0x1188c41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1188c36
jne 0x1188c52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1188c36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1188c74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1188c66
jmp 0x1188bb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1188c74
add edi, ecx
jmp 0x1188bb6
pop esi
mov edi, esi
mov ecx, 0x4008a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1188c92
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1188c97
lea edi, [esi + 0xd59000]
mov eax, dword [edi]
or eax, eax
je 0x1188d08
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd8863c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd88790]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1188cbd
mov ecx, edi
jns 0x1188cec
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd88798]
or eax, eax
je 0x1188d02
mov dword [ebx], eax
add ebx, 4
jmp 0x1188cda
call dword [esi + 0xd88794]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1188d39
cmp al, 0xef
ja 0x1188d2c
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1188d0e
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1188d1b
mov ebp, dword [esi + 0xd8879c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1188d6d
sub esp, 0xffffff80
jmp 0xb94a3b
Function at 0x4175bb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004092fb
mov dword [ebp - 0x14], eax
cmp dword [0x4432c0], esi
jne 0x4176ae
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41763b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41778e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41778e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41778e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4432c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4432c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4432c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4432d0], eax
test eax, eax
je 0x4176ab
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4432cc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4176d3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4176c6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4176e8
push 4
pop eax
jmp 0x417790
cmp dword [ebp - 0x14], esi
je 0x4176e8
push dword [0x4432c0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4176cd
mov eax, dword [0x4432cc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x417746
cmp dword [0x4432d0], edi
je 0x417746
push eax
call ebx
push dword [0x4432d0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x417746
test eax, eax
je 0x417746
call ecx
test eax, eax
je 0x41773b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41773b
test byte [ebp - 8], 1
jne 0x417746
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417776
mov eax, dword [0x4432c4]
cmp eax, edi
je 0x417773
push eax
call ebx
test eax, eax
je 0x417773
call eax
mov esi, eax
test esi, esi
je 0x417773
mov eax, dword [0x4432c8]
cmp eax, edi
je 0x417773
push eax
call ebx
test eax, eax
je 0x417773
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4432c0]
call ebx
test eax, eax
je 0x41778e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417790
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405707
mov esp, ebp
pop ebp
ret
Function at 0x41d1c8
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x420701
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x42b4d0]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov eax, dword [0x42b4d0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, 0x4432e0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d211
sub ecx, edx
xor edi, edi
cmp ecx, 0x24f3f
jne 0x41d332
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x3c21
jne 0x41d332
push 0x446820
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xb05b5
jne 0x41d332
push edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
lea eax, [esp + 0xd4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea eax, [esp + 0x18]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_ObjectOpenAuditAlarmA]
push edi
call dword [sym.imp.KERNEL32.dll_HeapLock]
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
lea eax, [esp + 0x10]
push eax
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
call dword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
movsd xmm0, qword [0x4279c0]
push 0x6d
push ecx
push ecx
movsd qword [esp], xmm0
push 0x427812
push str._s__f__c
call fcn.00406296
add esp, 0x14
push 0x427860
push 0x427864
push esi
call fcn.0040583a
pop ecx
lea ecx, [esp + 0x2c]
call fcn.004023e4
mov dword [esp + 0x100], edi
push ecx
lea ecx, [esp + 0x38]
call fcn.004022e3
push ecx
lea ecx, [esp + 0x38]
call fcn.004021e2
or dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.00402464
lea ecx, [esp + 0x8c]
call fcn.00401e95
mov esi, edi
lea eax, [esp + 0xd4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetMenuInfo]
cmp esi, 0x2a9cb3
jle 0x41d362
cmp dword [esp + 0xdc], 0x5ce5b261
je 0x41d362
cmp dword [esp + 0x1c], 0x154965f4
jne 0x41d36b
inc esi
cmp esi, 0x33cc449d
jl 0x41d334
cmp dword [0x466ab8], 0x12a
jne 0x41d38f
push edi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
call fcn.0041d3bb
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00405707
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402200
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x402387
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4022ba
lea ecx, [ebp - 0x24]
push 0x433ff0
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x4022b4
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 4
push 0x1000
mov eax, dword [ebx + 0xc]
push esi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x402368
ret
lea eax, [ebp - 0x28]
push 0x433ff0
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x4022fc
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4023a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov eax, dword [eax]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov cx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edx]
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jge 0x402521
mov eax, dword [edi + 0x24]
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 0x402447
lea edx, [ebp - 0x24]
push 0x433ff0
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4b
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 0x4000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0x402505
ret
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov ecx, dword [edx*4 + 0x56b030]
mov dword [ebp - 0x1c], ecx
je 0x402466
mov eax, ecx
or ah, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x4024c8
lea edx, [ebp - 0x28]
push 0x433ff0
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x4024a7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x4024bc
ret
test al, 0x80
je 0x4024b6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov eax, 0x4024bc
ret
jbe 0x40250c
lea ecx, [ebp - 0x2c]
push 0x433ff0
push ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x402505
ret
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc ecx
add edi, 0x28
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
jmp 0x4023da
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret