joyce8/EMBER2024-capa huggingface dataset:
Function at 0x577a80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov ebx, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x260], eax
lea esi, [esp + 0x58]
push 0x208
push 0
push esi
call fcn.005191b0
add esp, 0xc
push str.chrome.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x577b3e
xor eax, eax
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 4], ebx
xor ebx, ebx
dec ebx
lea edi, [esp + 0x4c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
push esi
call fcn.00510eb5
add esp, 4
mov ecx, edi
push eax
push esi
call fcn.0040e620
lea esi, [esp + 0x48]
mov dword [esi], ebx
mov ebx, dword [esp + 4]
push edi
push esi
call fcn.0056cde0
add esp, 8
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
cmp dword [esi], eax
mov esi, 0
jne 0x577b68
lea ecx, [esp + 0x4c]
call fcn.0050a900
mov ecx, dword [esp + 0x260]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x103
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5d77c2
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, ebx
push esi
call fcn.005477d0
jmp 0x577b26
lea ebx, [esp + 0x24]
lea ecx, [esp + 0x4c]
push ebx
call fcn.0041a7b0
mov ecx, dword [esp + 0x48]
lea edi, [esp + 8]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
push edi
push 0x5dea62
call fcn.0056d220
movzx eax, byte [edi + 0xb]
test al, al
jns 0x577ba3
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x577ba6
and eax, 0x7f
lea esi, [esp + 0x18]
push eax
push edi
push esi
call fcn.00420d40
add esp, 0xc
movzx eax, byte [esi + 0xb]
test al, al
jns 0x577bc7
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x577bca
and eax, 0x7f
lea edi, [esp + 0x30]
mov ecx, ebx
push eax
push esi
push edi
call fcn.00410a10
lea ebx, [esp + 0x3c]
mov ecx, edi
push 0xb
push str.360base.dll
push ebx
call fcn.00410980
mov ecx, dword [esp + 4]
push ebx
call fcn.00407dd0
mov ecx, ebx
call fcn.0050a900
mov ecx, edi
call fcn.0050a900
cmp byte [esp + 0x23], 0
jns 0x577c16
push dword [esp + 0x18]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x577c29
push dword [esp + 8]
call fcn.0050fc7c
add esp, 4
lea ecx, [esp + 0x24]
call fcn.0050a900
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x577c42
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x577c7e
lea ecx, [esp + 0x4c]
push edi
call fcn.0041a7b0
mov ecx, edi
push 0xb
push str.360base.dll
push ebx
call fcn.00410980
mov ecx, dword [esp + 4]
push ebx
call fcn.00407dd0
mov ecx, ebx
call fcn.0050a900
mov ecx, edi
call fcn.0050a900
mov edi, dword [esp + 0x48]
mov dword [esp + 0x48], 0
test edi, edi
mov ebx, dword [esp + 4]
je 0x577b1d
mov ecx, edi
call fcn.0056cc30
push edi
call fcn.0050fc7c
add esp, 4
jmp 0x577b1d
Function at 0x5787c0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x63520
call fcn.00517ca0
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x63518], eax
test ecx, ecx
jne 0x5787fb
mov ecx, dword [esp + 0x63518]
xor ecx, ebp
call fcn.00512ee3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edx
mov esi, ecx
xor edi, edi
lea eax, [esp + 0x63118]
push 0x400
push edi
push eax
call fcn.005191b0
add esp, 0xc
push edi
call fcn.0052ee51
add esp, 4
mov dword [esp], eax
xor eax, eax
dec eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea edi, [esp + 0x10]
push edi
call fcn.00577980
add esp, 4
movzx eax, byte [edi + 0xb]
test al, al
jns 0x578851
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x578854
and eax, 0x7f
lea ecx, [esp + 4]
push eax
push edi
mov edi, ecx
push ecx
call fcn.0040a8e0
add esp, 0xc
cmp byte [esp + 0x1b], 0
jns 0x578878
push dword [esp + 0x10]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0xf], 0
jns 0x578883
mov edi, dword [esp + 4]
mov eax, str._st_um_s
mov ecx, str._s_t_um_s
test bl, bl
cmovne ecx, eax
sub esp, 0x18
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
lea eax, [esp + 0x63130]
mov dword [esp], eax
call fcn.005789f0
add esp, 0x18
mov eax, 0x208
xor ecx, ecx
lea esi, [esp + 0x62f10]
push eax
mov ebx, 0x208
push ecx
push esi
call fcn.005191b0
add esp, 0xc
mov eax, 0x103
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [esp + 0x62d08]
push ebx
xor eax, eax
push eax
push edi
call fcn.005191b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push eax
push 0x5df004
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea esi, [esp + 0x10]
push 0x62cf8
push 0xff
push esi
call fcn.005191b0
add esp, 0xc
mov ecx, esi
call fcn.00410820
mov ecx, esi
call fcn.00570a70
lea ebx, [esp + 0x5d540]
push 0x1048
xor edi, edi
push edi
push ebx
call fcn.005191b0
add esp, 0xc
mov ecx, 0x5d847a
lea eax, [esp + 0x63118]
push eax
push ecx
push 0x823
push ebx
call fcn.00551740
add esp, 0x10
lea ebx, [esp + 0x5d130]
mov eax, 0x208
push eax
push edi
push ebx
call fcn.005191b0
add esp, 0xc
lea eax, [esp + 0x62d08]
push eax
mov eax, 0x5d847a
push eax
mov eax, 0x103
push eax
push ebx
call fcn.00549e40
add esp, 0x10
mov dword [ebx - 0x5aa78], 0x3e8
mov ecx, esi
call fcn.00570870
mov ecx, esi
push 0xffffffffffffffff
call fcn.00570be0
lea eax, [esp + 0x62d08]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.005706c0
cmp byte [esp + 0xf], 0
jns 0x5787e5
push dword [esp + 4]
call fcn.0050fc7c
add esp, 4
jmp 0x5787e5
Function at 0x578a50
Capabilities:
Check if file exists
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x420
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push esi
push edi
push eax
call fcn.005191b0
add esp, 0xc
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], esi
lea ebx, [ebp - 0x420]
push esi
lea esi, [ebp - 0x218]
push edi
push ebx
call fcn.005191b0
add esp, 0xc
push edi
push 0x26
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
push str._sInternet_Exploreriexplore.exe
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x578aef
cmp word [ebp - 0x218], 0
je 0x578b27
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
add esp, 0x420
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x424]
push eax
push esi
push ecx
push 0x5d7d84
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x578acb
mov word [ebp - 0x218], 0
xor esi, esi
lea eax, [ebp - 0x42c]
mov dword [eax], esi
push eax
push 0x5b013c
push 0x15
push esi
push 0x5b014c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x578ad8
mov edi, dword [ebp - 0x42c]
test edi, edi
je 0x578ad8
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push edi
call ecx
jmp 0x578ad5
Function at 0x578b70
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x470
mov ecx, dword [ebp + 8]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x468], eax
xor esi, esi
test ecx, ecx
je 0x578c2d
cmp word [ecx], 0
je 0x578c2d
mov esi, 0x208
xor ebx, ebx
lea eax, [esp + 0x260]
push esi
push ebx
push eax
call fcn.005191b0
add esp, 0xc
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], esi
lea edi, [esp + 0x58]
push esi
lea esi, [esp + 0x264]
push ebx
push edi
call fcn.005191b0
add esp, 0xc
push ebx
push 0x26
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
push str._sInternet_Exploreriexplore.exe
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x578c45
cmp word [esp + 0x260], 0
je 0x578c7a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0xa
push 0
push dword [ebp + 8]
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
inc esi
mov ecx, dword [esp + 0x468]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x50]
lea ecx, [esp + 0x54]
push eax
push esi
push ecx
push 0x5d7d84
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x578c05
mov word [esp + 0x260], 0
xor esi, esi
lea eax, [esp + 0x4c]
mov dword [eax], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
push eax
push 0x5b013c
push 0x15
push esi
push 0x5b014c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x578c2d
mov ebx, dword [esp + 0x4c]
xor esi, esi
inc esi
test ebx, ebx
je 0x578c2d
lea edi, [esp + 0x2c]
mov dword [edi], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0x94]
call dword [section..00cfg]
push edi
push ebx
call ecx
mov eax, dword [edi]
test eax, eax
je 0x578ce8
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0xc], eax
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x10]
movdqa xmmword [ecx], xmm0
lea edi, [esp + 0x30]
mov word [edi], 0
mov word [ecx], 8
mov dword [ecx + 8], eax
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xd0]
call dword [section..00cfg]
push edi
push edi
push edi
push edi
lea eax, [esp + 0x20]
push eax
push ebx
call ecx
mov edi, dword [esp + 0x4c]
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push edi
call ecx
push dword [esp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x578c2d
Function at 0x57a680
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x424
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x430], 0
test ecx, ecx
je 0x57a739
mov edi, edx
mov esi, ecx
movzx ebx, byte [edx + 0xb]
test bl, bl
jns 0x57a6c3
mov eax, dword [edi + 4]
jmp 0x57a6c8
mov eax, ebx
and eax, 0x7f
test eax, eax
je 0x57a739
xor eax, eax
lea ecx, [ebp - 0x218]
push 0x208
push eax
push ecx
call fcn.005191b0
add esp, 0xc
movzx eax, byte [ebp + 0x10]
shl eax, 8
or eax, 1
mov dword [ebp - 0x428], 1
mov dword [ebp - 0x42c], 0x206
test bl, bl
jns 0x57a707
mov edi, dword [edi]
lea ecx, [ebp - 0x424]
push ecx
push eax
xor eax, eax
mov dword [ebp - 0x430], 0
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x57a754
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x57a739
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, dword [ebp - 0x430]
add esp, 0x424
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x57a75f
mov eax, dword [eax]
lea esi, [ebp - 0x218]
lea ecx, [ebp - 0x42c]
lea edx, [ebp - 0x428]
push ecx
push esi
push edx
push 0
push eax
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57a728
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x420]
push 0x208
push 0
push esi
call fcn.005191b0
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x57a7ad
mov ecx, dword [edi + 4]
jmp 0x57a7b2
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
jne 0x57a7d2
lea eax, [ebp - 0x218]
push eax
push 0x5d847a
push 0x104
push esi
call fcn.00549e40
add esp, 0x10
jmp 0x57a7f3
test al, al
jns 0x57a7d8
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x218]
push eax
push 0x5deeba
push 0x104
push esi
call fcn.00549e40
add esp, 0x14
test eax, eax
js 0x57a810
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x430], ecx
jmp 0x57a728
mov dword [ebp - 0x430], 0
jmp 0x57a728
Function at 0x57a820
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x414
mov edi, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x57a845
mov eax, dword [edi + 4]
jmp 0x57a848
and eax, 0x7f
xor ebx, ebx
test eax, eax
je 0x57a909
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x57a862
mov eax, dword [ecx + 4]
jmp 0x57a865
and eax, 0x7f
test eax, eax
je 0x57a909
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov esi, edx
call fcn.005191b0
add esp, 0xc
push ebx
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x57a909
cmp byte [edi + 0xb], 0
jns 0x57a8a2
mov edi, dword [edi]
push edi
lea edi, [ebp - 0x218]
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x57a909
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x57a8c4
mov edx, dword [eax + 4]
jmp 0x57a8c9
mov edx, ecx
and edx, 0x7f
test edx, edx
jne 0x57a924
lea esi, [ebp - 0x420]
push 0x208
push 0
push esi
call fcn.005191b0
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x57a8ee
mov eax, dword [eax]
push eax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x57a920
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 0x414
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x57a909
test cl, cl
jns 0x57a92a
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0xb], 0
jns 0x57a935
mov ecx, dword [ecx]
lea edx, [ebp - 0x218]
push eax
call fcn.0057ade0
add esp, 4
movzx ebx, al
jmp 0x57a909
Function at 0x57ac10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x428
mov esi, edx
mov edi, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x424], 0
movzx ebx, byte [ecx + 0xb]
test bl, bl
jns 0x57ac41
mov eax, dword [edi + 4]
jmp 0x57ac46
mov eax, ebx
and eax, 0x7f
mov dword [ebp - 0x434], 0
test eax, eax
je 0x57ad31
movzx eax, byte [esi + 0xb]
test al, al
jns 0x57ac65
mov eax, dword [esi + 4]
jmp 0x57ac68
and eax, 0x7f
test eax, eax
je 0x57ad31
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x57ac80
mov eax, dword [ecx + 4]
jmp 0x57ac83
and eax, 0x7f
test eax, eax
je 0x57ad31
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x57ac9b
mov eax, dword [ecx + 4]
jmp 0x57ac9e
and eax, 0x7f
test eax, eax
je 0x57ad31
mov ecx, 0x208
xor edx, edx
lea eax, [ebp - 0x218]
push ecx
push edx
push eax
call fcn.005191b0
add esp, 0xc
lea eax, [ebp - 0x420]
mov ecx, 0x208
push ecx
xor ecx, ecx
push ecx
push eax
call fcn.005191b0
add esp, 0xc
mov eax, 0x206
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x428], 1
test bl, bl
jns 0x57acf7
mov edi, dword [edi]
lea eax, [ebp - 0x424]
push eax
push 0x101
xor eax, eax
mov dword [ebp - 0x434], 0
push eax
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x57ad4c
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x57ad31
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, dword [ebp - 0x434]
add esp, 0x428
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esi + 0xb], 0
jns 0x57ad54
mov esi, dword [esi]
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x42c]
lea edi, [ebp - 0x428]
push eax
push ecx
push edi
push 0
push esi
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57ad20
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
jns 0x57ad87
mov ecx, dword [ecx]
lea esi, [ebp - 0x420]
lea eax, [ebp - 0x430]
push eax
push esi
push edi
push 0
push ecx
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57ad20
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0xb], 0
jns 0x57adb8
mov ecx, dword [ecx]
lea edx, [ebp - 0x218]
push esi
call fcn.0057ade0
add esp, 4
movzx eax, al
mov dword [ebp - 0x434], eax
jmp 0x57ad20
Function at 0x57ade0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x66c
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x678], ecx
test ecx, ecx
je 0x57af19
mov ebx, edx
test edx, edx
je 0x57af19
mov dword [ebp - 0x674], 0
mov edi, dword [ebp + 8]
test edi, edi
je 0x57af23
lea esi, [ebp - 0x218]
push 0x208
push 0
push esi
call fcn.005191b0
add esp, 0xc
push edi
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x57af19
mov dword [ebp - 0x674], ebx
lea edi, [ebp - 0x468]
push 0x250
push 0xff
push edi
call fcn.005191b0
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x57af19
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edi, [ebp - 0x670]
test byte [ebp - 0x468], 0x10
jne 0x57aea4
lea eax, [ebp - 0x468]
push eax
push ebx
call esi
test eax, eax
jne 0x57ae88
jmp 0x57af3e
cmp word [ebp - 0x43c], 0x2e
jne 0x57aeca
movzx eax, word [ebp - 0x43a]
test ax, ax
je 0x57ae91
cmp ax, 0x2e
jne 0x57aeca
cmp word [ebp - 0x438], 0
je 0x57ae91
push 0x208
push 0
push edi
call fcn.005191b0
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x674]
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x57ae91
push dword [ebp - 0x678]
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x57ae91
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x57ae91
xor eax, eax
inc eax
mov dword [ebp - 0x674], eax
jmp 0x57af48
mov dword [ebp - 0x674], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, dword [ebp - 0x674]
add esp, 0x66c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x674], 0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x57af23
Function at 0x57b390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x5d6580
lea ebx, [ecx + 4]
mov dword [ecx + 4], 0x5d6588
lea edi, [ebp - 0x18]
push edi
call fcn.0050b4b0
add esp, 4
mov ecx, edi
push esi
call fcn.00420e90
mov eax, dword [edi + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6c24fc]
bt edx, ecx
jae 0x57b3eb
push eax
call fcn.004e3ba0
add esp, 4
call fcn.0040f9d0
mov ecx, eax
push ebx
call fcn.00410df0
mov edi, dword [esi + 8]
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x57b4fa
mov eax, dword [esi + 0xc]
test eax, eax
je 0x57b451
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x1e4]
cmp edx, dword [esi + 0x14]
jne 0x57b451
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [ebp - 0x18]
mov dword [edx], eax
mov ecx, 0x1b4
add ecx, dword [esi + 8]
call fcn.0057dd70
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esi + 8]
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x57b4a1
mov ecx, dword [edi + 0x19c]
mov dword [eax + ecx*8], 0
mov ecx, dword [edi + 0x19c]
mov edx, dword [edi + 0x1a0]
mov dword [eax + ecx*8 + 4], edx
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], 0
test edi, edi
je 0x57b4bf
mov ecx, edi
call fcn.005884d0
push edi
call fcn.0050fc7c
add esp, 4
mov eax, dword [esi + 8]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6c24fc]
bt edx, ecx
jae 0x57b4e1
push eax
call fcn.004e3ba0
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call fcn.004f8930
jmp 0x57b40d

Function at 0x57d320
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov edi, dword [ecx]
push dword [0x5f50f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x57d34c
mov ecx, dword [edi]
mov dword [eax + ecx*8], 0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6c24fc]
bt edx, ecx
jae 0x57d36d
push eax
call fcn.004e3ba0
add esp, 4
mov dword [esi], 0
pop esi
pop edi
pop ebp
ret
Function at 0x57fd80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ecx
push 1
call fcn.0041a930
add esp, 8
test al, al
je 0x57fe06
lea edi, [ebp - 0x1c]
mov ecx, esi
push edi
call fcn.0041a7b0
mov ecx, esi
push edi
call fcn.004200c0
cmp byte [edi + 0xb], 0
js 0x57fe1c
mov ecx, esi
push 9
push str.User_Data
push edi
call fcn.00410a10
mov ecx, esi
push edi
call fcn.004200c0
cmp byte [ebp - 0x11], 0
js 0x57fe29
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x57fde4
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x57fdf7
mov bl, 1
and eax, 0x10
jne 0x57fe08
cmp byte [esi + 0xb], 0
js 0x57fe36
mov word [esi], 0
mov byte [esi + 0xb], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebp - 0x1c]
call fcn.0050fc7c
add esp, 4
jmp 0x57fdbd
push dword [ebp - 0x1c]
call fcn.0050fc7c
add esp, 4
jmp 0x57fdda
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x57fe06

Function at 0x5801c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, 0x10dd
cmp dword [0x6c04dc], 0
je 0x5801f5
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor edx, edx
xor eax, eax
lock cmpxchg dword [0x6c04dc], ecx
jne 0x5801e1
mov dword [0x6c04d8], edx
mov dword [0x6c04e0], edx
mov dword [0x6c04e4], edx
mov dword [0x6c04e8], edx
mov dword [0x6c04ec], edx
mov esi, dword [0x6c04f0]
test esi, esi
je 0x580255
lea edi, [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x14], 0xffffffff
push edi
push 0x40
push 0x10000
push esi
call ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x58023c
xor esi, esi
jmp 0x5801e1