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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jae 0x45f4e5
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0045e850
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
xor eax, eax
mov dword [edx], eax
xor eax, eax
jmp 0x45f5e0
cmp esi, edi
jne 0x45f4f3
mov eax, 0x1001
jmp 0x45f5e0
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0045e850
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add edi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.00460e60
add esp, 8
mov ecx, dword [ebx + 0x28]
xor dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x2c]
xor dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x30]
xor dword [ebx + 0x20], edx
mov ecx, dword [ebx + 0x34]
xor dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
add esi, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jb 0x45f5b7
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.00460e60
add esp, 8
mov eax, dword [edi]
xor dword [ebx + 0x18], eax
mov edx, dword [edi + 4]
xor dword [ebx + 0x1c], edx
mov ecx, dword [edi + 8]
xor dword [ebx + 0x20], ecx
mov eax, dword [edi + 0xc]
xor dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jae 0x45f566
push dword [ebp + 0x10]
push edi
lea edx, [ebx + 0x28]
push edx
call fcn.0045e850
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp + 0x10]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f761
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], 0x10
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
lea edx, [ebx + 0x18]
push edx
push eax
call fcn.00460e60
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x45f7a6
mov cl, byte [ebx + eax + 0x28]
xor cl, byte [ebx + eax + 0x18]
mov byte [edi + eax], cl
inc eax
cmp esi, eax
ja 0x45f796
mov edi, dword [ebp + 0x10]
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45fc1d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x45fc81
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0045e850
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x45fd6f
cmp edi, esi
jne 0x45fc8f
mov eax, 0x1001
jmp 0x45fd6f
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
push ecx
push edi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.0045e850
add esp, 0xc
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
add edi, edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
sub dword [ebp + 0x10], ecx
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.00460e60
add esp, 8
mov edx, dword [ebx + 0x18]
xor edx, dword [ebx + 0x28]
mov dword [esi], edx
mov ecx, dword [ebx + 0x1c]
xor ecx, dword [ebx + 0x2c]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x20]
xor eax, dword [ebx + 0x30]
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x24]
xor edx, dword [ebx + 0x34]
mov dword [esi + 0xc], edx
add esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jbe 0x45fd46
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.00460e60
add esp, 8
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
ja 0x45fd01
push dword [ebp + 0x10]
push edi
lea edx, [ebx + 0x28]
push edx
call fcn.0045e850
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp + 0x10]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fd76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x45fdda
push dword [ebp + 0x10]
push esi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0045e850
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x45fef7
cmp esi, edi
jne 0x45fde8
mov eax, 0x1001
jmp 0x45fef7
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
push ecx
push esi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.0045e850
add esp, 0xc
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
add esi, edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
sub dword [ebp + 0x10], ecx
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.00460e60
add esp, 8
mov edx, dword [ebx + 0x18]
xor edx, dword [ebx + 0x28]
mov dword [edi], edx
mov ecx, dword [ebx + 0x1c]
xor ecx, dword [ebx + 0x2c]
mov dword [edi + 4], ecx
mov eax, dword [ebx + 0x20]
xor eax, dword [ebx + 0x30]
mov dword [edi + 8], eax
mov edx, dword [ebx + 0x24]
xor edx, dword [ebx + 0x34]
mov dword [edi + 0xc], edx
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x30]
mov dword [ebx + 0x20], edx
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x24], ecx
add edi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jbe 0x45fece
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.00460e60
add esp, 8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov dword [ebx + 0x1c], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
add esi, dword [ebp - 8]
add edi, dword [ebp - 8]
mov edx, dword [ebp - 8]
sub dword [ebp + 0x10], edx
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
ja 0x45fe72
push dword [ebp + 0x10]
push esi
lea eax, [ebx + 0x28]
push eax
call fcn.0045e850
add esp, 0xc
mov edx, dword [ebx + 0x38]
and edx, 0xf0000000
add edx, dword [ebp + 0x10]
mov dword [ebx + 0x38], edx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4600ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
lea ecx, [ebx + 0x18]
push ecx
push eax
call fcn.00460e60
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x460108
mov dl, byte [ebx + eax + 0x28]
xor dl, byte [ebx + eax + 0x18]
mov byte [edi + eax], dl
inc eax
cmp esi, eax
ja 0x4600f8
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x466ad0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor edi, edi
push ebp
push 0x466b7b
push dword fs:[edi]
mov dword fs:[edi], esp
mov byte [ebp - 9], 0
cmp byte [0x494eb0], 0
jne 0x466b0c
pop dword fs:[0]
add esp, 8
jmp 0x466bd7
xor esi, esi
xor edx, edx
dec ecx
test ecx, ecx
jb 0x466b6d
inc ecx
mov dword [ebp - 0x10], ecx
xor eax, eax
inc esi
and esi, 0xff
xor ecx, ecx
mov cl, byte [esi + 0x497c54]
lea edx, [ecx + edx]
and edx, 0xff
mov bl, byte [edx + 0x497c54]
mov byte [esi + 0x497c54], bl
mov byte [edx + 0x497c54], cl
xor ebx, ebx
mov bl, byte [esi + 0x497c54]
add ecx, ebx
and ecx, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + eax]
xor bl, byte [ecx + 0x497c54]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], bl
inc eax
dec dword [ebp - 0x10]
jne 0x466b1b
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466bd7
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468178
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415ed4]
call fcn.00404f88
xor eax, eax
push ebp
push 0x4682bc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x494f10], 0
jne 0x4681cb
mov ecx, dword [0x495c00]
mov dl, 1
mov eax, dword [0x407a1c]
call fcn.0040cc64
call fcn.00404028
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040319c
mov eax, ebx
call fcn.00404e38
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4682cc
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040609c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e48
test eax, eax
jle 0x468263
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46825c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404884
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040486c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040893c
test eax, eax
jne 0x46825c
mov ebx, 0x15
jmp 0x468268
mov ebx, 0x10
jmp 0x468268
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x494f10]
call fcn.004680d0
mov eax, dword [ebp - 8]
call fcn.004680d0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004060b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4682c3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404610
lea eax, [ebp - 0x10]
mov edx, dword [0x415ed4]
call fcn.00405058
ret
Function at 0x47326c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47329a
mov eax, ebx
call fcn.00473d20
cmp dword [ebx + 0x40], 0
je 0x473293
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47330b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4732fd
cmp dword [ebx + 8], 0
je 0x4732bc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4732ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4732fd
cmp dword [ebx + 8], 0
je 0x4732af
cmp eax, 3
je 0x4732e1
dec eax
jne 0x4732af
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4732af
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4732af
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x473329
cmp dword [ebx + 0x14], 0xcc
je 0x473329
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00473334
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x6b0910e1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x5de03efa
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x100027d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x101d9038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x4b
mov byte [ebp - 9], 0x2e
mov byte [ebp - 8], 0x74
mov byte [ebp - 7], 0x78
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx]
mov byte [ebp - 0x112], dl
add dword [ebp - 0x118], 1
cmp byte [ebp - 0x112], 0
jne 0x1000283b
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], eax
lea edx, [ebp - 0x110]
add edx, 0xffffffff
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x111], cl
add dword [ebp - 0x11c], 1
cmp byte [ebp - 0x111], 0
jne 0x10002886
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x138]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0xffffffff
je 0x1000296c
push 0
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
push edx
call fcn.10034fca
add esp, 4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x130], 0
push 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x124], 0
je 0x1000296c
mov edx, dword [ebp - 0x124]
push edx
call fcn.10001ba0
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150608
mov esp, ebp
pop ebp
ret

Function at 0x1003c066
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x1003c0ab
call fcn.100395d0
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1003c0ab
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1003c0c7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1004941c
mov ebx, eax
test edi, edi
je 0x1003c0c5
test esi, esi
je 0x1003c0c5
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004be8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.100395d0
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1004bec2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1004bee3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1004ebd6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10040787
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1004ec12
call fcn.1004edf5
mov dword [esi + 0xc], 1
jmp 0x1004ec17
call fcn.1004edf5
cmp dword [esi], 0
je 0x1004ec60
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1004ec3a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1003c11e
jmp 0x1004ec4b
push 0xff
mov ecx, esi
call fcn.10036da1
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10037ba8
jmp 0x1004ec84
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1004ec84
push dword [esi]
push dword [ebp - 4]
call fcn.10040bd8
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1004ed4a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1004edf5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1004ed92
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1003c11e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10037ba8
jmp 0x1004ed9d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10040bd8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1005e1a8
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10094d0e
call fcn.10039624
cmp dword [eax + 0x14], 0
jne 0x1005e1c3
mov ecx, esi
pop esi
jmp fcn.1005d5ae
pop esi
ret

Function at 0x1005eede
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.1012afa9
call fcn.10039624
cmp dword [eax + 0x14], 0
jne 0x1005eef9
mov ecx, esi
pop esi
jmp fcn.1005e7c7
pop esi
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5a5739
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5a5739
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5a5739
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5a5739
cmp dword [ecx + 0x74], 0xe
jbe 0x5a5739
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5ab35c
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 0x5ab3f9
push ebx
push esi
call fcn.005ab325
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.005ab2b9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5ab3a6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5ab3f8
push edi
push eax
call fcn.005abbef
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5ab3c6
call fcn.005a9e01
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5ab3f7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005ab2b9
add esp, 0x20
test eax, eax
jne 0x5ab3e5
push edi
call fcn.005a9e01
jmp 0x5ab3ed
push ebx
call fcn.005a9e01
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 0x5ac2f5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5c4068
push 0x5c4060
push str.FlsAlloc
push 0x1f
call fcn.005ac211
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ac329
push dword [ebp + 8]
mov ecx, esi
call dword [0x5c2164]
call esi
jmp 0x5ac32f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5ac373
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5c4078
push 0x5c4070
push str.FlsGetValue
push 0x21
call fcn.005ac211
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ac3aa
push dword [ebp + 8]
mov ecx, esi
call dword [0x5c2164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5ac3b2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5c4080
push 0x5c4078
push str.FlsSetValue
push 0x22
call fcn.005ac211
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ac3ec
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5c2164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]