joyce8/EMBER2024-capa huggingface dataset:
Function at 0x570aa0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x570b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xbc6cd4]
test esi, esi
jle 0x570c20
mov eax, dword [0xbc6cd8]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x570b34
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x570bb7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x570b20
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x570c47
mov eax, dword [0xbc6cd8]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0xbc6cd8]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x570c27
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x570bb0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x570bc0
add dword [0xbc6cd4], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xbc6cd8]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x570bb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x570b3e
mov eax, dword [0xbc6cd8]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x571100
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xbc6cf0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xbc6ce8]
sub esp, 4
test ebx, ebx
je 0x571155
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x57114e
test esi, esi
je 0x57114e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x571130
mov dword [esp], 0xbc6cf0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x571480
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x5714a5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x5714b0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x5714a5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x5714f8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5714ee
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x5714fa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x5714e0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x43aa00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43aa1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43aa21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43aa10
mov eax, 1
add ebx, ebx
jne 0x43aa33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43aa28
jne 0x43aa44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43aa28
xor ecx, ecx
sub eax, 3
jb 0x43aa58
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43aaca
mov ebp, eax
add ebx, ebx
jne 0x43aa63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43aa70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43aa94
inc ecx
add ebx, ebx
jne 0x43aa80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43aa75
jne 0x43aa91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43aa75
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43aab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43aaa5
jmp 0x43aa16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43aab4
add edi, ecx
jmp 0x43aa16
pop esi
mov edi, esi
mov ecx, 0x8d9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43aad2
cmp byte [edi], 6
jne 0x43aad2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43aad7
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x43ab46
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b788]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43ab04
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b78c]
or eax, eax
je 0x43ab40
mov dword [ebx], eax
add ebx, 4
jmp 0x43ab21
call dword [esi + 0x3b79c]
mov ebp, dword [esi + 0x3b790]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43ab7a
sub esp, 0xffffff80
jmp 0x415d04

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, 0x426362d4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x31fc0f0d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1002df6
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
je 0x1002e20
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x100a1a0]
inc ecx
dec edx
jne 0x1002e08
pop edi
pop esi
ret 0xc
Function at 0x10036ba
Capabilities:
Shutdown system

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x2c4
mov eax, dword [0x100a028]
push ebx
push esi
push 0x1002468
xor ebx, ebx
push ebx
push 0x100000
mov dword [ebp + 0x60], eax
mov dword [ebp - 0x250], 0x10
mov dword [ebp - 0x248], ebx
call dword [0x1002098]
push 0x1002440
mov esi, eax
call fcn.0100323e
cmp esi, ebx
je 0x1003717
push 0xea60
push esi
call dword [0x1002094]
push esi
call dword [0x100211c]
jmp 0x100372e
cmp dword [ebp + 0x74], ebx
je 0x1003723
push 0xea60
jmp 0x1003728
push 0x2710
call dword [0x1002064]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x260]
push eax
push ebx
push 0x13
call fcn.010032b1
test eax, eax
jne 0x1003759
push 0x100241c
call fcn.0100323e
xor eax, eax
jmp 0x10038fb
push 0x100240c
call dword [fcn.01002128]
cmp eax, ebx
mov dword [ebp - 0x24c], eax
je 0x1003780
push 0x10023f0
push eax
call dword [0x100212c]
mov dword [ebp - 0x248], eax
push ebx
push dword [0x100ac04]
call dword [0x1002094]
test eax, eax
jne 0x1003799
xor esi, esi
inc esi
jmp 0x10038cb
push edi
mov edi, dword [0x1002140]
cmp dword [ebp - 0x248], ebx
je 0x10037be
push dword [ebp + 0x7c]
push dword [ebp + 0x6c]
push dword [ebp + 0x70]
push ebx
push dword [ebp + 0x78]
push ebx
call dword [ebp - 0x248]
jmp 0x10037cd
push dword [ebp + 0x6c]
push dword [ebp + 0x70]
push ebx
push ebx
push ebx
call dword [0x100200c]
mov esi, eax
cmp esi, ebx
jne 0x10038ca
call edi
cmp eax, 0x45b
je 0x1003801
cmp eax, 0x4f7
je 0x10037ec
cmp eax, 0x15
jne 0x1003809
push 0xbb8
push dword [0x100ac04]
call dword [0x1002094]
test eax, eax
jne 0x10037a0
xor esi, esi
inc esi
jmp 0x10038ca
call edi
push eax
push 0x10023bc
lea eax, [ebp - 0x244]
push 0x103
push eax
call dword [0x10021a8]
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
call fcn.0100323e
mov edi, dword [0x1002090]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x94
call edi
cmp dword [ebp - 0x38], 4
jbe 0x10038ca
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x9c
call edi
test byte [ebp + 0x5c], 0x40
je 0x10038ca
push 0x104
lea eax, [ebp - 0x140]
push eax
call dword [fcn.01002124]
test eax, eax
je 0x10038ca
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [0x100218c]
pop ecx
pop ecx
push ebx
push 0x2000000
push 3
push ebx
push 7
mov byte [eax + 1], bl
push 0xc0000000
lea eax, [ebp - 0x140]
push eax
call dword [fcn.010020ac]
mov edi, eax
cmp edi, 0xffffffff
je 0x10038ca
push edi
call dword [0x100208c]
push edi
mov esi, eax
call dword [0x100211c]
cmp esi, ebx
je 0x10038ca
push 1
call dword [0x10021b4]
mov esi, eax
pop edi
cmp dword [ebp - 0x24c], ebx
je 0x10038df
push dword [ebp - 0x24c]
call dword [fcn.01002130]
lea eax, [ebp - 0x260]
push eax
call fcn.01003341
cmp esi, ebx
jge 0x10038f9
push 0x10023a4
call fcn.0100323e
mov eax, esi
mov ecx, dword [ebp + 0x60]
pop esi
pop ebx
call fcn.01005d91
add ebp, 0x64
leave
ret 0x14
Function at 0x1003a05
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100a028]
push edi
push dword [ebp + 8]
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x220
push 0x20
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
call dword [entry0]
test eax, eax
je 0x1003a65
lea eax, [ebp - 0x10]
push eax
push 0x28
call dword [fcn.0100209c]
push eax
call dword [0x100202c]
test eax, eax
jne 0x1003a6c
xor eax, eax
jmp 0x1003b22
push ebx
mov ebx, dword [0x1002004]
lea eax, [ebp + 8]
push eax
push 0x10000
push 0x100b0c0
push 4
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x1003b21
push esi
push dword [0x100b0c0]
call dword [0x1002008]
mov esi, eax
push esi
call fcn.0100390c
cmp eax, edi
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x1003afe
mov ecx, esi
mov esi, dword [0x100b0c0]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 8]
push eax
push 0x10000
push 0x100b0c0
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x1003b20
push dword [0x100b0c0]
call dword [0x1002008]
mov esi, eax
push esi
call fcn.0100390c
test eax, eax
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x1003b05
push 8
call fcn.010035e6
mov ecx, esi
mov esi, dword [0x100b0c0]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
inc eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.01005d91
leave
ret 0xc
Function at 0x426960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov dword [esp + 0xc], ecx
test edi, edi
jle 0x426a79
lea eax, [ecx + 0x80]
mov dword [esp + 0x1c], eax
lea edx, [ebx + 2]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
lea esi, [eax + 2]
sub eax, ebx
lea ecx, [eax - 2]
lea eax, [edi - 1]
mov dword [esp + 0x18], ecx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
mov byte [ecx], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
mov edi, dword [edx - 2]
mov ebx, dword [edx + 2]
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.00426020
mov ecx, dword [esp + 0x10]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
movzx eax, byte [ecx + 0x100]
mov ecx, dword [esp + 0x18]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
movzx eax, byte [ecx + 0x101]
xor byte [esi - 9], al
movzx eax, byte [ecx + 0x102]
xor byte [esi - 8], al
movzx eax, byte [ecx + 0x103]
xor byte [esi - 7], al
movzx eax, byte [ecx + 0x104]
xor byte [esi - 6], al
movzx eax, byte [ecx + 0x105]
xor byte [esi - 5], al
movzx eax, byte [ecx + 0x106]
xor byte [esi - 4], al
movzx eax, byte [ecx + 0x107]
xor byte [esi - 3], al
sub dword [esp + 0x14], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [esp + 0x18]
jne 0x4269a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d2b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ecx
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov ecx, dword [esi + 8]
call fcn.0042d1a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x42d2d7
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov edi, dword [esi + 8]
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push 0x42d120
push 0
push 0
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10], eax
test eax, eax
je 0x42d31b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42d31b
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], 0
mov eax, dword [esi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x42d430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579078
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x5db008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x638], edi
lea eax, [edi + 8]
mov dword [edi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], edi
jb 0x42d48a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ecx
cmp dword [edi + 0x34], 8
jb 0x42d4a7
mov eax, dword [edi + 0x20]
jmp 0x42d4aa
lea eax, [edi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x42d4c4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x42d4de
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 3
push ecx
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], ecx
call fcn.00455f92
push eax
call fcn.004621d9
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00452070
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x42d597
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.00452070
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x42d588
test eax, eax
je 0x42d588
add eax, eax
cmp eax, 0x412
jae 0x42d583
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x42d58e
call fcn.0042fd51
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x20]
call fcn.00421450
mov eax, dword [edi + 0x30]
test eax, eax
je 0x42d5c3
cmp dword [edi + 0x34], 8
jb 0x42d5a9
mov ecx, dword [edi + 0x20]
jmp 0x42d5ac
lea ecx, [edi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x42d5c3
push 1
push 0x5d3324
lea ecx, [edi + 0x20]
call fcn.00421cd0
cmp dword [edi + 0x30], 0
jne 0x42d5d8
push 3
push 0x5d4040
lea ecx, [edi + 0x20]
call fcn.004217f0
mov dword [edi + 4], 0
mov eax, edi
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.0042f713
mov esp, ebp
pop ebp
ret
Function at 0x42d600
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x48], 0
je 0x42d61c
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
jb 0x42d615
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x42d633
push eax
call fcn.0042f724
add esp, 4
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x50]
cmp eax, 8
jb 0x42d649
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00421b10
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x42d65f
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x42d67a
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00421b10
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x42d690
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x42d6ab
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00421b10
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x42d6c1
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x42d6db
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00421b10
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x42d6fa
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x432e90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x5ea6e0], ecx
inc eax
cmp eax, 0x100
jb 0x432e92
cmp eax, 0x800
jae 0x432f63
nop
mov edx, dword [eax*4 + 0x5ea2e0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x5ea6e0]
mov dword [eax*4 + 0x5ea6e0], edx
inc eax
cmp eax, 0x800
jb 0x432f40
mov dword [0x5e6658], 0x433d00
call fcn.00433b30
mov ecx, dword [0x5e6658]
test eax, eax
mov edx, 0x433da0
cmove ecx, edx
mov dword [0x5e6658], ecx
ret
Function at 0x434080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x4340a0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x4340d2
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4340cf
inc esi
cmp esi, edx
jb 0x4340c0
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x4341fc
cmp ecx, 3
jbe 0x434112
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x434150
cmp cl, 0xff
je 0x434150
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x4340b4
dec ecx
shl eax, cl
and eax, 7
je 0x4340ea
movzx ecx, byte [eax + 0x57c578]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x57c570], 0
mov cl, byte [edx + 4]
je 0x43413a
test cl, cl
je 0x43413a
cmp cl, 0xff
jne 0x4340ea
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x4340b4
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x43417e
lea edx, [edi + ebx]
add edx, esi
jmp 0x434184
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x4341c2
movzx edi, byte [eax + 0x57c578]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x4341ae
cmp cl, 0xff
jne 0x4341c2
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x434171
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x4340b4
pop edi
pop esi
cmp ecx, 3
jbe 0x434211
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret