joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e9f
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x220
mov eax, dword [0x40d014]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x228]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ebp
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.00403ddb
mov esi, eax
test esi, esi
jne 0x403f7e
lea eax, [esp + 0x20]
mov dword [esp + 0x18], pe_nt_image_headers32
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
call ebp
test eax, eax
jne 0x403f56
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00403e9f
mov esi, eax
test esi, esi
jne 0x403f7e
lea eax, [esp + 0x20]
mov dword [esp + 0x18], pe_nt_image_headers32
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call ebp
test eax, eax
je 0x403f1b
jmp 0x403f58
xor esi, esi
cmp dword [esp + 0xc], 0
je 0x403f6d
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.00403c6f
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x403f8f
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x228]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00404449
add esp, 0x220
ret 4
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x178abfc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x178ac06
pushal
call 0x178ac0c
pop ebp
sub ebp, 0x10
sub ebp, 0x138abfc
jmp 0x178ac22
mov eax, 0x138abfc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ad
mov edx, 0x345ebd75
xor byte [eax], dl
inc eax
dec ecx
jne 0x178ac39
jmp 0x178ac4c
invalid
Function at 0x71b93900
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 1
jmp 0x71b93910

Function at 0x71b95ae0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x71b97f80
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x2e
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0x71bb9664
call fcn.71b99809
jmp 0x71b95b52
nop word cs:[eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0x18
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
add eax, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 6]
cmp eax, ecx
jge 0x71b95c9e
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
jne 0x71b95c1a
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x71b95c18
mov eax, dword [0x71bbe2f0]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
add edx, dword [esi + 0xc]
mov dword [ebp - 0x10], 1
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call eax
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.71b9a0b0
jmp 0x71b95c87
mov eax, dword [0x71bbe2f0]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov esi, dword [ebp - 0x30]
add esi, edx
mov dword [ebp - 0x10], 1
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
call eax
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x63
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0x71bb9664
call fcn.71b99809
jmp 0x71b95ca8
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
jmp 0x71b95b90
mov eax, 0x71b95b39
add esp, 0x10
pop ebp
ret
nop dword [eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
add ecx, edx
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.71b98010
mov eax, 0x71b95c76
add esp, 0x10
pop ebp
ret
Function at 0x71b963d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
lea eax, [ebp - 0x410]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x410
call fcn.71b9a0b0
lea eax, [ebp - 0x410]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x104
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
sub esp, 0xc
lea eax, [ebp - 0x410]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_PathRemoveFileSpecW]
sub esp, 4
lea eax, [ebp - 0x410]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
add esp, 0x418
pop ebp
ret
Function at 0x71b96450
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x110
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x71b97fc0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x76]
lea ecx, str.__Bid_locale_std
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.71ba3e30
lea eax, [ebp - 0x76]
mov dword [ebp - 0x44], eax
call fcn.71b963d0
mov ax, word [0x71bb4611]
mov word [ebp - 0x33], ax
mov al, byte [0x71bb4613]
mov byte [ebp - 0x31], al
mov eax, dword [str.Server.log]
mov dword [ebp - 0x4f], eax
mov eax, dword [0x71bb4618]
mov dword [ebp - 0x4b], eax
mov ax, word [0x71bb461c]
mov word [ebp - 0x47], ax
mov al, byte [0x71bb461e]
mov byte [ebp - 0x45], al
lea eax, [ebp - 0x33]
lea ecx, [ebp - 0x4f]
lea edx, [ebp - 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.71b9e294
cmp dword [ebp - 0x20], 0
jne 0x71b96507
mov dword [ebp - 0x30], 0
jmp 0x71b96670
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0
call fcn.71b9e6b5
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.71b9e9e0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.71b9e6b5
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.71b98b92
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.71b9e4b0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.71b9e13f
mov edx, dword [ebp - 0x44]
lea esi, [ebp - 0x10c]
mov ecx, esi
call fcn.71b97b00
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
mov dword [esp], eax
mov ecx, esi
call fcn.71b97e80
jmp 0x71b965ae
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x71b965ca
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 1
jmp 0x71b96663
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
call fcn.71b95790
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x71b96613
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x24], 0
je 0x71b96603
mov eax, dword [ebp - 0x24]
cmp eax, 0
je 0x71b96601
mov dword [esp], eax
call fcn.71b98b9b
jmp 0x71b96603
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 1
jmp 0x71b96663
lea eax, [ebp - 0x65]
lea ecx, str.NtHandleCallback
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.71ba3e30
lea edx, [ebp - 0x65]
mov ecx, dword [ebp - 0x28]
call fcn.71b955d0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x71b9664d
mov eax, dword [ebp - 0x38]
call eax
jmp 0x71b9664b
jmp 0x71b9664d
mov ecx, dword [ebp - 0x28]
call fcn.71b95410
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x10c]
call fcn.71b97c40
jmp 0x71b96670
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x110
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x71b9d548
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x71b9d587
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x71b9d587
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x71b9d587
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x71b9d587
cmp dword [ecx + 0x74], 0xe
jbe 0x71b9d587
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x71b9ea84
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.71ba6c20
mov eax, dword [0x71bbb014]
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.71ba3d22
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x71b9eac6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x71b9ec3d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.71ba6b70
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x71bbdbd8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.71ba69a0
mov ecx, dword [esi*4 + 0x71bbdbd8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x71b9ec36
cmp eax, dword [edi + ecx + 0x24]
jne 0x71b9ec36
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
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 0x71b9ec36
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.71ba69a0
add esp, 0x14
cmp edx, esi
jl 0x71b9ec36
jg 0x71b9eb91
cmp eax, esi
jb 0x71b9ec36
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x71b9ec36
jl 0x71b9ebb3
cmp dword [ebp - 0x1008], eax
ja 0x71b9ec36
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x71b9ebd8
cmp ebx, esi
je 0x71b9ec1d
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x71b9ec1d
mov al, byte [ecx]
cmp al, 0xd
jne 0x71b9ebfe
lea eax, [edi - 1]
cmp ecx, eax
jae 0x71b9ec0a
cmp byte [ecx + 1], 0xa
jne 0x71b9ec0a
inc ecx
jmp 0x71b9ec0a
movzx eax, al
movsx eax, byte [eax + 0x71bbb710]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x71b9ebe4
cmp edx, ebx
jne 0x71b9ebe4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x71b9ec3b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.71b996d6
leave
ret
Function at 0x71ba51f4
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 0x71ba5291
push ebx
push esi
call fcn.71ba5294
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.71ba50fa
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x71ba523e
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x71ba5290
push edi
push eax
call fcn.71ba2740
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x71ba525e
call fcn.71ba1a00
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x71ba528f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.71ba50fa
add esp, 0x20
test eax, eax
jne 0x71ba527d
push edi
call fcn.71ba1a00
jmp 0x71ba5285
push ebx
call fcn.71ba1a00
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 0x71ba6459
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x71bbdbd8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x71ba649b
cmp byte [ebx], 0xa
jne 0x71ba649b
or byte [edi + eax + 0x28], 4
jmp 0x71ba64a0
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x71ba65a3
mov cl, byte [eax]
cmp cl, 0x1a
je 0x71ba657e
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x71ba64cf
mov eax, dword [ebp - 8]
jmp 0x71ba64ef
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x71ba650b
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x71ba64e9
add eax, 2
mov cl, 0xa
jmp 0x71ba64ec
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x71ba64b1
jmp 0x71ba65a3
push 0
lea eax, [ebp - 0x10]
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 0x71ba6579
cmp dword [ebp - 0x10], 0
je 0x71ba6579
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x71bbdbd8]
test byte [eax + edi + 0x28], 0x48
je 0x71ba6558
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x71ba6548
mov byte [esi], 0xa
jmp 0x71ba65a2
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x71bbdbd8]
mov byte [eax + edi + 0x2a], cl
jmp 0x71ba65a2
cmp byte [ebp - 1], 0xa
jne 0x71ba6562
cmp esi, ebx
je 0x71ba6543
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.71ba6942
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x71ba65a3
mov byte [esi], 0xd
jmp 0x71ba65a2
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x71bbdbd8]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x71ba65a0
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x71ba65a3
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x71ba65ac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x71bbdbd8]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x71ba65f0
push 0xa
pop esi
cmp word [ebx], si
jne 0x71ba65f0
or byte [eax + edi + 0x28], 4
jmp 0x71ba65f5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x71ba6760
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x71ba6738
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x71ba6642
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x71ba666c
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x71ba668b
push 0xa
pop ebx
cmp word [edx], bx
jne 0x71ba6659
push ebx
add eax, 4
pop edx
jmp 0x71ba6661
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x71ba6607
jmp 0x71ba6760
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 0x71ba6733
cmp dword [ebp - 0x14], 0
je 0x71ba6733
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x71bbdbd8]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x71ba670f
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x71ba66d7
mov word [esi], ax
jmp 0x71ba675d
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x71bbdbd8]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x71bbdbd8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x71bbdbd8]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x71ba675d
cmp word [ebp - 4], ax
jne 0x71ba6719
cmp esi, ebx
je 0x71ba66cf
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.71ba6942
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x71ba6760
push 0xd
pop eax
jmp 0x71ba66cf
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x71bbdbd8]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x71ba675a
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x71ba6760
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x71ba7760
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x71ba777a
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x71ba7791
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x71ba77e9
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.71ba813c
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x71ba77e9
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x71ba77e9
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x71ba77e9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x71ba77e3
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x71ba77e5
xor bl, bl
mov al, bl
jmp 0x71ba77eb
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x71bacb66
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.71baccfd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x71baccd5
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x71baccd5
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x71bacc8a
jg 0x71bacbc2
test eax, eax
je 0x71bacc80
push 1
push 0x1000
call fcn.71ba4490
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x71bacbe5
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x71bacc77
push 0x8000
push ebx
call fcn.71baca5e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x71bacc0e
jg 0x71bacc09
cmp ecx, 0x1000
jb 0x71bacc0e
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.71ba6c82
add esp, 0x10
cmp eax, 0xffffffff
je 0x71bacc53
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 0x71bacc09
jl 0x71bacc3a
test ecx, ecx
jne 0x71bacbfb
push dword [ebp - 0xc]
push ebx
call fcn.71baca5e
push esi
call fcn.71ba1a00
add esp, 0xc
xor ebx, ebx
jmp 0x71bacce3
cmp byte [edi + 0x24], 0
je 0x71bacc6a
cmp dword [edi + 0x20], 5
jne 0x71bacc6a
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x71bacc75
mov ebx, dword [edi + 0x18]
jmp 0x71bacc77
xor ebx, ebx
push esi
call fcn.71ba1a00
pop ecx
jmp 0x71bacce3
test ecx, ecx
jg 0x71bacc4c
jl 0x71bacc8a
test eax, eax
jae 0x71bacc4c
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.71ba6942
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x71baccaa
cmp byte [edi + 0x1c], 0
je 0x71bacc4c
jmp 0x71baccdb
push ebx
call fcn.71ba813c
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x71bacc4c
call dword [sym.imp.kernel32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x71bacce3
cmp byte [edi + 0x1c], 0
je 0x71bacce0
mov ebx, dword [edi + 0x18]
jmp 0x71bacce3
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.71ba6942
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a320
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404c4c
push eax
mov eax, dword [ebp - 4]
call fcn.00404c4c
push eax
call sub.KERNEL32.DLL_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x41a358
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41a3c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.004082f4
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
mov ecx, 0x41a3dc
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3cf
lea eax, [ebp - 0x108]
call fcn.004047ac
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x478f6689
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
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
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x527137ed
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219