joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce410
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.006ccfc0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.006c90b6
add esp, 4
mov esi, eax
mov ebx, dword [ebp - 0x130]
mov eax, dword [0x7bd000]
mov ecx, dword [0x7bafb8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x4ce4ce
mov ecx, esi
push ebx
push 0x7bcfdc
push edi
call fcn.004ce620
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x7bd000
call fcn.006c9157
add esp, 4
cmp dword [0x7bd000], 0xffffffff
jne 0x4ce4a9
xorps xmm0, xmm0
movups xmmword [0x7bcfec], xmm0
movups xmmword [0x7bcfdc], xmm0
mov dword [0x7bcffc], 0
push 0x7bcfdc
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x7bd000
call fcn.006c91cd
add esp, 4
jmp 0x4ce4a9

Function at 0x4ce580
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x7bd000]
mov ecx, dword [0x7bafb8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x4ce5d1
movzx ecx, word [0x7bcfdc]
cmp ecx, 0xc
ja case.0x4ce5ae.1
xor eax, eax
jmp dword [ecx*4 + 0x73d7f4]
mov eax, 2
pop ebp
ret
mov eax, 4
pop ebp
ret
mov eax, 1
pop ebp
ret
mov eax, 3
pop ebp
ret
push 0x7bd000
call fcn.006c9157
add esp, 4
cmp dword [0x7bd000], 0xffffffff
jne 0x4ce5a0
xorps xmm0, xmm0
movups xmmword [0x7bcfec], xmm0
movups xmmword [0x7bcfdc], xmm0
mov dword [0x7bcffc], 0
push 0x7bcfdc
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x7bd000
call fcn.006c91cd
add esp, 4
jmp 0x4ce5a0

Function at 0x4cecf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x7a8498]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x4ced58
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4ced58
cmp dword [ebp - 0x14], 4
jne 0x4ced58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.006c9121
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8
Function at 0x4ced70
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.006c9620
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.006ccfc0
add esp, 0xc
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
push eax
push ebx
push ecx
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x4cee46
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x4cedf9
mov edi, 0x3f4
cmp eax, 1
jne 0x4cee46
mov ecx, esi
push ebx
jmp 0x4cee3f
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.006ccfc0
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x4cee46
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
call fcn.00455b28
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4d3580
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x10], ecx
lea edx, [eax + ecx]
mov dword [ebp - 0x18], ebx
lea edi, [esi + ebx]
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
jb 0x4d35ed
mov edx, esi
mov eax, edi
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x4d35c0
cmp edi, 1
jne 0x4d35f6
jmp 0x4d3612
mov eax, edi
mov edx, esi
cmp edi, 1
je 0x4d3612
cmp edi, 2
je 0x4d3609
cmp edi, 3
jne 0x4d361d
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
xor ecx, ecx
test edi, edi
je 0x4d3788
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x4d3688
mov eax, edx
lea edx, [edi - 1]
and edx, ebx
jmp 0x4d3699
mov eax, edx
mov edx, ebx
cmp ebx, edi
jb 0x4d3699
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4d3786
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x18]
test dl, dl
mov ecx, dword [ebp - 0x10]
cmovns ecx, edx
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax]
test ebx, ebx
mov ecx, 0
je 0x4d3788
mov eax, dword [ebp - 0x20]
add eax, 0xffffffff
mov dword [ebp - 0x18], eax
jmp 0x4d36f8
and eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jne 0x4d3786
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d3786
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x14], eax
jne 0x4d3750
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4d370d
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x4d36ee
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x4d3768
cmp dword [ebp - 0x10], 0
je 0x4d3782
cmp byte [esi], dl
jne 0x4d36ee
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax]
cmp eax, ecx
je 0x4d3782
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x4d3730
jmp 0x4d36ee
cmp dword [ebp - 0x24], 1
jbe 0x4d36e0
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x4d36e3
xor edx, edx
div ecx
mov eax, edx
jmp 0x4d36e3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4d3782
push eax
push esi
push ecx
call fcn.006cbb2d
add esp, 0xc
test eax, eax
jne 0x4d36ee
mov ecx, ebx
jmp 0x4d3788
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4d64a2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov ebx, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x118], eax
test ebx, ebx
je 0x4d65c2
mov edi, edx
mov esi, ecx
push ebx
call fcn.006dc328
add esp, 4
test eax, eax
js 0x4d65c2
push ebx
push 1
push edi
push esi
call fcn.006e4d30
add esp, 0x10
mov bl, 1
cmp eax, 1
je 0x4d65c4
mov eax, dword [ebp + 8]
push eax
mov edi, eax
call fcn.006e4267
add esp, 4
mov esi, eax
push eax
push str.write_file_error:_d
call fcn.004d6dc9
add esp, 8
push edi
call fcn.0045f470
add esp, 4
xor ebx, ebx
push 2
push ebx
push edi
call fcn.006db4f0
add esp, 0xc
mov eax, 0x100
lea edi, [esp + 0x18]
push eax
push ebx
push edi
call fcn.006ccfc0
add esp, 0xc
push esi
push str._nwrite_file_error:_d_n
mov eax, 0x100
push eax
push edi
call fcn.00468430
add esp, 0x10
pcmpeqd xmm0, xmm0
mov esi, esp
movdqa xmmword [esi], xmm0
mov dword [esi + 0x10], 0xffffffff
mov ecx, esi
push 0x80
call fcn.00598d88
mov edi, dword [0x7bd094]
mov eax, 0x100
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.006e6aec
add esp, 8
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0059915e
mov ecx, esi
call fcn.00413b60
mov edi, eax
mov ecx, esi
push ebx
call fcn.00598ec4
push dword [ebp + 8]
push 1
push edi
push eax
call fcn.006e4d30
add esp, 0x10
mov ecx, esi
call fcn.00598d9e
jmp 0x4d65c4
xor ebx, ebx
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e64f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x7bd514]
cmp esi, 1
ja 0x4e6556
push 0x7bd514
call fcn.0045f540
add esp, 4
test al, al
je 0x4e6550
mov dword [0x7bd51c], 0
mov dword [0x7bd518], 0
mov esi, 0x7bd518
mov ecx, 0x7bd518
push 0
call fcn.0046cf10
push 0x7bd514
push 0
push 0x7bd518
push 0x7bd514
call fcn.0045f600
add esp, 0x10
jmp 0x4e6556
mov esi, dword [0x7bd514]
mov ecx, esi
pop esi
pop ebp
jmp fcn.0046cea0

Function at 0x4e76e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, edx
mov esi, ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
push edx
push ecx
push edi
call fcn.00469760
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4e770e
mov edi, dword [ebp - 0x1c]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [ebp - 0x11], 0
jns 0x4e772c
push dword [ebp - 0x1c]
call fcn.006c90e6
add esp, 4
test edi, edi
je 0x4e7806
cmp dword [ebp + 8], 0
je 0x4e7806
mov eax, edi
add eax, edi
mov ecx, 0xffffffff
cmovae ecx, eax
push ecx
call fcn.006c9113
add esp, 4
mov ecx, esi
mov esi, eax
mov eax, ebx
mov ebx, edi
lea edi, [ebp - 0x1c]
push eax
push ecx
push edi
call fcn.00469760
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4e7772
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x4e778f
push dword [ebp - 0x1c]
call fcn.006c90e6
add esp, 4
test esi, esi
mov ebx, dword [ebp + 8]
je 0x4e77a1
push esi
call fcn.006e6814
add esp, 4
jmp 0x4e77c9
lea edi, [ebp - 0x1c]
push 0x6fb826
push 0x7d
push 0x731e24
push edi
call fcn.00458d10
add esp, 0x10
mov ecx, edi
call fcn.00458d80
mov ecx, edi
call fcn.00458d90
xor eax, eax
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
push esi
push ecx
call fcn.004697a0
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x4e77ea
push dword [ebx]
call fcn.006c90e6
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
test esi, esi
je 0x4e7806
push esi
call fcn.006c911c
add esp, 4
test edi, edi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4f21e0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c40a2
Function at 0x4f3cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov esi, esp
mov dword [esi + 0x40], ebp
mov dword [esi], ecx
lea eax, [esi + 0x48]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4fb210
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea edx, [esi + 0x14]
pcmpeqd xmm0, xmm0
movdqu xmmword [edx + 8], xmm0
movdqu xmmword [edx + 0x18], xmm0
xor ecx, ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], cl
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov byte [edx + 0x20], cl
mov byte [edx + 0x24], cl
mov dword [edx + 0x28], ecx
mov dword [edx - 8], ecx
mov dword [edx - 0xc], ecx
mov dword [edx - 4], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx + 0xc]
mov edi, dword [esi]
mov edi, dword [edi + 0x18]
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [eax + 8], ecx
mov byte [edx + 8], cl
inc edi
lea ecx, [esi + 8]
push edx
push edi
call fcn.004f42d0
mov edi, dword [esi + 4]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [esi + 0x28], 0
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
lea ecx, [eax + 8]
mov dword [esi + 0x30], edx
mov al, byte [esi + 0x1c]
mov byte [esi + 0x34], al
mov dword [esi + 0x3c], edi
mov byte [esi + 0x38], 1
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x30], 0
setne dl
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 4]
sete dh
and dh, dl
mov edi, 0xfbf
and edi, dword [ebx + 0x2c]
or edi, 0x40
movzx edx, dh
push edx
push edi
lea edx, [esi + 8]
push edx
push dword [ebx + 0xc]
push eax
call fcn.004f3ed0
mov edi, dword [esi]
cmp byte [edi + 0x34], al
jne 0x4f3dba
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffc1f
mov dword [eax + 0x28], 0
mov ebx, dword [esi + 8]
jmp 0x4f3e2d
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xfffffc1e
mov eax, dword [edi + 4]
mov dword [ecx + 0x28], eax
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, ebx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 2
jb 0x4f3e2d
xor ecx, ecx
inc ecx
mov edx, 0x14
mov dword [esi + 4], ecx
mov eax, dword [esi]
mov edi, dword [eax + 0x30]
add edi, ecx
lea edi, [edi + edi*2]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebx + edx - 8]
mov dword [ecx + edi*4 - 0xc], eax
mov eax, dword [ebx + edx - 4]
mov dword [ecx + edi*4 - 8], eax
mov al, byte [ebx + edx]
mov byte [ecx + edi*4 - 4], al
mov ecx, dword [esi + 4]
inc ecx
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, ebx
sar eax, 2
imul eax, eax, 0xaaaaaaab
add edx, 0xc
cmp ecx, eax
jb 0x4f3de7
test ebx, ebx
je 0x4f3e3d
mov dword [esi + 0xc], ebx
push ebx
call fcn.006c90e6
add esp, 4
mov eax, dword [esi + 0x48]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4f4450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4fb230
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
lea ebx, [ecx + 0xc]
cmp edx, eax
mov dword [esi + 8], ecx
jae 0x4f44bc
mov dword [esi + 0x38], 0
push dword [ebp + 8]
mov dword [esi + 0xc], edx
push edx
push ebx
call fcn.004f4620
add esp, 0xc
mov ecx, dword [esi + 0xc]
add ecx, 0x34
mov eax, dword [esi + 8]
mov dword [eax + 4], ecx
jmp 0x4f4540
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0xffffffff
mov edi, dword [ecx]
sub edx, edi
sar edx, 2
imul edx, edx, 0xc4ec4ec5
lea ecx, [edx + 1]
cmp ecx, 0x4ec4ec5
jae 0x4f4553
sub eax, edi
sar eax, 2
imul eax, eax, 0xc4ec4ec5
lea edi, [eax + eax]
cmp edi, ecx
cmovb edi, ecx
cmp eax, 0x2762762
mov eax, 0x4ec4ec4
cmovb eax, edi
lea edi, [esi + 0x10]
mov ecx, edi
push ebx
push edx
push eax
call fcn.004f468e
mov eax, dword [edi + 8]
mov dword [esi + 0x38], 1
push dword [ebp + 8]
push eax
push ebx
call fcn.004f4620
add esp, 0xc
add dword [esi + 0x18], 0x34
mov ecx, dword [esi + 8]
lea eax, [esi + 0x10]
push eax
call fcn.004f46ec
lea ecx, [esi + 0x10]
call fcn.004f4762
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 8]
call fcn.00456e1c
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x3c]
mov ebp, dword [esi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
add esp, 0xc
pop ebp
ret
Function at 0x4f8280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x14], ecx
lea eax, [esi + 0x30]
mov dword [eax - 4], esp
xor ecx, ecx
dec ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x4fb320
mov edx, dword fs:[0]
mov dword [eax], edx
mov edi, dword [ebp + 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
sub edi, eax
js 0x4f8434
mov ebx, edi
sar ebx, 1
cmp ebx, 4
ja 0x4f82de
lea ecx, [esi + 8]
mov byte [ecx + 0xb], bl
jmp 0x4f830a
lea eax, [ebx + 8]
and eax, 0xfffffff8
mov dword [esi + 4], eax
add eax, eax
push eax
call fcn.006c90b6
add esp, 4
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], ecx
or dword [esi + 4], 0x80000000
mov edx, dword [esi + 4]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], ebx
cmp eax, dword [ebp + 0xc]
je 0x4f832d
lea ebx, [edi - 2]
and ebx, 0xfffffffe
and edi, 0xfffffffe
push edi
push eax
push ecx
mov edi, ecx
call fcn.006cca40
mov ecx, edi
add esp, 0xc
lea ecx, [ebx + edi]
add ecx, 2
mov word [ecx], 0
lea edx, [esi + 8]
movzx eax, byte [edx + 0xb]
test al, al
mov edi, dword [edx]
mov ecx, dword [edx + 4]
lea ecx, [edi + ecx*2]
lea ebx, [esi + eax*2 + 8]
cmovs ebx, ecx
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
cmovns edi, edx
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
mov dword [esi + 4], ecx
call dword [section..00cfg]
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x14]
push ebx
push edi
call dword [esi + 4]
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
movzx eax, byte [esi + 0x13]
test al, al
jns 0x4f8389
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], 1
lea ecx, [esi + 0x18]
push eax
call fcn.00454d9e
movzx eax, byte [esi + 0x13]
test al, al
lea ecx, [esi + 8]
jns 0x4f83aa
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*2]
mov dword [esi + 4], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x24], eax
cmp ecx, dword [esi + 4]
je 0x4f83db
movzx eax, word [ecx]
cmp ax, 0x7e
ja 0x4f83fb
mov dword [esi + 0x14], ecx
movsx eax, al
lea ecx, [esi + 0x18]
push eax
call fcn.0045519c
mov ecx, dword [esi + 0x14]
add ecx, 2
jmp 0x4f83b6
cmp byte [esi + 0x23], 0
jns 0x4f83e7
mov eax, dword [esi + 0x18]
mov dword [esi + 0x24], eax
movzx eax, byte [ebp + 0x10]
push eax
push dword [esi + 0x24]
call fcn.00454678
add esp, 8
mov edi, eax
jmp 0x4f83fd
xor edi, edi
cmp byte [esi + 0x23], 0
jns 0x4f840e
push dword [esi + 0x18]
call fcn.006c90e6
add esp, 4
cmp byte [esi + 0x13], 0
jns 0x4f841f
push dword [esi + 8]
call fcn.006c90e6
add esp, 4
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
lea ecx, [esi + 8]
call fcn.0045482c
push ebp
sub esp, 0xc
lea esi, [ebp - 0x3c]
mov ebp, dword [esi + 0x28]
cmp byte [esi + 0x23], 0
jns 0x4f8457
push dword [esi + 0x18]
call fcn.006c90e6
add esp, 4
add esp, 0xc
pop ebp
ret
Function at 0x4feec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4feee7
cmp word [eax], 0
je 0x4feee7
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4feeeb
mov ebx, eax
and ebx, 0x10
shr ebx, 4
jmp 0x4fef03
xor ebx, ebx
jmp 0x4fef03
xor ebx, ebx
push ebx
push ebx
push 0x2a
push str.existDir
push str.FileUtils
call fcn.005c4178
add esp, 0x14
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x4ff29c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, esi
push 0
call fcn.004aef38
test al, al
jne 0x4ff34f
mov edi, dword [ebp + 0xc]
mov ecx, edi
push 0
call fcn.004aef38
test al, al
jne 0x4ff34f
push esi
call fcn.004fef10
add esp, 4
test al, al
je 0x4ff34f
push edi
call fcn.004fef10
add esp, 4
test al, al
je 0x4ff34f
mov ebx, dword [ebp + 0x10]
push esi
call fcn.004ff268
add esp, 4
test al, al
je 0x4ff347
mov ecx, edi
call fcn.004af144
mov edi, eax
mov ecx, esi
call fcn.004af144
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov bl, 1
test eax, eax
jne 0x4ff351
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
push esi
push 0
push 0x83
push str.renameFile
push str.FileUtils
call fcn.005c4178
add esp, 0x14
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4ff34f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4ffa24
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004fef10
add esp, 4
test al, al
je 0x4ffa88
mov edi, dword [ebp + 0xc]
push edi
call fcn.004fef10
add esp, 4
test al, al
je 0x4ffa88
mov ecx, edi
call fcn.004af144
mov edi, eax
mov ecx, esi
call fcn.004af144
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov bl, 1
cmp eax, 1
je 0x4ffa8a
xor ebx, ebx
push ebx
push ebx
push 0x3b1
push str.copyFile
push str.FileUtils
call fcn.005c4178
add esp, 0x14
jmp 0x4ffa8a
xor ebx, ebx
mov eax, ebx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4ffaa0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x501cb0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [ebp + 0x14]
mov ecx, dword [ecx - 0xc]
mov dword [eax + 8], 0
push ecx
call fcn.004fef10
add esp, 4
test al, al
je 0x4ffbe0
mov ecx, 0x7bd588
push 0
call fcn.004aef38
test al, al
jne 0x4ffb81
lea eax, [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, 0x7bd588
call fcn.004af144
mov ecx, dword [ebp - 0x20]
push eax
call fcn.004af30a
test al, al
je 0x4ffb81
mov dword [ebp - 0x28], esp
push eax
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x20], eax
lea ecx, [eax + 0x14]
mov dword [ebp - 0x24], ecx
lea eax, [ebp + 0x14]
push eax
call fcn.004aeac0
lea eax, [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x20]
push eax
call fcn.004aeac0
mov dword [ebp - 0x10], 0
call fcn.00500a60
add esp, 0x28
mov esp, dword [ebp - 0x28]
lea eax, [ebp + 8]
cmp byte [eax + 0x20], 0
je 0x4ffbfd
mov ecx, dword [eax]
call fcn.004af144
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
jmp 0x4ffbe2
sub esp, 0x78
movups xmm0, xmmword [0x7a9568]
movups xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x48], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.not_our_path_stop_del_dir
mov dword [esp + 0x10], str.FileUtils
mov dword [esp + 0xc], str.deleteDir
mov dword [esp + 8], 0x36a
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_base_FileUtils.cpp
mov dword [esp], 2
call fcn.004ee380
add esp, 0x78
xor ebx, ebx
lea ecx, [ebp + 0x14]
call fcn.004aeec0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x4ffbe2