joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a220
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.0048e7b0
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x100c]
mov ebx, ecx
mov dword [ebp - 0x1014], 0x4d96f4
push 0x1000
push 0
push eax
mov esi, dword [ebx + 0x2480]
mov dword [ebp - 0x1048], ebx
mov dword [ebp - 0x1010], 0
call fcn.00490000
mov ecx, dword [edi + 0x20]
add esp, 0xc
lea eax, [ecx + 0x1048]
push eax
lea eax, [ecx + 0x48]
push eax
push 0x4d73dc
lea eax, [ebp - 0x100c]
push 0x7ff
push eax
call fcn.0041b840
add esp, 0x14
mov eax, 0x8400c300
cmp dword [ebx + 0x62cb4], 0
mov edx, 0x8408c300
cmove edx, eax
mov eax, dword [edi + 0x20]
push edi
mov ecx, edx
or ecx, 0x803000
cmp dword [eax + 4], 4
lea eax, [ebp - 0x1014]
cmovne ecx, edx
test esi, esi
push ecx
push eax
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x100c]
mov ecx, str.POST
push eax
mov eax, 0x4d96e0
cmovne eax, ecx
push eax
push dword [edi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x41a3e5
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x1018]
push 4
push ecx
push 2
push eax
mov dword [ebp - 0x1018], 0x3a98
call esi
push 4
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 1
push eax
push 0x41
push dword [edi + 0x1c]
call esi
xorps xmm0, xmm0
mov ebx, eax
movups xmmword [ebp - 0x1044], xmm0
push 0xa2d0
movups xmmword [ebp - 0x1034], xmm0
mov dword [ebp - 0x1044], 0x28
movq qword [ebp - 0x1024], xmm0
call fcn.0048da11
mov esi, eax
add esp, 4
test esi, esi
je 0x41a3ac
push 0xa2d0
push 0
push esi
call fcn.00490000
add esp, 0xc
push ebx
push ecx
mov ecx, dword [ebp - 0x1048]
push esi
push edi
call fcn.0041a520
mov eax, esi
mov dword [ebp - 0x103c], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a397
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1038], eax
push edi
push 1
push 0
lea eax, [ebp - 0x1044]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov edi, eax
test esi, esi
je 0x41a3d0
push esi
call fcn.0048d7d3
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret 4
Function at 0x41ae90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x214], 0
call fcn.00490000
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push 0
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x41af8a
mov ecx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41af3b
test dx, dx
je 0x41af37
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41af3b
add eax, 4
add ecx, 4
test dx, dx
jne 0x41af15
xor eax, eax
jmp 0x41af40
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41af8a
push 1
push eax
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret

Function at 0x41afa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
push 2
push 0
push 0
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 8], 0
je 0x41b075
push ebx
push edi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
xor edi, edi
sub eax, dword [esi + 0x26e4]
mov ebx, 4
sar eax, 2
test eax, eax
je 0x41b047
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x26e4]
push 0x20
push dword [eax + edi*4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
inc edi
sub eax, dword [esi + 0x26e4]
add ebx, 0x20
sar eax, 2
cmp edi, eax
jb 0x41b016
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call ebx
push 0
lea eax, [ebp - 0xc]
push eax
push 0x6a
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push dword [esi + 8]
call ebx
pop edi
pop ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret
Function at 0x41e310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.0041e1d0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esi + 0x10], 0
test eax, eax
je 0x41e36a
movups xmm0, xmmword [ebp - 0x1c]
mov eax, esi
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [esi + 0x10], xmm0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi + 0x14], 7
push eax
push 0x4d73c4
mov ecx, esi
mov word [esi], ax
call fcn.00403340
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x41e3b9
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e3af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e3ca
push edx
push ecx
call fcn.0048da03
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret
call fcn.0049c1b3
int3

Function at 0x41e880
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x16c]
mov ebx, edx
push 0
push eax
mov esi, ecx
call fcn.00490000
push esi
push 0x4da200
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x1d0], 0
push 0x104
push eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], 0x67452301
mov dword [ebp - 0x1c8], 0xefcdab89
mov dword [ebp - 0x1c4], 0x98badcfe
mov dword [ebp - 0x1c0], 0x10325476
call fcn.0041e730
lea ecx, [ebp - 0x16c]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e910
sub ecx, edx
lea edx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.00414dc0
lea ecx, [ebp - 0x1d4]
call fcn.00414e80
lea ecx, [ebp - 0x1d4]
call fcn.00414e80
movups xmm0, xmmword [ebp - 0x17c]
push 0x40
lea eax, [ebp - 0x64]
push 0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00490000
add esp, 0x10
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0x20]
xorps xmm0, xmm0
push eax
push str._02x
lea eax, [ebp - 0x10]
movlpd qword [ebp - 0x10], xmm0
push 8
push eax
call fcn.0041e730
lea eax, [ebp - 0x64]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e987
sub eax, edx
lea ecx, [ebp - 0x10]
mov edx, 0x40
lea edi, [ecx + 1]
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e9a0
sub ecx, edi
lea eax, [ebp - 0x10]
cmp edx, ecx
cmovl ecx, edx
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004a0090
inc esi
add esp, 0xc
cmp esi, 0x10
jl 0x41e960
test ebx, ebx
je 0x41e9f1
mov esi, dword [ebp + 8]
push esi
push 0
push ebx
call fcn.00490000
lea eax, [ebp - 0x64]
push eax
push 0x4da200
lea eax, [esi - 1]
push eax
push ebx
call fcn.0041e730
push ebx
call fcn.004a0341
add esp, 0x20
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret
Function at 0x41fb80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov ebx, ecx
lea esi, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41fb93
sub edi, esi
xor esi, esi
test edi, edi
jle 0x41fc54
mov ah, byte [ebp - 1]
nop dword [eax]
mov al, byte [edx]
cmp al, 0x3d
je 0x41fc51
nop word [eax + eax]
test al, al
je 0x41fc51
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x41fbd4
sub al, 0x41
jmp 0x41fbf6
lea ecx, [eax - 0x61]
cmp cl, 0x19
ja 0x41fbe0
sub al, 0x47
jmp 0x41fbf6
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x41fbec
add al, 4
jmp 0x41fbf6
cmp al, 0x2b
je 0x41fc09
cmp al, 0x2f
je 0x41fc05
mov al, 0x40
inc edx
cmp al, 0x40
jne 0x41fbff
mov al, byte [edx]
jmp 0x41fbc0
cmp al, 0x41
je 0x41fc51
jmp 0x41fc0c
mov al, 0x3f
jmp 0x41fc0b
mov al, 0x3e
inc edx
mov ecx, esi
and ecx, 3
jmp dword [ecx*4 + 0x41fc60]
mov ah, al
shl ah, 2
jmp 0x41fc48
mov cl, al
shr cl, 4
or cl, ah
mov ah, al
mov byte [ebx], cl
inc ebx
shl ah, 4
jmp 0x41fc48
mov cl, al
shr cl, 2
or cl, ah
mov ah, al
mov byte [ebx], cl
inc ebx
shl ah, 6
jmp 0x41fc48
mov cl, ah
or cl, al
mov byte [ebx], cl
inc ebx
inc esi
cmp esi, edi
jl 0x41fbb0
mov ecx, dword [ebp - 8]
pop edi
sub ebx, ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop ss
xor edi, dword [ebp + 0x9e90028]
pop esp
push cs
or bl, byte [ebx + esi*2 - 0x10a7d4a2]
jae 0x563e92
sub ebx, dword [eax - 0x11]
push es
mov dh, 0x49
dec ecx
push ebp
pop ebp
jp case.0x41fc11.4
sti
pop ds
mov ch, 0x86
salc
mov al, 0xe1
call sp
inc eax
mov bl, byte [edi]
retf

Function at 0x41fc18
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov ebx, ecx
lea esi, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41fb93
sub edi, esi
xor esi, esi
test edi, edi
jle 0x41fc54
mov ah, byte [ebp - 1]
nop dword [eax]
mov al, byte [edx]
cmp al, 0x3d
je 0x41fc51
nop word [eax + eax]
test al, al
je 0x41fc51
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x41fbd4
sub al, 0x41
jmp 0x41fbf6
lea ecx, [eax - 0x61]
cmp cl, 0x19
ja 0x41fbe0
sub al, 0x47
jmp 0x41fbf6
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x41fbec
add al, 4
jmp 0x41fbf6
cmp al, 0x2b
je 0x41fc09
cmp al, 0x2f
je 0x41fc05
mov al, 0x40
inc edx
cmp al, 0x40
jne 0x41fbff
mov al, byte [edx]
jmp 0x41fbc0
cmp al, 0x41
je 0x41fc51
jmp 0x41fc0c
mov al, 0x3f
jmp 0x41fc0b
mov al, 0x3e
inc edx
mov ecx, esi
and ecx, 3
jmp dword [ecx*4 + 0x41fc60]
mov ah, al
shl ah, 2
jmp 0x41fc48
mov cl, al
shr cl, 4
or cl, ah
mov ah, al
mov byte [ebx], cl
inc ebx
shl ah, 4
jmp 0x41fc48
mov cl, al
shr cl, 2
or cl, ah
mov ah, al
mov byte [ebx], cl
inc ebx
shl ah, 6
jmp 0x41fc48
mov cl, ah
or cl, al
mov byte [ebx], cl
inc ebx
inc esi
cmp esi, edi
jl 0x41fbb0
mov ecx, dword [ebp - 8]
pop edi
sub ebx, ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop ss
xor edi, dword [ebp + 0x9e90028]
pop esp
push cs
or bl, byte [ebx + esi*2 - 0x10a7d4a2]
jae 0x563e92
sub ebx, dword [eax - 0x11]
push es
mov dh, 0x49
dec ecx
push ebp
pop ebp
jp case.0x41fc11.4
sti
pop ds
mov ch, 0x86
salc
mov al, 0xe1
call sp
inc eax
mov bl, byte [edi]
retf
Function at 0x4211b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
movzx eax, word [esi + 0x14]
add eax, 0x18
add eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [eax + 0xc]
lea ecx, [eax + 0xc]
jae 0x4211dc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
movzx ebx, word [esi + 6]
xor eax, eax
test ebx, ebx
je 0x42122a
lea edx, [eax + 1]
cmp edx, ebx
jne 0x4211f3
mov esi, dword [esi + 0x50]
jmp 0x4211f6
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 8]
cmp edi, dword [ecx]
jb 0x421206
cmp edi, esi
jb 0x421214
mov eax, edx
add ecx, 0x28
cmp eax, ebx
jae 0x42122a
mov esi, dword [ebp - 4]
jmp 0x4211e7
mov ecx, dword [ebp - 8]
lea eax, [eax + eax*4]
pop ebx
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, dword [ebp - 0xc]
add eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 8], eax
movups xmm0, xmmword [str.UninstallString]
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0xcc]
push esi
xor eax, eax
mov dword [ebp - 0xd4], 0
push edi
mov word [ebp - 0xe4], ax
lea edi, [ebp - 0xcc]
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xd0], 7
movups xmmword [ebp - 0x28], xmm0
push eax
movups xmm0, xmmword [0x4d768c]
mov ecx, 0x27
lea eax, [ebp - 0x28]
mov esi, str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, SysReAllocString
movups xmmword [ebp - 0x18], xmm0
call fcn.00407ef0
add esp, 8
test eax, eax
jne 0x423586
push 0x4da7ac
call fcn.004090e0
add esp, 4
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov ecx, ebx
mov word [ebx], ax
push eax
push 0x4d73c4
call fcn.00403340
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x423663
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423678
push edx
push ecx
call fcn.0048da03
add esp, 8
jmp 0x423663
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
cmovae eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4235af
push 0x4da78c
jmp 0x423515
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
push 0
cmovae eax, dword [ebp - 0xe4]
push eax
call fcn.00423160
test eax, eax
jne 0x423623
push 0x4da800
call fcn.004090e0
add esp, 4
mov ecx, ebx
push 0x4d73c4
call fcn.004022e0
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x423663
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423678
jmp 0x423577
movups xmm0, xmmword [ebp - 0xe4]
sub esp, 0x18
mov eax, esp
push 0x4da7e0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xd4]
movq qword [eax + 0x10], xmm0
call fcn.004090e0
movups xmm0, xmmword [ebp - 0xe4]
add esp, 0x1c
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xd4]
movq qword [ebx + 0x10], xmm0
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret 4
call fcn.0049c1b3
int3
Function at 0x425fc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0x14]
mov eax, 0x4dac20
mov bh, byte [ebp + 0x10]
test bl, bl
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov ecx, 0x4dac58
cmove eax, ecx
mov ecx, 0x4dacd0
push eax
test bh, bh
mov eax, 0x4dac50
cmove eax, ecx
push eax
push esi
push edi
push 0x4dac60
call fcn.004090e0
xor edx, edx
mov dword [ebp - 0x44], 0x3c
add esp, 0x14
mov dword [ebp - 0x38], edx
test bh, bh
mov dword [ebp - 0xc], edx
xorps xmm0, xmm0
mov dword [ebp - 0x3c], edx
mov eax, 0x8040
movlpd qword [ebp - 0x24], xmm0
mov ecx, 0x8440
movlpd qword [ebp - 0x1c], xmm0
cmovne eax, ecx
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x40], eax
test bl, bl
je 0x42605f
mov ecx, dword [ebp - 8]
mov eax, 0x4d7670
cmp byte [ecx + 0x128822], dl
cmovne eax, edx
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], edi
test bh, bh
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edx
sete al
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov ecx, 0x4d9e9c
mov eax, 0x4d9ea4
test esi, esi
cmove ecx, eax
push ecx
push edi
push 0x4dad58
call fcn.004090e0
add esp, 0xc
test esi, esi
pop edi
pop esi
pop ebx
je 0x4260d7
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4260f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x4d76a4]
mov ecx, 0x20
movq xmm0, qword [str.Path]
push ebx
push esi
push edi
mov esi, 0x4d7738
mov word [ebp - 8], ax
lea edi, [ebp - 0x90]
movq qword [ebp - 0x10], xmm0
rep movsd dword es:[edi], dword [esi]
push 0xc
xor eax, eax
mov dword [ebp - 0xc8], 0
push str.360Safe.exe
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
call fcn.00403340
xor eax, eax
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
lea edx, [ebp - 0x90]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xac], 7
push eax
lea eax, [ebp - 0x10]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00407ef0
add esp, 8
test eax, eax
jne 0x4261b1
push 0x4dae28
call fcn.004090e0
add esp, 4
xor bl, bl
jmp 0x426249
lea eax, [ebp - 0xd8]
push eax
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0xa8]
call fcn.00408b20
add esp, 4
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
cmovae eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x94]
test eax, eax
setne bl
cmp edx, 8
jb 0x42622c
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426222
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4262d4
push edx
push ecx
call fcn.0048da03
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x426285
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42627b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4262d4
push edx
push ecx
call fcn.0048da03
add esp, 8
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x4262c1
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4262b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4262d4
push edx
push ecx
call fcn.0048da03
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret
call fcn.0049c1b3
int3
Function at 0x427374
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4273a8
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4273a8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x42745e
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x4273c7
cmp dx, 0x5c
jne 0x4273c9
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4273bb
cmp esi, ebx
je 0x427411
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.0048fa80
add esp, 0xc
cmp esi, 0x208
jae 0x42746c
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.00427374
pop ecx
pop ecx
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x42742e
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004a1a4a
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004a1a19
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42745e
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0048d7c2
leave
ret
call fcn.0048d8f9
int3

Function at 0x427a97
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x427b43
cmp dword [esi + 4], 0xffffffff
jne 0x427b43
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.004a1a6c
pop ecx
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x427aea
cmp eax, 0x2f
je 0x427aea
push 0x4d73e8
push edi
call fcn.004a1a19
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x427b0c
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x427b0c
mov eax, 0x2000000
jmp 0x427b48
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042a191
add esp, 0x10
test eax, eax
jne 0x427b2a
mov eax, dword [ebp - 4]
jmp 0x427b48
push eax
call fcn.0042a86e
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x427b48
mov eax, 0x1000000
pop esi
leave
ret 0xc