joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4484d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4484fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4484fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1c456c81
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x1c456ca1
mov eax, 0x80004005
jmp 0x1c456d09
lea eax, [ebp - 4]
push eax
push 0x2000000
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1c456d07
xor edi, edi
lea eax, [ebp - 0x10]
lea ecx, [ebp - 8]
push eax
lea edx, [ebp - 0x114]
mov dword [ebp - 8], 0x104
push edi
push edi
push edi
push ecx
push edx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1c456cf4
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 4]
call fcn.1c4dbff2
jmp 0x1c456cbc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1c4d652c
Capabilities:
Encode data using xor

Disassembly:
call 0x1c4d64a5
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1c4d64d5
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1c4d64f1
xor edx, 0
jmp 0x1c4d64fc
xor edx, edx
jmp 0x1c4d6513
jmp 0x1c4d651f
xor eax, eax
push 0x8427d7c0
call 0x1c4d652c
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1c4d6568
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1c4d6541
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1c4d657f
add eax, 0
jno 0x1c4d6584
add esi, 0
ret 0x10

Function at 0x1c4d72ed
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1c4d730f
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1c4d74b1
cmp edi, dword [ebp + 0x10]
jb 0x1c4d74b1
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1c4d6dd9
inc edi
jmp 0x1c4d7398
jmp 0x1c4d73a5
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1c4d6dd9
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1c4d6dd9
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1c4d73f9
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1c4d73dd
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1c4d7427
add dword [eax], 0x39
jle 0x1c4d7403
sub al, 0xf5
mov ch, al
call fcn.1c4d743c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1c4d9114
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1c4d912a
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1c4d913b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1c4d917c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1c4db4e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1c4db431
add ebx, 0
push ecx
call 0x1c4db446
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6cc2d010
sub ebx, dword [0x6cc4c84f]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cc4c83f
call fcn.1c4d6f10
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1c4d641e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1c4db5a4
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1c4db5a4
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1c4db55b
mov eax, 1
lock xchg dword [0x6cc4c84b], eax
push 0x3dd1fc71
call 0x1c4db4e8
push esi
add esp, 8
cmp eax, 0
jne 0x1c4db4d1
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1c4db4f7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1c4db50c
cmp ecx, edx
cmp eax, 0
je 0x1c4db531
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1c4db51b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1c4db54a
dec eax
loope 0x1c4db54d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cc4c84b], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1c4db581
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1c4db596
jmp 0x1c4db5a1
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1c4db48f
Function at 0x1c4e2609
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1c4e28df
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cc394c3
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cc30489
push 0xffffffffffffffff
call fcn.1c4d9809
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1c4e2673
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1c4e268b
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1c4e28d3
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1c4e28a7
Function at 0x1c4f20d9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1c4f20fb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1c4f20fb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1c4f20fb
ret
cmp word [ebx + 4], 0x14c
jne 0x1c4f20fb
test word [ebx + 0x16], 2
je 0x1c4f20fb
test word [ebx + 0x16], 0x100
je 0x1c4f20fb
cmp word [ebx + 0x18], 0x10b
jne 0x1c4f20fb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1c4f20fb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1c4f2187
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1c4f211b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1c4d9066
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1c4f20fb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1c4f2187
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1c4f20fb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1c4f20fb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1c4f20fb
ret
cmp word [ebx + 4], 0x14c
jne 0x1c4f20fb
test word [ebx + 0x16], 2
je 0x1c4f20fb
test word [ebx + 0x16], 0x100
je 0x1c4f20fb
cmp word [ebx + 0x18], 0x10b
jne 0x1c4f20fb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1c4f20fb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1c4f2187
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1c4f211b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1c4d9066
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1c4f20fb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1c4f223e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1c4f2297
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1c4f223e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1c4f224d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1c8f7ef0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1c4f229e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1c4d9114
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1c4f233d
add edi, 4
add eax, 2
dec ecx
jne 0x1c4f2283
call 0x1c4f22ea
loope 0x1c4f22e0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1c4f233a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1c4f234b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1c4f22fe
cmp eax, ecx
ja 0x1c4f22fe
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1c4f2388
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1c4f237e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1c4d95f3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1c4f224d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1c4f2297
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1c4f223e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1c4f224d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1c8f7ef0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1c4f229e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1c4d9114
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1c4f233d
add edi, 4
add eax, 2
dec ecx
jne 0x1c4f2283
call 0x1c4f22ea
loope 0x1c4f22e0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1c4f233a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1c4f234b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1c4f22fe
cmp eax, ecx
ja 0x1c4f22fe
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1c4f2388
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1c4f237e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1c4d95f3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4128de
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b3ff
and dword [ebp - 0x14], 0
cmp dword [0x430284], 0
mov dword [ebp - 0x18], eax
jne 0x412991
push 0x403e40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412a39
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e34
push ebx
call edi
test eax, eax
je 0x412a39
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e24
push ebx
mov dword [0x430284], eax
call edi
push eax
call esi
push 0x403e10
push ebx
mov dword [0x430288], eax
call edi
push eax
call esi
push 0x403df4
push ebx
mov dword [0x43028c], eax
call edi
push eax
call esi
mov dword [0x430294], eax
test eax, eax
je 0x412991
push 0x403ddc
push ebx
call edi
push eax
call esi
mov dword [0x430290], eax
mov eax, dword [0x430290]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4129ea
cmp dword [0x430294], ecx
je 0x4129ea
push eax
call esi
push dword [0x430294]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4129ea
test ebx, ebx
je 0x4129ea
call edi
test eax, eax
je 0x4129e1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4129e1
test byte [ebp - 8], 1
jne 0x4129ea
or dword [ebp + 0x10], 0x200000
jmp 0x412a1d
mov eax, dword [0x430288]
cmp eax, dword [ebp - 0x18]
je 0x412a1d
push eax
call esi
test eax, eax
je 0x412a1d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412a1d
mov eax, dword [0x43028c]
cmp eax, dword [ebp - 0x18]
je 0x412a1d
push eax
call esi
test eax, eax
je 0x412a1d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x430284]
call esi
test eax, eax
je 0x412a39
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412a3b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040935b
leave
ret
Function at 0x1001195f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1001196e
pop dword [ebp - 0xc]
mov eax, 0x614cba8b
add eax, 0xaeb45ee3
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x5bccd
push 0
mov eax, 0x8c171943
add eax, 0x83e8f7e1
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x4fb1
xor esi, esi
add esi, eax
mov edx, 0x6202140e
add edx, 0xae07f7f2
add edx, dword [ebp - 0xc]
mov ebx, 0x4782f686
add ebx, 0x1f2996ba
mov edi, dword [edx]
sub dword [ebp - 4], 0x69153883
xor edi, ebx
add dword [ebp - 4], edx
mov dword [esi], edi
add esi, 0xee9f027
sub esi, 0xee9f023
add edx, 0xc2af2ef2
sub edx, 0xc2af2eee
loop 0x100119c9
add eax, 0xbd1fde9
sub eax, 0xbd0cc52
mov ebx, eax
add eax, 0x7b2f02f4
sub eax, 0x7b2f02ef
mov ecx, 0x5e0342e5
sub ecx, 0x4e0342e5
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x1004605f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100870c0]
jne 0x10046069
repz ret
jmp fcn.1004ef8a
Function at 0x1004eda7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10087268]
je 0x1004edc2
inc edi
cmp edi, 0x17
jb 0x1004edb3
cmp edi, 0x17
jae 0x1004ef42
push ebp
push 3
call fcn.10055799
cmp eax, 1
pop ecx
je 0x1004ef0e
push 3
call fcn.10055799
test eax, eax
pop ecx
jne 0x1004edf6
cmp dword [0x1008894c], 1
je 0x1004ef0e
cmp ebx, 0xfc
je 0x1004ef41
push 0x1000ae6c
mov ebx, 0x314
push ebx
mov ebp, 0x10088b00
push ebp
call fcn.1004bc25
add esp, 0xc
test eax, eax
je 0x1004ee2c
push esi
push esi
push esi
push esi
push esi
call fcn.1004fb11
add esp, 0x14
push 0x104
mov esi, 0x10088b19
push esi
push 0
mov byte [0x10088c1d], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1004ee70
push 0x1000ae54
push 0x2fb
push esi
call fcn.1004bc25
add esp, 0xc
test eax, eax
je 0x1004ee70
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1004fb11
add esp, 0x14
push esi
call fcn.10055430
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1004eeb5
push esi
call fcn.10055430
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10088e14
push 0x1000a540
sub ecx, eax
push ecx
push eax
call fcn.1001195f
add esp, 0x14
test eax, eax
je 0x1004eeb5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1004fb11
add esp, 0x14
jmp 0x1004eeb7
xor esi, esi
push 0x1000ae50
push ebx
push ebp
call fcn.1004bbb4
add esp, 0xc
test eax, eax
je 0x1004eed7
push esi
push esi
push esi
push esi
push esi
call fcn.1004fb11
add esp, 0x14
push dword [edi*8 + 0x1008726c]
push ebx
push ebp
call fcn.1004bbb4
add esp, 0xc
test eax, eax
je 0x1004eef9
push esi
push esi
push esi
push esi
push esi
call fcn.1004fb11
add esp, 0x14
push 0x12010
push 0x1000ae28
push ebp
call fcn.1001195f
add esp, 0xc
jmp 0x1004ef41
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1004ef41
cmp ebp, 0xffffffff
je 0x1004ef41
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1008726c]
push dword [esi]
call fcn.10055430
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.kernel32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4a117c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401feb
mov eax, dword [0x59a3f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00406b45
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4a11be
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4a131a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406cd0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x59f720]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004037a6
mov ecx, dword [esi*4 + 0x59f720]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4a1313
cmp eax, dword [edi + ecx + 0x24]
jne 0x4a1313
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1313
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004037a6
add esp, 0x14
test edx, edx
jl 0x4a1313
jg 0x4a1289
test eax, eax
jb 0x4a1313
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4a1313
jl 0x4a12a3
cmp dword [ebp - 0x1008], eax
ja 0x4a1313
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4a12c1
test ebx, ebx
je 0x4a12fa
cmp ecx, edi
jae 0x4a12fa
mov al, byte [ecx]
cmp al, 0xd
jne 0x4a12db
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4a12e7
cmp byte [ecx + 1], 0xa
jne 0x4a12e7
inc ecx
jmp 0x4a12e7
movzx eax, al
movsx eax, byte [eax + 0x59af58]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4a12c1
cmp edx, ebx
jne 0x4a12c1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4a1318
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040354e
leave
ret
Function at 0x4a6a41
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x59a3f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a6a8c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a6f03
test al, al
jne 0x4a6a86
sub edx, 2
cmp edx, edi
jne 0x4a6a6c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a6aae
lea eax, [edi + 2]
cmp edx, eax
je 0x4a6aae
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a663a
add esp, 0x10
jmp 0x4a6ba8
push esi
lea ecx, [ebp - 0x255]
call fcn.004a6f03
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a6af1
push dword [ebp - 0x25c]
jmp 0x4a6a9e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a6b2e
cmp word [ebp - 0x226], 0
je 0x4a6b4f
cmp word [ebp - 0x226], ax
jne 0x4a6b2e
cmp word [ebp - 0x224], 0
je 0x4a6b4f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a663a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a6b9b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a6b08
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a6b83
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a6ba8
push 0x4a6022
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00406091
add esp, 0x10
jmp 0x4a6b78
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040354e
leave
ret