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

Disassembly:
inc ebp
hlt
movsb byte es:[edi], byte [esi]
jg 0x4baa37
cmp byte [ebp - 0x49479745], bh
cmpsb byte [esi], byte es:[edi]
dec esp
sbb byte [edi], dl
adc eax, 0xc240ce66
into
inc eax
ret 0x7752
invalid
lodsb al, byte [esi]
mov dh, 0x18
jecxz 0x4baa36
push edx
and byte [ebx - 4], ah
cld
mov edx, 0x5b3a5022
xor al, 0x9c
das
mov dword [0xe6639725], eax
lahf
cmp byte [ecx], ch
mov byte [eax - 0x31], bh
js 0x4baa19
salc
adc esi, ebp
mov dword [0x7d0f187c], eax
add bh, byte [esi + 0xf59a018]
jge 0x4baa4e
jl 0x4baa68
invalid
add bl, byte [edx]
insb byte es:[edi], dx
jnp 0x4baaa4
fisubr word [ebp + ecx*8 + 0x69]
fcomp dword [esp + eax*4]
aam 2
stosd dword es:[edi], eax
js 0x4baadf
or byte [edi + ebp + 0x2a], dl
and byte [0x7d670841], 9
add al, 0xa7
dec eax
hlt
cmc
shl byte [0xd0068501], 0x26
or dl, dh
push esi
inc esi
dec ebp
xchg byte [0x9fe023df], bh
invalid
jl 0x4bab1c
adc ecx, dword [edx - 0x4c7d6272]
cld
inc eax
cmp al, 0x4a
je 0x4bab1c
adc byte [eax + eax*4 + 0x41b1316c], bl
cmp al, 0x3d
and al, byte [edx]
inc edi
mov al, 0x7d
jl 0x4bab1b
pop esi
fstpnce st(2), st(0)
add al, 0x7e
or al, 0xa2
mov ecx, 0xe2ffcd16
push edi
push ss
int 0xff
loop 0x4bab78
fisubr word [eax + 0x5030f882]
in eax, 0x3b
lds ebx, [ecx - 0x45]
mov word [esp + edx - 0x3c], es
or dh, byte [ebp + 0x63]
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi]
and byte [eax + 0x17], 0xfe
mov eax, dword [esi]
xor edx, edx
test byte [eax + 0x18], 0x80
jne 0x50f2ee
xor ecx, ecx
cmp ecx, edx
jne 0x50f2fa
mov ecx, esi
pop esi
jmp 0x4baa48

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4835a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x58d1df
call fcn.00471b79
nop
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.00470a44
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4835f6
mov eax, dword [ebp - 8]
and eax, 0x10
je 0x4835f6
mov dword [ebp - 0xd0], 1
jmp 0x483600
mov dword [ebp - 0xd0], 0
movzx eax, byte [ebp - 0xd0]
pop edi
pop esi
pop ebx
add esp, 0xd0
cmp ebp, esp
call fcn.00470a44
mov esp, ebp
pop ebp
ret
Function at 0x520a00
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0046ea8c
mov eax, dword [0x588040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x58a500]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x520bd8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x520b27
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x520b27
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x520b05
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x520a89
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x520b91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x520bf8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x520bd3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x520bf8
jmp 0x520a62
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f98c
mov esp, ebp
pop ebp
ret
Function at 0x520c90
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0046ea8c
mov eax, dword [0x588040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x58a500]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x520e7b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x520dc6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x520dc6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x520da2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x520d19
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x520e34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x520e9b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x520e76
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x520e9b
jmp 0x520cf2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f98c
mov esp, ebp
pop ebp
ret
Function at 0x402230
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [esi + 8]
call fcn.00402080
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x402259
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov edi, dword [esi + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push edi
push 0x402000
push 0
push 0
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10], eax
test eax, eax
je 0x40229d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40229d
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 0x402b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb398
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x634274]
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 0x402bea
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 0x402c07
mov eax, dword [edi + 0x20]
jmp 0x402c0a
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 0x402c24
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 0x402c3e
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.0048e9e9
push eax
call fcn.00498629
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00486960
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x402cf7
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.00486960
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 0x402ce8
test eax, eax
je 0x402ce8
add eax, eax
cmp eax, 0x412
jae 0x402ce3
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x402cee
call fcn.00455a22
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x20]
call fcn.004024c0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x402d23
cmp dword [edi + 0x34], 8
jb 0x402d09
mov ecx, dword [edi + 0x20]
jmp 0x402d0c
lea ecx, [edi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x402d23
push 1
push 0x625fd4
lea ecx, [edi + 0x20]
call fcn.00404190
cmp dword [edi + 0x30], 0
jne 0x402d38
push 3
push 0x625fd8
lea ecx, [edi + 0x20]
call fcn.00402510
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.00455afe
mov esp, ebp
pop ebp
ret
Function at 0x402d60
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x48], 0
je 0x402d7c
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
jb 0x402d75
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x402d93
push eax
call fcn.00455675
add esp, 4
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x50]
cmp eax, 8
jb 0x402da9
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402610
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402dbf
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x402dda
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402610
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402df0
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x402e0b
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402610
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402e21
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x402e3b
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00402610
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x402e5a
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 0x4061e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x634274]
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, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x40629a
test esi, esi
je 0x40629a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40629a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40629a
sub esp, 0x18
mov ecx, esp
push edi
call fcn.004023b0
lea eax, [ebp - 0x40]
push eax
call fcn.00464793
add esp, 4
mov dword [ebp - 4], 0
mov ecx, esp
push esi
call fcn.004023b0
lea eax, [ebp - 0x28]
push eax
call fcn.00464793
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0048a488
add esp, 0x24
lea ecx, [ebp - 0x28]
neg eax
sbb esi, esi
call fcn.00402370
lea ecx, [ebp - 0x40]
call fcn.00402370
lea eax, [esi + 1]
jmp 0x40629c
xor eax, eax
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.00455afe
mov esp, ebp
pop ebp
ret 8
Function at 0x4062c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb725
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x63fa20]
test eax, eax
jne 0x40632e
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x644], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x406320
mov ecx, eax
call fcn.00450f00
jmp 0x406322
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x63fa20], eax
mov ecx, eax
call fcn.004617b1
mov ebx, eax
mov eax, dword [0x63fa20]
test eax, eax
jne 0x406375
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x644], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x406367
mov ecx, eax
call fcn.00450f00
jmp 0x406369
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x63fa20], eax
mov ecx, eax
call fcn.004616e7
push 0x208
mov edi, eax
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00486960
push edi
lea eax, [ebp - 0x628]
push str._sEUDC_
push eax
call fcn.0040ad20
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4063be
xor eax, eax
jmp 0x4064ce
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486960
push edi
lea eax, [ebp - 0x218]
push str._sEUDCEUDC.EUF
push eax
call fcn.0040ad20
push ebx
lea eax, [ebp - 0x420]
push str._sEUDCEUDC.EUF
push eax
call fcn.0040ad20
add esp, 0x30
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004061e0
test eax, eax
je 0x4063b7
push edi
lea eax, [ebp - 0x218]
push str._sEUDCEUDC.TTE
push eax
call fcn.0040ad20
push ebx
lea eax, [ebp - 0x420]
push str._sEUDCEUDC.TTE
push eax
call fcn.0040ad20
add esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004061e0
test eax, eax
je 0x4063b7
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x640]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00408de0
test eax, eax
je 0x4064bf
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.00405e70
add esp, 8
test al, al
jne 0x4064bf
mov esi, 1
jmp 0x4064c1
xor esi, esi
lea ecx, [ebp - 0x640]
call fcn.00402370
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455afe
mov esp, ebp
pop ebp
ret
Function at 0x4064f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb77a
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x63fa20]
test eax, eax
jne 0x40655e
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x62c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x406550
mov ecx, eax
call fcn.00450f00
jmp 0x406552
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x63fa20], eax
mov ecx, eax
call fcn.004617b1
mov ebx, eax
mov eax, dword [0x63fa20]
test eax, eax
jne 0x4065a5
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x62c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x406597
mov ecx, eax
call fcn.00450f00
jmp 0x406599
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x63fa20], eax
mov ecx, eax
call fcn.004616e7
mov esi, eax
lea eax, [ebp - 0x628]
push 0x208
push 0
push eax
mov dword [ebp - 0x62c], esi
call fcn.00486960
push esi
lea eax, [ebp - 0x628]
push str._sEUDC_
push eax
call fcn.0040ad20
lea eax, [ebp - 0x628]
push eax
call int.00465b8e
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486960
push esi
lea eax, [ebp - 0x218]
push str._sEUDCEUDC.EUF
push eax
call fcn.0040ad20
add esp, 0x40
lea eax, [ebp - 0x420]
push ebx
push str._sEUDCEUDC.EUF
push eax
call fcn.0040ad20
add esp, 0xc
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004061e0
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x406675
lea eax, [ebp - 0x218]
push eax
call int.00463c81
add esp, 4
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x420]
push eax
call esi
push dword [ebp - 0x62c]
lea eax, [ebp - 0x218]
push str._sEUDCEUDC.TTE
push eax
call fcn.0040ad20
push ebx
lea eax, [ebp - 0x420]
push str._sEUDCEUDC.TTE
push eax
call fcn.0040ad20
add esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004061e0
test eax, eax
jne 0x4066db
lea eax, [ebp - 0x218]
push eax
call int.00463c81
add esp, 4
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x420]
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455afe
mov esp, ebp
pop ebp
ret
Function at 0x406ac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb85a
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x424]
push eax
push str.SWImeDictFile
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x406cb8
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push eax
push str.SWImeDictFile
push 1
push 0x625f30
push dword [ebp - 0x424]
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00486960
mov eax, dword [0x63fa20]
add esp, 0xc
test eax, eax
jne 0x406b7a
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x406b6c
mov ecx, eax
call fcn.00450f00
jmp 0x406b6e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x63fa20], eax
push str.SWDictInst.exe
mov ecx, eax
call fcn.004617b1
push eax
lea eax, [ebp - 0x420]
push 0x5c58d8
push eax
call fcn.0040ad20
add esp, 0x10
lea eax, [ebp - 0x420]
push 0x104
push eax
push 1
push str.DefaultIcon
push dword [ebp - 0x424]
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486960
mov eax, dword [0x63fa20]
add esp, 0xc
test eax, eax
jne 0x406c0a
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x406bfc
mov ecx, eax
call fcn.00450f00
jmp 0x406bfe
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x63fa20], eax
push str.SWDictInst.exe
mov ecx, eax
call fcn.004617b1
push eax
lea eax, [ebp - 0x218]
push str.__s_s___install
push eax
call fcn.0040ad20
lea ecx, [ebp - 0x218]
add esp, 0x10
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x406c34
mov eax, dword [0x5c5c40]
mov dword [ecx], eax
mov ax, word [0x5c5c44]
push 0x104
mov word [ecx + 4], ax
lea eax, [ebp - 0x218]
push eax
push 1
push str.shellopencommand_
push dword [ebp - 0x424]
call esi
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x428]
push eax
push str..zncel
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x406cb8
push 0x104
push str.SWImeDictFile
push 1
push 0x625f30
push dword [ebp - 0x428]
call esi
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455afe
mov esp, ebp
pop ebp
ret