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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0x5a4d
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp word [esi], ax
jne 0x12d18b7
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x12d18b7
mov eax, dword [edi + 0x688]
test eax, eax
je 0x12d18b7
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x12d18b7
mov eax, 0x1c0
cmp word [ebp - 4], ax
je 0x12d17bc
mov eax, 0xaa64
cmp word [ebp - 4], ax
jne 0x12d18b7
cmp dword [ebx + 8], 0x27debf2c
jne 0x12d17e7
push 0x4b2e8f83
push 0x4b2e8de3
push 0x4b280000
mov edx, esi
mov ecx, edi
call fcn.012d16ce
add esp, 0xc
xor eax, eax
jmp 0x12d18bc
cmp dword [ebx + 8], 0x88330560
jne 0x12d17fc
push 0x4b3fabde
push 0x4b3fa92b
jmp 0x12d17cf
cmp dword [ebx + 8], 0xe892dd44
jne 0x12d1811
push 0x4b406b8e
push 0x4b4068db
jmp 0x12d17cf
and dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push 0
push 1
push ecx
push 0x2bcd03a7
push esi
mov ecx, edi
call fcn.012d1dc7
test eax, eax
js 0x12d18bc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x12d18b7
lea eax, [ebx - 0x140]
mov dword [ebp - 0x1c], 0x3f3f3fe8
push 8
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x843f
push ecx
mov edx, 0x140
mov byte [ebp - 0x16], 0xc0
mov ecx, eax
mov dword [ebp - 0x24], 0x1b8
mov word [ebp - 0x20], 0x8400
mov byte [ebp - 0x1e], 0xc0
mov dword [ebp - 0x10], eax
call fcn.012d232b
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x12d1887
mov ecx, dword [ebp - 0x10]
mov edx, 0x140
jmp 0x12d18a4
push 7
lea eax, [ebp - 0x1c]
mov edx, 0x200
push eax
mov ecx, ebx
call fcn.012d232b
test eax, eax
jne 0x12d18c1
mov edx, 0x200
mov ecx, ebx
push 8
lea eax, [ebp - 0x24]
push eax
call fcn.012d232b
test eax, eax
jne 0x12d17e0
mov eax, 0xe0010001
pop edi
pop esi
pop ebx
leave
ret
push eax
push dword [ebp - 0x14]
push esi
jmp 0x12d17d4

Function at 0x12d21b3
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x12d21d1
mov eax, dword [ecx + 0x3c]
cmp eax, 0x400
jg 0x12d21d1
add eax, ecx
cmp dword [eax], 0x4550
je 0x12d21d3
xor eax, eax
ret
Function at 0x12d5584
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x12d5597
mov esi, 1
mov edx, 0x12dc264
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x12dc28c
jl 0x12d55d4
mov eax, 1
mov byte [0x12da064], 0x63
mov byte [0x12db1c7], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x12da064], bl
mov byte [ebx + 0x12db164], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x12d5614
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x12da064]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x12da164], ecx
rol ecx, 8
mov dword [esi*4 + 0x12da564], ecx
rol ecx, 8
mov dword [esi*4 + 0x12da964], ecx
rol ecx, 8
mov dword [esi*4 + 0x12dad64], ecx
movzx ecx, byte [esi + 0x12db164]
test ecx, ecx
je 0x12d5743
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x12d574c
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x12db264], eax
rol eax, 8
mov dword [esi*4 + 0x12db664], eax
rol eax, 8
mov dword [esi*4 + 0x12dba64], eax
rol eax, 8
mov dword [esi*4 + 0x12dbe64], eax
inc esi
cmp esi, 0x100
jl 0x12d5689
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x12d57a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x12d57ba
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x12d590e
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x12d5856
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.012d6ad4
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x12d5827
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x12d5827
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x12d5814
mov eax, dword [ebp + 0x14]
jmp 0x12d5837
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x12d57ea
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x12d5882
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x12d5890
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x12d58c1
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x12d58c1
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x12d58a4
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x12d58ce
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x12d58de
call fcn.012d7064
jmp 0x12d58e3
call fcn.012d6ad4
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x12d5874
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12d5954
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.012d5b54
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x12d5b48
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x12d5b2f
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x12da064]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x12dbe64]
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12dba64]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db664]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db264]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12da064]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12dba64]
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db664]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12dbe64]
movzx eax, bl
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db264]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12da064]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12dba64]
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db664]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12dbe64]
movzx eax, bl
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db264]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12da064]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12dba64]
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db664]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12dbe64]
movzx eax, bl
movzx eax, byte [eax + 0x12da064]
xor edx, dword [eax*4 + 0x12db264]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x12d59d4
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x12d7c34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
mov word [edi], cx
test eax, eax
je 0x12d7e1f
push ebx
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x12d7e1e
nop dword [eax]
mov dword [ebp - 0x1c], 0x49cb
mov eax, dword [ebp - 0x1c]
xor eax, 0x25
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x1c]
inc eax
xor eax, 0x30
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x1c]
add eax, 2
xor eax, 0x32
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x1c]
add eax, 3
xor eax, 0x58
mov word [ebp - 0x12], ax
xor eax, eax
mov word [ebp - 0x10], ax
xor edx, edx
mov ax, word [ebp - 0x18]
mov ax, word [ebp + edx*2 - 0x18]
mov ecx, dword [ebp - 0x1c]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x18], cx
inc edx
cmp edx, 4
jb 0x12d7ca6
xor eax, eax
mov word [ebp - 0x10], ax
movsx eax, byte [esi + ebx + 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 0x754]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x12d7d3f
mov dword [ebp - 0xc], 0x298
mov eax, dword [ebp - 0xc]
xor eax, 0x25
mov word [ebp - 8], ax
mov eax, dword [ebp - 0xc]
inc eax
xor eax, 0x6c
mov word [ebp - 6], ax
mov eax, dword [ebp - 0xc]
add eax, 2
xor eax, 0x73
mov word [ebp - 4], ax
xor eax, eax
mov word [ebp - 2], ax
mov ax, word [ebp - 8]
xor eax, eax
mov cx, word [ebp + eax*2 - 8]
mov edx, dword [ebp - 0xc]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 8], dx
inc eax
cmp eax, 3
jb 0x12d7d1a
xor eax, eax
mov word [ebp - 2], ax
lea eax, [ebp - 8]
jmp 0x12d7d98
mov dword [ebp - 0x3c], 0x412c
mov eax, 0x4109
mov word [ebp - 0x38], ax
mov eax, 0x4140
mov word [ebp - 0x36], ax
mov eax, 0x415f
mov word [ebp - 0x34], ax
mov eax, 0x4101
mov word [ebp - 0x32], ax
xor eax, eax
mov word [ebp - 0x30], ax
xor edx, edx
mov ax, word [ebp - 0x38]
mov ax, word [ebp + edx*2 - 0x38]
movzx ecx, ax
movzx eax, word [ebp - 0x3c]
xor ecx, eax
mov word [ebp + edx*2 - 0x38], cx
inc edx
cmp edx, 4
jb 0x12d7d76
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x450]
push eax
mov eax, dword [esi + 0x754]
call eax
mov eax, 0x2a
mov ecx, 0x71
mov word [ebp - 0x2a], ax
mov edx, 0x78
mov word [ebp - 0x28], cx
add esp, 0xc
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], ax
xor eax, eax
mov word [ebp - 0x22], cx
xor ecx, ecx
mov word [ebp - 0x20], dx
mov word [ebp - 0x1e], ax
mov ax, word [ebp - 0x2a]
nop dword [eax + eax]
mov ax, word [ebp + ecx*2 - 0x2a]
movzx eax, ax
add eax, 0xfffffffb
mov word [ebp + ecx*2 - 0x2a], ax
inc ecx
cmp ecx, 6
jb 0x12d7de4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x2a]
push eax
mov eax, dword [esi + 0x754]
push edi
call eax
add esp, 0x10
sub ebx, 1
jne 0x12d7c64
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4162c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485886
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x490074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.0043a209
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0041f042
mov dword [esi + 4], eax
add esp, 8
mov dword [edi + 0x30], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416ee0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485dbd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x490074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
lea esi, [ebx + 0x10]
mov dword [ebx], 0x40f730
mov dword [esi], 0x40f0cc
mov dword [ebx + 0x78], 0x40f6b4
sub esp, 8
mov dword [ebp - 4], 0
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], 1
push edi
call fcn.0041cd70
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x40f744
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x40f6bc
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov dword [ebp - 4], 4
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x40f718
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], edi
lea eax, [ecx - 0x78]
mov dword [ecx + ebx - 4], eax
mov ecx, edi
call fcn.0041cf10
lea eax, [edi + 4]
mov dword [edi], 0x40f66c
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x48], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x3d], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x4933f4]
mov dword [edi + 0x40], eax
mov eax, dword [0x4933f8]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x38], 0
sub esp, 8
mov byte [ebp - 4], 5
mov ecx, edi
push dword [ebp + 8]
call fcn.0041af10
test eax, eax
jne 0x417064
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 0xc]
add ecx, ebx
or eax, 2
mov edx, eax
or edx, 4
cmp dword [ecx + 0x38], 0
cmovne edx, eax
and edx, 0x17
mov dword [ecx + 0xc], edx
test dword [ecx + 0x10], edx
je 0x417064
push 0
call fcn.004160a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41abc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486458
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x490074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x41ad49
cmp byte [edi + 0x3d], 0
je 0x41ad49
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x41ac19
xor al, al
jmp 0x41ad4b
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
nop
mov ebx, dword [edi + 0x38]
lea ecx, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae ecx, eax
cmovae esi, eax
mov edx, dword [ebx]
cmp edx, 0x4024d0
mov edx, dword [ebp - 0x14]
jne 0x41ac76
mov dword [ebp - 0x2c], esi
xor ecx, ecx
jmp 0x41ac97
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov ecx, ebx
push eax
push esi
lea eax, [edi + 0x40]
push eax
mov eax, dword [ebx]
call dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub ecx, 0
je 0x41acaa
sub ecx, 1
je 0x41acae
sub ecx, 2
je 0x41acfb
xor bl, bl
jmp 0x41acfd
mov byte [edi + 0x3d], 0
cmp edx, 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, eax
sub esi, ecx
je 0x41acdd
push dword [edi + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.00459bce
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x41aca6
cmp byte [edi + 0x3d], 0
je 0x41acfb
test esi, esi
jne 0x41ac50
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041a710
jmp 0x41ac49
mov bl, 1
cmp edx, 0x10
jb 0x41ad45
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x41ad3c
test byte [ebp - 0x28], 0x1f
je 0x41ad18
call fcn.00459688
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x41ad24
call fcn.00459688
sub eax, ecx
cmp eax, 4
jae 0x41ad30
call fcn.00459688
cmp eax, 0x23
jbe 0x41ad3a
call fcn.00459688
mov eax, ecx
push eax
call fcn.0043a615
add esp, 4
mov al, bl
jmp 0x41ad4b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439f4c
mov esp, ebp
pop ebp
ret
Function at 0x41cf10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486716
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x490074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x40f090
call fcn.0043a209
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0041f042
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46e516
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046e11b

Function at 0x4756ad
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00475434

Function at 0x47763b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00476e15

Function at 0x477646
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00477050

Function at 0x483aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
xor esi, esi
test edi, edi
jle 0x483acc
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, esi
cdq
idiv ecx
mov al, byte [edx + ebx]
mov edx, dword [ebp - 4]
xor byte [esi + edx], al
inc esi
cmp esi, edi
jl 0x483ab8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x483d20
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x490074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10c], eax
mov ebx, ecx
push edi
mov dword [ebp - 0x108], edx
xor eax, eax
nop dword [eax]
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jb 0x483d50
xor edi, edi
xor esi, esi
mov eax, esi
movzx ecx, byte [ebp + esi - 0x104]
xor edx, edx
div dword [ebp - 0x108]
movsx eax, byte [edx + ebx]
add eax, ecx
add eax, edi
movzx edi, al
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
inc esi
mov byte [ebp + edi - 0x104], cl
cmp esi, 0x100
jb 0x483d63
xor ebx, ebx
xor edi, edi
xor esi, esi
cmp dword [ebp + 0xc], ebx
jbe 0x483dfe
nop dword [eax]
lea eax, [ebx + 1]
movzx ebx, al
movzx edx, byte [ebp + ebx - 0x104]
lea eax, [edx + edi]
movzx edi, al
movzx eax, byte [ebp + edi - 0x104]
mov byte [ebp + ebx - 0x104], al
mov byte [ebp + edi - 0x104], dl
movzx ecx, byte [ebp + ebx - 0x104]
add ecx, edx
movzx eax, cl
mov ecx, dword [ebp - 0x10c]
movzx eax, byte [ebp + eax - 0x104]
xor byte [ecx + esi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x483db0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439f4c
mov esp, ebp
pop ebp
ret