joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460c80
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5caea4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 8]
push ebx
push esi
push 0
push ecx
push 0
push 0x20106
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x460ce4
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov edx, dword [ebp + 0x1c]
sete bl
cmp edx, 8
jb 0x460d1d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460d13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d79
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x460d67
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460d5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d79
push edx
push ecx
call fcn.00518d68
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00518b27
mov esp, ebp
pop ebp
ret
call fcn.005343f1
int3
Function at 0x47abf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005192a0
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x47ac70
mov cl, byte [edi]
test cl, cl
je 0x47ac70
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x47ac20
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x47ad10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005192a0
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 8], esi
test ebx, ebx
je 0x47ad93
mov al, byte [ebx]
test al, al
je 0x47ad93
push ebp
push edi
mov ebp, 0x100
movsx eax, al
push eax
call fcn.00479ef0
movd xmm1, dword [esp + 0x14]
lea ebx, [ebx + 1]
mov edi, eax
mov edx, 0x20
or edi, ebp
add esp, 4
mov ecx, edi
add ebp, 0x100
shr ecx, 2
xor ecx, edi
imul edi, edi
and ecx, 0xf
sub edx, ecx
shl esi, cl
movd xmm0, edx
psrlq xmm1, xmm0
movd eax, xmm1
or esi, eax
mov al, byte [ebx]
xor esi, edi
mov dword [esp + 0x10], esi
test al, al
jne 0x47ad37
mov eax, esi
pop edi
shr eax, 0x10
pop ebp
xor eax, esi
pop esi
pop ebx
pop ecx
ret
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x4f08d0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x4f08e4
mov dword [esp + 0x18], fcn.004ef0a0
jmp fcn.004e8620
mov dword [esp + 0x18], fcn.004ee340
jmp fcn.004e8320

Function at 0x51aa74
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 0x53d739
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.005192a0
mov eax, dword [0x5caea4]
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.0053ad4d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x53d77b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x53d8d7
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.005597c0
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 + 0x5d0db8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0054af36
mov ecx, dword [esi*4 + 0x5d0db8]
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 0x53d8d0
cmp eax, dword [edi + ecx + 0x24]
jne 0x53d8d0
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 0x53d8d0
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0054af36
add esp, 0x14
test edx, edx
jl 0x53d8d0
jg 0x53d846
test eax, eax
jb 0x53d8d0
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x53d8d0
jl 0x53d860
cmp dword [ebp - 0x1008], eax
ja 0x53d8d0
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x53d87e
test ebx, ebx
je 0x53d8b7
cmp ecx, edi
jae 0x53d8b7
mov al, byte [ecx]
cmp al, 0xd
jne 0x53d898
lea eax, [edi - 1]
cmp ecx, eax
jae 0x53d8a4
cmp byte [ecx + 1], 0xa
jne 0x53d8a4
inc ecx
jmp 0x53d8a4
movzx eax, al
movsx eax, byte [eax + 0x5cb1e8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x53d87e
cmp edx, ebx
jne 0x53d87e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x53d8d5
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00518b27
leave
ret
Function at 0x53e2d9
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5caea4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x5b5080
push esi
call fcn.0054d4c3
pop ecx
pop ecx
test eax, eax
jne 0x53e307
xor al, al
jmp 0x53e384
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0053e01c
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x53e341
push dword [ebp - 0x210]
call fcn.005340ba
xor al, al
jmp 0x53e382
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x53e347
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x53e367
push edx
call fcn.0053e20f
pop ecx
test al, al
je 0x53e332
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x53e375
mov bl, 1
push dword [ebp - 0x210]
call fcn.005340ba
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00518b27
leave
ret
Function at 0x5499c5
Capabilities:
Read file on windows

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

Function at 0x5499d0
Capabilities:
Read file on windows

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

Function at 0x549e6c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5b7338
push 0x5b7330
push str.FlsAlloc
push 0x1e
call fcn.00549cd9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x549ea0
push dword [ebp + 8]
mov ecx, esi
call dword [0x55e470]
call esi
jmp 0x549ea6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x549eea
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5b7348
push 0x5b7340
push str.FlsGetValue
push 0x20
call fcn.00549cd9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x549f21
push dword [ebp + 8]
mov ecx, esi
call dword [0x55e470]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x54a3ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5d0db8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x54a42e
cmp byte [ebx], 0xa
jne 0x54a42e
or byte [eax + edi + 0x28], 4
jmp 0x54a433
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x54a531
mov al, byte [edx]
cmp al, 0x1a
je 0x54a513
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x54a462
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x54a487
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x54a491
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x54a444
jmp 0x54a531
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x54a50e
cmp dword [ebp - 0xc], 0
je 0x54a50e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5d0db8]
test byte [eax + edi + 0x28], 0x48
je 0x54a4e8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x54a4d3
mov byte [esi], dl
jmp 0x54a4e4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5d0db8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x54a531
cmp byte [ebp - 1], 0xa
jne 0x54a4f7
cmp esi, ebx
jne 0x54a4f7
mov byte [esi], 0xa
jmp 0x54a530
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0054af54
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x54a531
mov byte [esi], 0xd
jmp 0x54a530
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5d0db8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x54a52d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x54a531
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x54a53a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5d0db8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x54a57d
cmp word [esi], dx
jne 0x54a57d
or byte [edi + eax + 0x28], 4
jmp 0x54a582
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x54a6bb
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x54a69b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x54a5c4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x54a5fa
cmp eax, edx
jae 0x54a606
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x54a59c
jmp 0x54a6bb
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x54a697
cmp dword [ebp - 0x14], 0
je 0x54a697
mov eax, dword [ebx*4 + 0x5d0db8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x54a66f
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x54a6b5
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5d0db8]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x5d0db8]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5d0db8]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x54a6b8
pop ebx
cmp word [ebp - 4], bx
jne 0x54a680
cmp esi, dword [ebp + 0xc]
jne 0x54a680
mov word [esi], bx
jmp 0x54a6b8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0054af54
add esp, 0x10
cmp word [ebp - 4], bx
je 0x54a6bb
push 0xd
jmp 0x54a6b4
mov ecx, dword [ebx*4 + 0x5d0db8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x54a6b2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x54a6bb
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x55072e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5caea4]
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 0x550779
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.005508cd
test al, al
jne 0x550773
sub edx, 2
cmp edx, edi
jne 0x550759
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x55079b
lea eax, [edi + 2]
cmp edx, eax
je 0x55079b
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0055067a
add esp, 0x10
jmp 0x550895
push esi
lea ecx, [ebp - 0x255]
call fcn.005508cd
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 0x5507de
push dword [ebp - 0x25c]
jmp 0x55078b
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 0x55081b
cmp word [ebp - 0x226], 0
je 0x55083c
cmp word [ebp - 0x226], ax
jne 0x55081b
cmp word [ebp - 0x224], 0
je 0x55083c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0055067a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x550888
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5507f5
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x550870
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x550895
push 0x5504aa
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0053c5f0
add esp, 0x10
jmp 0x550865
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.00518b27
leave
ret
Function at 0x5511a0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x55123d
push ebx
push esi
call fcn.00551169
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0054f9af
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5511ea
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x55123c
push edi
push eax
call fcn.0054b2a5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x55120a
call fcn.0054804d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x55123b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0054f9af
add esp, 0x20
test eax, eax
jne 0x551229
push edi
call fcn.0054804d
jmp 0x551231
push ebx
call fcn.0054804d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x551240
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x551251
pop esi
ret
push ebx
push edi
push esi
call fcn.00551169
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0054b2a5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x551279
push ebx
push esi
push edi
call fcn.0052ffb0
add esp, 0xc
push 0
call fcn.0054804d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x5519c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005514ec
Function at 0x558587
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00558503
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5586ff
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5586ff
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5586ae
jg 0x5585e0
test eax, eax
je 0x5586a4
push 1
push 0x1000
call fcn.005499db
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x558606
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x55869b
push 0x8000
push ebx
call fcn.0053ac7e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x558632
jg 0x55862d
cmp ecx, 0x1000
jb 0x558632
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.005490b6
add esp, 0x10
cmp eax, 0xffffffff
je 0x558677
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x55862d
jl 0x55865e
test ecx, ecx
jne 0x55861f
push dword [ebp - 0xc]
push ebx
call fcn.0053ac7e
push esi
call fcn.0054804d
add esp, 0xc
xor edi, edi
jmp 0x558710
cmp byte [edi + 0x24], 0
je 0x55868e
cmp dword [edi + 0x20], 5
jne 0x55868e
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x558699
mov edi, dword [edi + 0x18]
jmp 0x55869b
xor edi, edi
push esi
call fcn.0054804d
pop ecx
jmp 0x558710
test ecx, ecx
jg 0x558670
jl 0x5586ae
test eax, eax
jae 0x558670
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0054af54
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5586d1
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x558670
jmp 0x558708
push ebx
call fcn.0054ca11
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x558670
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x558710
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x55870d
mov edi, dword [edi + 0x18]
jmp 0x558710
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0054af54
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x24de4998
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x7f4023a2
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x4019c3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x4019d6
push esp
mov dword [ebp - 0x24], 0x4016fe
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a75
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a56
pop ebp
ret 0x10

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

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xc3d4c3d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4eb90e87
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219