joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435f20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x38
mov eax, 0x464b60
call fcn.0043fa79
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push dword [eax]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
and esi, 0xf
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x435f4c
mov al, 1
jmp 0x435f68
xor ecx, ecx
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x435f60
cmp ecx, esi
je 0x435f6e
lea eax, [eax + edx*2]
inc ecx
cmp ecx, 0x10
jl 0x435f4e
xor al, al
call fcn.0043fa28
ret
push 1
lea ecx, [ebp - 0x41]
push ecx
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.00406820
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00406bef
lea ecx, [ebp - 0x40]
call fcn.00401500
jmp 0x435f48

Function at 0x4362df
Capabilities:
Enumerate process modules

Disassembly:
push 0x4a0
mov eax, 0x4674b8
call fcn.0043fa79
mov eax, dword [ebp + 8]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x484]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
call sub.PSAPI.DLL_EnumProcesses
push str.NtQueryInformationProcess
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x436437
xor edi, edi
cmp dword [ebp - 0x484], edi
jbe 0x436437
push dword [ebp + edi*4 - 0x410]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x480], esi
and dword [ebp - 4], 0
test esi, esi
je 0x43641b
push 0x18
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.0043e710
add esp, 0xc
lea eax, [ebp - 0x48c]
push eax
push 0x18
lea eax, [ebp - 0x4a4]
push eax
push 0
push esi
call ebx
test eax, eax
js 0x43641b
cmp dword [ebp - 0x494], 0
je 0x43641b
lea ecx, [ebp - 0x444]
call fcn.00432e07
mov eax, dword [ebp - 0x490]
push 0x476700
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x444], eax
call fcn.004050d0
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x478]
call fcn.00432dd8
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x4ac]
push eax
mov byte [ebp - 4], 2
call fcn.004359dc
lea ecx, [ebp - 0x474]
call fcn.00401500
lea ecx, [ebp - 0x440]
call fcn.00401500
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.00403220
inc edi
cmp edi, dword [ebp - 0x484]
jb 0x43633e
call fcn.0043fa28
ret
Function at 0x4364c6
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00435a38
test al, al
je 0x436535
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x436535
push esi
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x20]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0043e699
leave
ret

Function at 0x4365a4
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x54
mov eax, 0x467500
call fcn.0043fa79
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x3c]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x20019
push eax
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004013d0
mov esi, eax
test esi, esi
jne 0x436674
push 0
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47686c
mov dword [ebp - 0x18], 0x46d060
call fcn.004033a0
push 0x105
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00434584
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.0040763d
push 0x105
push dword [eax]
push edi
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
call fcn.00406b81
cmp dword [ebp - 0x48], 0
jne 0x43665d
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0041fb2f
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
inc edi
cmp dword [ebp - 0x48], 0
je 0x4365ec
lea ecx, [ebp - 0x54]
mov dword [0x4867b0], esi
call fcn.004013a0
lea ecx, [ebp + 0xc]
call fcn.00401500
xor eax, eax
test esi, esi
sete al
call fcn.0043fa28
ret

Function at 0x439f7e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x43a73f
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x467e9f
call fcn.0043fa46
mov ebx, ecx
xor eax, eax
inc eax
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x10], eax
call fcn.0043ac94
xor esi, esi
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0043b42c
test eax, eax
je 0x43a787
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [ebp - 0x44]
push 2
mov ecx, 0x800000
pop edx
dec eax
je 0x43a7e2
dec eax
je 0x43a7df
dec eax
je 0x43a7d6
dec eax
je 0x43a7c8
mov eax, 0x2ee6
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 8
lea eax, [ebp - 0x14]
push eax
push 0x64
push dword [ebp + 0x1c]
push dword [ebp + 8]
call fcn.0043a969
jmp 0x43a8fe
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], 3
or edi, ecx
jmp 0x43a7e5
mov dword [ebp - 0x10], 3
jmp 0x43a7e2
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0x18]
test ecx, edi
jne 0x43a806
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
jmp 0x43a8fe
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
je 0x43a82b
push dword [ebp - 0x40]
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43a82b
mov ecx, ebx
call fcn.0041e8ad
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
jne 0x43a87f
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
pop ecx
push dword [ebp - 0x40]
mov dword [ebx + 0x98], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x18]
inc ecx
add eax, ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
pop ecx
push dword [ebp - 0x24]
mov dword [ebp + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x18], esi
je 0x43a8c1
push dword [ebp - 0x1c]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp + 0x1c]
mov eax, dword [ebx + 0x94]
mov ebx, dword [ebp + 0x18]
push edi
push esi
push esi
push esi
push ebx
push 0x471fe8
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov edi, eax
call fcn.0043e985
pop ecx
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x43a8fe
mov esi, edi
lea ecx, [ebp - 0x50]
call fcn.0043ab14
mov eax, esi
call fcn.0043fa14
ret 0x18
Function at 0x43aeeb
Capabilities:
Create http request
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x840], eax
call fcn.0041ef01
cmp eax, 1
jne 0x43afe3
and dword [ebp - 0x82c], 0
lea eax, [ebp - 0x82c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43afd8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x834]
push eax
push 0
push 0
push str.ProxyEnable
push dword [ebp - 0x82c]
mov dword [ebp - 0x830], 4
call esi
mov ecx, dword [ebp - 0x834]
xor edx, edx
test eax, eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
push eax
push edx
push edx
push str.AutoConfigURL
push dword [ebp - 0x82c]
cmovne ecx, edx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], 0x824
call esi
movzx ecx, byte [ebp - 0x828]
mov esi, dword [ebp - 0x838]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x828], cl
lea ecx, [ebp - 0x82c]
call fcn.0042b2b2
push dword [ebp - 0x840]
push dword [ebp - 0x83c]
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
xor ecx, ecx
test eax, eax
mov dword [edi + 4], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e699
leave
ret 0x14
Function at 0x43b055
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x43b095
test byte [ebp - 4], 0x41
je 0x43b095
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x43b095
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x43b17b
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x43b0c2
push eax
cmp dword [ebx + 0x40], edi
je 0x43b0b1
push str.Range:_bytes_d__r_n
jmp 0x43b0b6
push str.Range:_bytes_d_
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebx + 0x40], edi
je 0x43b0d3
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x43b138
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x43b107
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43b12c
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x43b12c
and eax, 0xfffffeff
push ebx
mov dword [ebx + 0x50], eax
push eax
push dword [ebx + 0x44]
mov esi, dword [ebx + 0x30]
mov edi, dword [ebx]
call fcn.0043f784
pop ecx
push eax
push dword [ebx + 0x44]
mov ecx, ebx
push dword [ebx + 0x3c]
push esi
call dword [edi + 0x2c]
test eax, eax
je 0x43b0e8
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x43b169
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
mov ecx, ebx
jmp 0x43b170
cmp byte [ebp + 8], 0
je 0x43b178
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.0043f784
pop ecx
push eax
push dword [ebx + 0x44]
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
mov eax, dword [ebx]
mov ecx, ebx
je 0x43b16e
call dword [eax + 0x28]
jmp 0x43b17a
push edi
push esi
push dword [ebx + 0x28]
call dword [eax + 8]
jmp 0x43b17a
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x43b227
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
inc eax
and dword [esi + 0x24], 0
and dword [ebx], 0
cmp dword [ebp + 0xc], 0
push edi
jbe 0x43b3e7
cmp dword [esi + 0x5c], 0x2710
jbe 0x43b266
cmp dword [esi + 0x54], 0
je 0x43b266
mov ecx, esi
call fcn.0043b562
mov edi, eax
imul edi, edi, 0xf
jmp 0x43b26b
mov edi, 0x5dc
push 1
test edi, edi
pop eax
cmove edi, eax
cmp byte [esi + 0x90], 0
je 0x43b288
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x43b295
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebx]
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
add eax, dword [ebx]
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x43b2de
mov eax, dword [esi]
push 0
lea ecx, [esi + 0xc]
push ecx
push dword [esi + 0x28]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x43b3ee
cmp byte [esi + 0x90], 0
je 0x43b2f9
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x43b309
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x43b3e4
mov ecx, dword [ebp + 0x10]
add dword [ecx], eax
add dword [esi + 0x4c], eax
add dword [esi + 0x54], eax
add dword [esi + 0x60], eax
sub edi, dword [ebp - 0x20]
sbb ebx, dword [ebp - 0x1c]
mov eax, edi
or eax, ebx
jne 0x43b333
push 5
pop edi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push edi
call fcn.004419d0
mov ecx, dword [esi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x43b386
mov edx, dword [ebp - 8]
jg 0x43b360
cmp edx, eax
jb 0x43b386
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.00442280
add dword [esi + 0x5c], eax
add dword [esi + 0x68], eax
push 0
push 0x3e8
push ebx
push ecx
mov dword [ebp - 0xc], edx
call fcn.00440b50
mov edi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push edi
call fcn.004419d0
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edx
push eax
call fcn.00440b50
add dword [esi + 0x58], eax
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp dword [esi + 0x58], ecx
jbe 0x43b3c4
mov eax, dword [esi + 0x58]
xor edx, edx
div ecx
add dword [esi + 0x5c], eax
mov dword [esi + 0x58], edx
cmp dword [esi + 0x64], ecx
jbe 0x43b3d6
mov eax, dword [esi + 0x64]
xor edx, edx
div ecx
add dword [esi + 0x68], eax
mov dword [esi + 0x64], edx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ebx], eax
jb 0x43b249
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x43b3e7
Function at 0x43b42c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.0043ac94
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x43b4f5
inc dword [esi + 8]
mov eax, dword [esi + 8]
push ebx
xor ecx, ecx
push 2
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
inc dword [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
inc dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
inc dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x28]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
inc dword [esi + 0x30]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
inc dword [esi + 0x38]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e3bf
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x43b4fd
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 4
call fcn.0043b015
movzx edi, al
test al, al
je 0x43b534
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
jne 0x43b546
or dword [ebp - 4], 0xffffffff
jmp 0x43b54c
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.0043aab5
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b562
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
sub eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, 0x7530
jbe 0x43b59f
mov eax, dword [esi + 0x60]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], edi
call ebx
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jne 0x43b5ab
mov eax, dword [esi + 0x54]
jmp 0x43b5f7
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x43b5f5
or eax, 0xffffffff
xor edx, edx
div ebx
mov edi, dword [esi + 0x54]
cmp edi, eax
jbe 0x43b5cd
shr edi, 1
shr ecx, 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x5c]
imul eax, ebx
xor edx, edx
div ecx
xor edx, edx
imul eax, eax, 0x3e8
div ebx
imul ebx, ebx, 0xa
mov edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 3
jb 0x43b5b1
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b6dd
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push ebx
push 8
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43b753
call esi
cmp eax, 0x3f0
jne 0x43b736
lea eax, [ebp - 0x10]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x43b74c
push 1
push dword [ebp - 0x10]
call fcn.0043b837
pop ecx
pop ecx
jmp 0x43b829
test eax, eax
jne 0x43b753
push ebx
jmp 0x43b73d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x43b77a
push ebx
push dword [ebp - 0x10]
call fcn.0043b837
pop ecx
jmp 0x43b827
call esi
cmp eax, 0x7a
jne 0x43b76b
push dword [ebp - 0x18]
call fcn.00440280
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x43b7a2
push ebx
jmp 0x43b813
cmp byte [ebp + 8], bl
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, 0x223
push ebx
lea ecx, [eax - 3]
cmovne eax, ecx
push eax
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43b79f
mov byte [ebp - 0x14], bl
mov edi, ebx
cmp dword [esi], ebx
jbe 0x43b807
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43b7f2
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x43b7d9
jmp 0x43b807
cmp byte [ebp + 0xc], 0
je 0x43b803
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x14], 0
jne 0x43b807
mov byte [ebp - 0x14], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0043b837
pop ecx
pop ecx
push esi
mov bl, al
call fcn.0043e5e6
mov al, bl
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e699
leave
ret

Function at 0x43b8bd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x84
mov eax, 0x4675b7
call fcn.0043fa79
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x43b8da
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43b925
push 0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47686c
mov dword [ebp - 0x18], 0x46d060
call fcn.004064e5
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.00412726
push 0x47bb28
lea eax, [ebp - 0x90]
push eax
call fcn.0043e6a8
call fcn.0043fa28
ret
Function at 0x43bc39
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2e0
mov eax, 0x467fc3
call fcn.0043fa79
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.0043b8bd
pop ecx
test al, 0x10
je 0x43bdaf
push 0x471900
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
inc ebx
call fcn.0043b85a
add eax, 4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43bc81
mov eax, dword [eax]
lea ecx, [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2e8], esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00401500
cmp esi, 0xffffffff
je 0x43bd49
test ebx, ebx
je 0x43bd49
push 0x46bb90
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43bd34
push 0x471908
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43bd34
push 0
lea eax, [ebp - 0x2e1]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47686c
mov dword [ebp - 0x18], 0x46d060
call fcn.004065d0
sub esp, 0x30
mov eax, esp
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.004325c0
add esp, 0xc
call fcn.0043bc39
add esp, 0x30
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
lea eax, [ebp - 0x2e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
jmp 0x43bcac
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0
call fcn.0041e784
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43bde6
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47686c
mov dword [ebp - 0x18], 0x46d060
call fcn.004064e5
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.00412726
push 0x47bb28
lea eax, [ebp - 0x90]
push eax
call fcn.0043e6a8
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43bde6
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47686c
mov dword [ebp - 0x18], 0x46d060
call fcn.004064e5
mov byte [ebp - 4], 4
jmp 0x43bd8d
lea ecx, [ebp + 8]
call fcn.00401500
call fcn.0043fa28
ret