joyce8/EMBER2024-capa huggingface dataset:
Function at 0x199e194
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add edx, edx
inc edx
test edx, edx
js 0x199e1b0
mov ecx, dword [eax + edx*4]
dec edx
push ecx
jns 0x199e1a9
mov dword [ebp + 0x10], esp
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea ebx, [ecx + 1]
mov eax, ebx
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ebx, ebx
jle 0x199e1ea
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp ebx, 1
jle 0x199e211
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp ebx, 2
jle 0x199e238
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp ebx, 3
jle 0x199e25f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x24], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [esi + 0x20]
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 8], eax
mov word [ebp - 2], 0
mov word [ebp - 2], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call fcn.0199e29f

Function at 0x199e334
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
cmp dword [ebp + 8], 0
je 0x199e3a5
cmp dword [ebp + 0x10], 0
jne 0x199e34a
cmp dword [ebp + 0xc], 0
je 0x199e3a5
cmp dword [ebp + 0x14], 0
je 0x199e3a5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x33
call fcn.0199e365
pop ecx
pop ecx
pop ebp
ret

Function at 0x199e3ac
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
cmp dword [ebp + 8], 0
je 0x199e430
cmp dword [ebp + 0x10], 0
jne 0x199e3c4
cmp dword [ebp + 0xc], 0
je 0x199e430
cmp dword [ebp + 0x14], 0
je 0x199e430
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x33
call fcn.0199e3e3
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x199e438
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x33
call fcn.0199e453
Function at 0x199ec48
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x12be936
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x199ec97
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x199ecb6
mov ecx, edx
add ecx, ebx
jmp 0x199ecb6
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x199ecb6
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x199ed28
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x199ed11
test esi, esi
jbe 0x199ed28
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.018d8910
test eax, eax
jne 0x199ed03
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x199ed28
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x199ece0
jmp 0x199ed28
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x199ed28
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12be93d
ret
Function at 0x199ffc8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x12bfde3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.018d2c68
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x19a0003
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x19a001c
lea eax, [ebp - 0x10]
mov edx, dword [0x1310760]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.018d2cc8
jmp 0x19a002f
lea eax, [ebp - 0x10]
mov edx, dword [0x1310760]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.018d2cc8
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x19a003b
adc edx, 0
mov edx, dword [edx*4 + 0x130ed0c]
call fcn.018d2ec8
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.018d2eac
push eax
call fcn.018d4e50
mov esi, eax
cmp esi, 0xffffffff
je 0x19a01b5
mov eax, 0x40
call fcn.018d0b24
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.018d5280
test eax, eax
je 0x19a01a8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x19a01a8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.018d52f8
mov eax, edi
call fcn.018d0b44
mov eax, 0x18
call fcn.018d0b24
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.018d5280
test eax, eax
je 0x19a01a8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x19a01a8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x19a0146
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x19a0146
mov eax, edi
call fcn.018d0b44
mov eax, 0xf0
call fcn.018d0b24
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.018d5280
test eax, eax
je 0x19a0146
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x19a0146
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.018d2ca4
cmp byte [ebp - 1], 0
jne 0x19a01a8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x19a01a8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x19a01a8
mov eax, edi
call fcn.018d0b44
mov eax, 0xe0
call fcn.018d0b24
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.018d5280
test eax, eax
je 0x19a01a8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x19a01a8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.018d2ca4
mov eax, edi
call fcn.018d0b44
push esi
call fcn.018d4e08
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.018d2fd4
jne 0x19a01cd
inc ebx
cmp ebx, 0x19
jne 0x199fff5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12bfdea
lea eax, [ebp - 0x10]
call fcn.018d2c68
ret
Function at 0x19af56c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x19af5ff
xor ebx, ebx
mov byte [ebp - 9], 0
lea eax, [ebp - 0x110]
mov ecx, 0x100
mov edx, dword [ebp + 8]
call fcn.0192d27c
dec edi
test edi, edi
jl 0x19af5ff
inc edi
mov dword [ebp - 0x10], edi
xor edx, edx
inc ebx
mov esi, ebx
and esi, 0xff
mov al, byte [ebp + esi - 0x110]
add byte [ebp - 9], al
xor ecx, ecx
mov cl, byte [ebp - 9]
mov cl, byte [ebp + ecx - 0x110]
mov byte [ebp + esi - 0x110], cl
xor ecx, ecx
mov cl, byte [ebp - 9]
mov byte [ebp + ecx - 0x110], al
add al, byte [ebp + esi - 0x110]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x10]
jne 0x19af5a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x19b5704
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x19b57a7
lea eax, [ebp - 0x10c]
mov ecx, 0x100
mov edx, dword [ebp + 8]
call fcn.018d5cfc
xor edx, edx
xor ecx, ecx
dec ebx
test ebx, ebx
jl 0x19b57a7
inc ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x10c]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x10c]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x10c], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x10c], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x10c]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x10c]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0xc]
jne 0x19b5742
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x19b57b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x19b5853
lea eax, [ebp - 0x10c]
mov ecx, 0x100
mov edx, dword [ebp + 8]
call fcn.018d5cfc
xor edx, edx
xor ecx, ecx
dec ebx
test ebx, ebx
jl 0x19b5853
inc ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x10c]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x10c]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x10c], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x10c], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x10c]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x10c]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0xc]
jne 0x19b57ee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x19bfd30
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x19bfd44
call fcn.019bf97c
pushal
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x1318adc]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x19bfdb4
mov eax, dword [0x13105fc]
mov eax, dword [eax]
mov eax, dword [eax + 0x184]
mov ebx, eax
mov edx, dword [0x13105fc]
mov esi, eax
mov edx, dword [0x13105fc]
mov edx, dword [edx]
add esi, dword [edx + 0x2fc]
mov edx, dword [0x13105fc]
mov edi, eax
mov eax, dword [0x13105fc]
mov eax, dword [eax]
add edi, dword [eax + 0x300]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call esi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x19c111f
add edx, ebx
mov eax, edx
mov edi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x20]
add edx, ebx
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffff
jbe 0x19c1103
test edi, edi
jbe 0x19c111f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.018d8910
test eax, eax
jne 0x19c10f4
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x19c111f
add ebx, esi
mov esi, ebx
jmp 0x19c111f
add dword [ebp - 8], 2
add dword [ebp - 4], 4
dec edi
test edi, edi
ja 0x19c10c9
jmp 0x19c111f
mov edi, edx
sub edi, dword [eax + 0x10]
cmp edi, dword [eax + 0x14]
jae 0x19c111f
mov eax, edi
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x19c111f
add ebx, esi
mov esi, ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x19d2594
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x19d25c5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x19d25ad
add dl, dl
jne 0x19d25d0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x19d2621
xor eax, eax
add dl, dl
jne 0x19d25dd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x19d26be
add dl, dl
jne 0x19d25ec
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d25f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d2602
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d260d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x19d2617
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x19d25bc
mov eax, 1
add dl, dl
jne 0x19d262f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x19d263a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x19d2626
sub eax, ebx
mov ebx, 1
jne 0x19d266d
mov ecx, 1
add dl, dl
jne 0x19d2653
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x19d265e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x19d264a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x19d25bc
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x19d2684
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x19d268f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x19d267b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x19d25bc
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x19d26df
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x19d25bc
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x40c3a9
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040c559
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 0x40c4a7
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 0x40c44a
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40c48d
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40c461
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40c47c
test al, 0x40
je 0x40c473
mov ecx, dword [edi + 0x20]
jmp 0x40c47a
test al, 0x80
je 0x40c48d
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40c48d
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 0x40c419
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41c05d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041d01d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041d01d
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x41c0d9
mov eax, dword [0x50c844]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0xe
call fcn.0041d035
cmp dword [ebp - 0x18], esp
je 0x41c105
push 6
call fcn.0041d02f
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x20
call fcn.0041d035
cmp dword [ebp - 0x18], esp
je 0x41c133
push 6
call fcn.0041d02f
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x21
call fcn.0041d035
cmp dword [ebp - 0x18], esp
je 0x41c15f
push 6
call fcn.0041d02f
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x22
call fcn.0041d035
cmp dword [ebp - 0x18], esp
je 0x41c1ee
push 6
call fcn.0041d02f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0xf
call fcn.0041d035
cmp dword [ebp - 0x18], esp
je 0x41c213
push 6
call fcn.0041d02f
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x41c21b
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041d023
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041d023
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x42b050
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49837b
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.0048a8cf
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42b0d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004882ad
mov eax, dword [eax]
push 0x4fd244
push eax
call fcn.0047ac34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048ab5a
test bl, bl
je 0x42b0d2
push 0x4fd244
lea ecx, [esp + 0xc]
call fcn.0048af36
push 0x500dbc
lea ecx, [esp + 0xc]
call fcn.0048af36
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 0x42b10e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048ab5a
jmp 0x42b1d9
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 0x42b192
lea edx, [esp + 0x7c]
push 0x500db8
push edx
call fcn.0047ac34
add esp, 8
test eax, eax
je 0x42b192
lea eax, [esp + 0x7c]
push 0x500db4
push eax
call fcn.0047ac34
add esp, 8
test eax, eax
je 0x42b192
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 0x42b122
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.0048ab5a
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 0x42b9d0
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 0x42ba32
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 0x42ba40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4983fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5080d4]
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 0x42bb78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42baa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048ab5a
xor eax, eax
jmp 0x42bbef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048ace3
push esi
lea ecx, [esp + 0xc]
call fcn.0048af72
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x500df4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42bbcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0042b9d0
test eax, eax
jne 0x42bbcd
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 0x80000000
mov ecx, edi
call fcn.0042b9d0
test eax, eax
jne 0x42bbcd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0047bde0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42bbac
lea ecx, [esp + 0x14]
push 0x500dcc
push ecx
call fcn.0047bd60
mov esi, eax
add esp, 8
test esi, esi
jne 0x42bbac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42bbaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048ac93
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42babe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048ab5a
xor eax, eax
jmp 0x42bbef
mov byte [esi], 0
push 0x500dc8
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.0048ab5a
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