joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46719d
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x10
mov eax, 0x4fe472
call fcn.004d2f7d
mov ebx, edx
mov edi, ecx
push 0x25
xor esi, esi
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.004cc1f7
pop ecx
pop ecx
test eax, eax
je 0x467370
lea ecx, [ebp - 0x10]
call fcn.00408850
push 0x51b7a4
mov dword [ebp - 4], esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push ebx
call edi
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x467259
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0045b262
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov edi, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x46724b
cmp dword [edi + 0xc], esi
jl 0x46723f
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x46723f
call fcn.00408780
mov esi, eax
mov eax, edi
call fcn.00408830
add esi, 0x10
mov dword [ebp - 0x10], esi
jmp 0x46724b
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [ebp - 0x10]
call fcn.00408500
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.004087f0
jmp 0x46729b
push str._desktop_
push ebx
call edi
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x4672a3
push 0x208
lea eax, [ebp]
push esi
push eax
call fcn.004d7710
add esp, 0xc
push esi
push 0x10
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x467316
lea edx, [ebp]
lea edi, [ebp - 0x10]
call fcn.004085a0
mov edx, dword [ebp - 0x14]
add edx, 0x12
jmp 0x4672e7
push str._publicdesktop_
push ebx
call edi
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x4672f2
push 0x208
lea eax, [ebp]
push esi
push eax
call fcn.004d7710
add esp, 0xc
push esi
push 0x19
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x467316
lea edx, [ebp]
lea edi, [ebp - 0x10]
call fcn.004085a0
mov edx, dword [ebp - 0x14]
add edx, 0x1e
lea eax, [ebp - 0x10]
push eax
call fcn.004048f0
jmp 0x467316
push str._CSIDL_
push ebx
call fcn.004cc745
pop ecx
pop ecx
cmp eax, esi
je 0x467310
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00466bf1
jmp 0x467312
xor eax, eax
cmp eax, esi
je 0x467335
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00408780
mov esi, dword [ebp - 0x18]
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.004087f0
mov eax, esi
jmp 0x46737a
xor eax, eax
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.004d7710
add esp, 0xc
push 0x105
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edi, [ebp - 0x10]
lea edx, [ebp]
test eax, eax
jne 0x467369
mov edx, ebx
call fcn.004085a0
jmp 0x467316
push edi
mov ecx, ebx
call fcn.004085e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004cb38b
add ebp, 0x210
leave
ret
Function at 0x4673c1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x51c5a4
push dword [ebp + 8]
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.004cf2c3
add esp, 0xc
test eax, eax
jne 0x46747d
cmp dword [ebp - 4], esi
je 0x46747d
push ebx
push edi
push 2
push esi
push dword [ebp - 4]
call fcn.004cf3a0
push dword [ebp - 4]
call fcn.004cf5c2
push esi
push esi
push dword [ebp - 4]
mov ebx, eax
call fcn.004cf3a0
add esp, 0x1c
push ebx
push 0x102
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x467472
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
push ebx
push 1
push eax
call fcn.004cf8d0
add esp, 0x10
lea eax, [ebp + 8]
push eax
push esi
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x46746b
push 1
push dword [ebp + 8]
call fcn.00466221
pop ecx
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call fcn.004cf964
pop ecx
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 4
Function at 0x46843d
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x20
mov eax, 0x50108b
call fcn.004d2f7d
mov dword [ebp - 0x20], ecx
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 5
push 0xc0000000
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x468585
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46857c
cmp dword [ebp - 0x28], ebx
jl 0x46857c
mov eax, dword [ebp - 0x2c]
jg 0x46849e
cmp eax, ebx
jbe 0x46857c
inc eax
push 0x54cfe0
push eax
call fcn.004cc21d
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x46857c
mov eax, dword [ebp - 0x2c]
inc eax
push eax
push ebx
push edi
call fcn.004d7710
add esp, 0xc
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x468575
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
mov byte [eax + edi], bl
call fcn.00404790
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x468519
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x468501
sub eax, edx
je 0x468519
mov edx, dword [ebp + 0xc]
lea ebx, [ebp - 0x10]
call fcn.00417210
jmp 0x468549
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
lea ebx, [ebp - 0x10]
call fcn.00417210
mov esi, 0x104
mov edi, ebx
call fcn.004174b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
mov esi, ebx
call fcn.004174f0
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
push dword [ebp + 8]
lea ebx, [esi + 0x80]
mov ecx, ebx
call fcn.004869b2
mov ecx, edi
call fcn.004685c6
mov esi, eax
call fcn.00486beb
lea eax, [ebp - 0x10]
call fcn.0042afc0
push edi
call fcn.004cc1ec
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.004d3057
ret 8

Function at 0x46da5f
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x4f63b6
call fcn.004d2f7d
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, edi
je 0x46dafa
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push ebx
mov dword [ebp - 0x10], edi
call dword [eax + 0x28]
mov esi, dword [ebp + 0xc]
call fcn.00429e20
lea eax, [ebp + 8]
push eax
mov ecx, str._script__dump_var_
call fcn.00417170
mov dword [ebp - 4], edi
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x46dad5
cmp dword [ecx], edi
je 0x46dad5
lea edx, [ebp + 0xc]
call fcn.004310b0
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
lea edi, [ebp + 8]
push dword [eax]
push ebx
push str._s:_s__exist:_d__n
call fcn.00446c40
add esp, 0x10
lea eax, [ebp + 0xc]
call fcn.0042afc0
jmp 0x46dae9
push dword [ebp - 0x10]
lea edi, [ebp + 8]
push ebx
push str._s:nil__exist:_d__n
call fcn.00446c40
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp + 8]
call fcn.0042afc0
call fcn.004d3057
ret 8
Function at 0x46db02
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f638b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0x98]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x80]
lea edi, [esp + 0x1c]
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.0047c948
test al, al
jne 0x46db96
call fcn.004a1ded
cmp dword [eax + 8], 0
je 0x46db8b
call fcn.004a1ded
mov ebx, dword [eax + 8]
call fcn.004a31b3
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x24]
call fcn.00463422
jmp 0x46db4a
lea esi, [esp + 0x10]
call fcn.00404790
and dword [esp + 0x58], 0
cmp dword [ebx + 0x50], 0
je 0x46dcfd
lea esi, [ebx + 0x34]
mov ebx, dword [esi + 0x1c]
add ebx, dword [esi + 0x18]
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], esi
call fcn.00471a60
lea edi, [esp + 0x1c]
lea eax, [esp + 0x3c]
call fcn.00471235
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x18]
lea edi, [esp + 0x2c]
call fcn.00471a60
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x46dbf1
cmp eax, dword [esp + 0x2c]
je 0x46dbf6
call fcn.004cb4f7
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
jb 0x46dcee
lea eax, [esp + 0x1c]
call fcn.004723e4
cmp dword [eax + 0x10], ebx
je 0x46dcaf
lea eax, [esp + 0x1c]
call fcn.004723e4
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
call fcn.004723e4
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
lea edi, [esp + 0x34]
lea esi, [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
call fcn.0047c948
test al, al
jne 0x46dcaf
call fcn.004a1ded
cmp dword [eax + 8], ebx
je 0x46dca6
call fcn.004a1ded
mov eax, dword [eax + 8]
lea edx, [esp + 0x18]
mov ecx, eax
call fcn.004310b0
mov edi, eax
mov byte [esp + 0x58], 1
call fcn.004a1ded
push dword [edi]
lea edi, [esp + 0x14]
push dword [eax]
push str._script__local___s:_s__t
call fcn.00446c40
add esp, 0xc
lea eax, [esp + 0x18]
mov byte [esp + 0x58], bl
call fcn.0042afc0
lea esi, [esp + 0x24]
call fcn.00463422
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x18]
lea edi, [esp + 0x3c]
call fcn.00471a60
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46dccd
cmp eax, dword [esp + 0x3c]
je 0x46dcd2
call fcn.004cb4f7
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x40]
je 0x46dcee
lea edi, [esp + 0x44]
lea esi, [esp + 0x1c]
call fcn.00471201
jmp 0x46dbd1
lea eax, [esp + 0x10]
push eax
mov edx, 0x51aa6c
call fcn.004338e0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x10]
call fcn.0042afc0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470003
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x1c
mov eax, 0x500fef
call fcn.004d2f7d
mov ebx, ecx
mov eax, dword [ebx + 4]
xor esi, esi
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x4701ba
cmp dword [eax], 1
jne 0x47002b
mov eax, dword [eax + 8]
jmp 0x47002d
xor eax, eax
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x80]
push eax
push ecx
mov dword [ebp - 0x14], ecx
call fcn.00486935
test eax, eax
je 0x47004c
xor eax, eax
inc eax
jmp 0x4701bd
mov eax, dword [ebx + 4]
cmp dword [eax], 1
jne 0x470059
mov eax, dword [eax + 8]
jmp 0x47005b
xor eax, eax
push esi
push 0x80
push 4
push esi
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x4701ba
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4701b1
cmp dword [ebp - 0x24], esi
jl 0x4701b1
mov eax, dword [ebp - 0x28]
jg 0x4700a7
cmp eax, esi
jbe 0x4701b1
inc eax
push 0x54cfe0
push eax
call fcn.004cc21d
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x4701b1
mov ecx, dword [ebp - 0x28]
inc ecx
push ecx
push esi
push eax
call fcn.004d7710
add esp, 0xc
push esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4701a8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x47012a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x470102
sub eax, edx
je 0x47012a
mov eax, dword [ebx + 4]
cmp dword [eax], 1
jne 0x47011a
mov eax, dword [eax + 8]
jmp 0x47011c
xor eax, eax
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.004869b2
jmp 0x470193
mov eax, dword [ebx + 4]
cmp dword [eax], 1
jne 0x470137
mov eax, dword [eax + 8]
jmp 0x470139
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.00417170
mov dword [ebp - 4], esi
mov esi, 0x104
lea edi, [ebp + 0xc]
call fcn.004174b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
mov esi, edi
call fcn.004174f0
mov eax, dword [ebx + 4]
cmp dword [eax], 1
jne 0x470176
mov eax, dword [eax + 8]
jmp 0x470178
xor eax, eax
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.004869b2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0xc]
call fcn.0042afc0
mov edi, dword [ebp + 8]
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.00486beb
push dword [ebp - 0x10]
call fcn.004cc1ec
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
call fcn.004d3057
ret 8
Function at 0x47328b
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x1c
mov eax, 0x4fe272
call fcn.004d2f7d
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], edi
call fcn.00417860
push edi
push edi
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push edi
push dword [ebp + 0xc]
push ecx
push eax
call esi
test eax, eax
je 0x473308
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x473308
lea ecx, [ebp - 0x28]
call fcn.00437f60
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
jne 0x4732e6
call fcn.004cb4f7
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push edi
push edi
lea edx, [ebp - 0x10]
push edx
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push ecx
push eax
call esi
test eax, eax
lea eax, [ebp - 0x28]
jne 0x47330b
call fcn.00417ab0
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.004733ed
lea esi, [ebp - 0x28]
call fcn.00417930
lea eax, [ebp + 8]
call fcn.0042afc0
mov eax, ebx
call fcn.004d3057
ret

Function at 0x47332a
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x1c
mov eax, 0x4fe247
call fcn.004d2f7d
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], edi
call fcn.00417860
push edi
push edi
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push edi
push dword [ebp + 0xc]
push ecx
push eax
call esi
test eax, eax
je 0x4733a7
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4733a7
lea ecx, [ebp - 0x28]
call fcn.00437f60
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
jne 0x473385
call fcn.004cb4f7
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push edi
push edi
lea edx, [ebp - 0x10]
push edx
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push ecx
push eax
call esi
test eax, eax
lea eax, [ebp - 0x28]
jne 0x4733aa
call fcn.00417ab0
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.004733ed
lea esi, [ebp - 0x28]
call fcn.00417930
lea ecx, [ebp + 8]
call fcn.004087f0
mov eax, ebx
call fcn.004d3057
ret
Function at 0x4772ec
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x5c]
push ecx
push esi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
call fcn.004d7710
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x478ac9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x51cbd8
push dword [ebp + 8]
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.004d0935
add esp, 0xc
test eax, eax
jne 0x478b85
cmp dword [ebp - 4], esi
je 0x478b85
push ebx
push edi
push 2
push esi
push dword [ebp - 4]
call fcn.004cf3a0
push dword [ebp - 4]
call fcn.004cf5c2
push esi
push esi
push dword [ebp - 4]
mov ebx, eax
call fcn.004cf3a0
add esp, 0x1c
push ebx
push 0x102
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x478b7a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
push ebx
push 1
push eax
call fcn.004cf8d0
add esp, 0x10
lea eax, [ebp + 8]
push eax
push esi
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x478b73
push 1
push dword [ebp + 8]
call fcn.00466221
pop ecx
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call fcn.004cf964
pop ecx
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 4
Function at 0x47e867
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push edi
test ebx, ebx
je 0x47e93b
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47e87c
sub eax, edx
sar eax, 1
je 0x47e93b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47e93b
cmp dword [ebp + 8], 0
je 0x47e93b
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47e8af
sub eax, edx
sar eax, 1
je 0x47e93b
push dword [ebp + 8]
push ebx
call fcn.0045fdb8
cmp eax, 0x20
pop ecx
pop ecx
jle 0x47e8d3
mov al, 1
jmp 0x47e93d
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
pop esi
stosd dword es:[edi], eax
push esi
xor edi, edi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.004d7710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x64], esi
push ebx
call fcn.0045fea6
add esp, 0x10
test eax, eax
je 0x47e91c
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
jmp 0x47e8cf
push 5
push edi
push dword [ebp + 8]
push ebx
push 0x514be8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov al, cl
jmp 0x47e93d
xor al, al
pop edi
pop esi
leave
ret
Function at 0x47e941
Capabilities:
Create process on windows

Disassembly:
push 0x30
mov eax, 0x5071eb
call fcn.004d2f7d
lea ecx, [ebp - 0x14]
call fcn.00408850
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0045e932
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045e97c
test eax, eax
je 0x47eabe
push 0x514f40
lea eax, [ebp - 0x3c]
call fcn.0045ef26
mov edi, str.SmartOpenUrl
test eax, eax
je 0x47e9b3
lea eax, [ebp - 0x14]
push eax
call fcn.0045f790
pop ecx
test eax, eax
je 0x47ea0b
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0045f9cc
test eax, eax
je 0x47ea0b
push dword [ebp + 8]
push ebx
push 0x51ce74
jmp 0x47e9e9
push str.360
lea eax, [ebp - 0x3c]
call fcn.0045ef26
test eax, eax
je 0x47ea0b
lea eax, [ebp - 0x14]
push eax
call fcn.0045f8ae
pop ecx
test eax, eax
je 0x47ea0b
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0045f9cc
test eax, eax
je 0x47ea0b
push dword [ebp + 8]
push ebx
push str.360Chrome
call fcn.00401f50
mov edx, edi
mov ecx, eax
call fcn.00401fd0
add esp, 0xc
push dword [ebp + 8]
call fcn.0047e867
pop ecx
test al, al
jne 0x47eabe
lea esi, [ebp - 0x3c]
call fcn.0045e9a3
lea eax, [ebp - 0x14]
push eax
call fcn.0045f790
pop ecx
test eax, eax
je 0x47ea57
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0045f9cc
test eax, eax
je 0x47ea57
mov esi, dword [ebp + 8]
push esi
push ebx
push str.360se___s____s_
call fcn.00401f50
mov edx, edi
mov ecx, eax
call fcn.00401fd0
add esp, 0xc
push esi
call fcn.0047e867
pop ecx
test al, al
jne 0x47eabe
jmp 0x47ea5a
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0045f8ae
pop ecx
test eax, eax
je 0x47ea99
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0045f9cc
test eax, eax
je 0x47ea99
push esi
push ebx
push str.360Chrome___s____s_
call fcn.00401f50
mov edx, edi
mov ecx, eax
call fcn.00401fd0
add esp, 0xc
push esi
call fcn.0047e867
pop ecx
test al, al
jne 0x47eabe
push esi
push str.Default___s_
call fcn.00401f50
mov edx, edi
mov ecx, eax
call fcn.00401fd0
xor edi, edi
push edi
push esi
call fcn.0045fdb8
add esp, 0x10
cmp eax, 0x20
jle 0x47ead9
xor edi, edi
inc edi
lea esi, [ebp - 0x3c]
call fcn.0045ef7f
lea ecx, [ebp - 0x14]
call fcn.004087f0
mov eax, edi
call fcn.004d3057
ret
push 5
push edi
push edi
push esi
push 0x514be8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov edi, ecx
jmp 0x47eac1
Function at 0x47f127
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
push ebx
push esi
mov esi, dword [edi]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
mov ebx, dword [edi + 0x18]
mov eax, dword [edi]
test esi, esi
je 0x47f148
cmp esi, eax
je 0x47f14d
call fcn.004cb4f7
cmp dword [ebp - 4], ebx
je 0x47f19f
test esi, esi
jne 0x47f19b
call fcn.004cb4f7
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jne 0x47f168
call fcn.004cb4f7
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x47f18e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 8]
call fcn.00489106
mov esi, dword [ebp - 8]
jmp 0x47f13b
mov esi, dword [esi]
jmp 0x47f15b
pop esi
pop ebx
leave
ret

Function at 0x47f1a3
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ebx
push edi
xor edi, edi
mov ebx, ecx
cmp dword [eax - 0xc], edi
jne 0x47f1ca
xor eax, eax
jmp 0x47f266
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x47f1c3
push 0x228
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.004d7710
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
mov dword [ebp - 0x238], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47f251
mov edi, ebx
call fcn.00465c46
push esi
lea ecx, [ebp - 0x214]
call fcn.004047b0
test eax, eax
jne 0x47f23b
lea eax, [ebp - 0x230]
push eax
lea edi, [ebp - 0x248]
call fcn.0047f439
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x47f219
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp eax, dword [ebx + 0x1c]
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004cb38b
leave
ret
Function at 0x47fe80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
test byte [0x5501bc], 1
mov eax, dword [eax + 4]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x1400
jne 0x47feaf
call fcn.00480bc4
mov ebx, eax
jmp 0x47feb4
mov ebx, 0x550184
lea edi, [ebx + 0x2c]
lea esi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebx + 0x24], esi
jne 0x47fefb
push esi
push esi
push ebx
push 0x4aa508
push esi
push esi
call fcn.004cd307
add esp, 0x18
mov dword [ebx + 0x24], eax
xor edi, edi
cmp dword [ebx + 0x28], esi
je 0x47feed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47fefb
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x47fedb
test byte [0x550264], 1
mov esi, 0x5500d0
jne 0x47ff10
call fcn.00480c2b
jmp 0x47ff12
mov eax, esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
test byte [0x550264], 1
jne 0x47ff29
call fcn.00480c2b
jmp 0x47ff2b
mov eax, esi
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
pop edi
pop esi
mov dword [eax + 0xa8], ecx
xor eax, eax
pop ebx
leave
ret 4