joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b0e1
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.0041f2bd
cmp eax, 1
jne 0x43b1d9
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 0x43b1ce
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.0042b5ab
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.0043e8f7
leave
ret 0x14
Function at 0x43b24b
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 0x43b28b
test byte [ebp - 4], 0x41
je 0x43b28b
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x43b28b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x43b371
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x43b2b8
push eax
cmp dword [ebx + 0x40], edi
je 0x43b2a7
push str.Range:_bytes_d__r_n
jmp 0x43b2ac
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 0x43b2c9
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x43b32e
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x43b2fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43b322
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x43b322
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.0042c205
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 0x43b2de
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x43b35f
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
mov ecx, ebx
jmp 0x43b366
cmp byte [ebp + 8], 0
je 0x43b36e
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.0042c205
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 0x43b364
call dword [eax + 0x28]
jmp 0x43b370
push edi
push esi
push dword [ebx + 0x28]
call dword [eax + 8]
jmp 0x43b370
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x43b41d
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 0x43b5dd
cmp dword [esi + 0x5c], 0x2710
jbe 0x43b45c
cmp dword [esi + 0x54], 0
je 0x43b45c
mov ecx, esi
call fcn.0043b758
mov edi, eax
imul edi, edi, 0xf
jmp 0x43b461
mov edi, 0x5dc
push 1
test edi, edi
pop eax
cmove edi, eax
cmp byte [esi + 0x90], 0
je 0x43b47e
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x43b48b
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 0x43b4d4
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 0x43b5e4
cmp byte [esi + 0x90], 0
je 0x43b4ef
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x43b4ff
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 0x43b5da
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 0x43b529
push 5
pop edi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push edi
call fcn.00441c20
mov ecx, dword [esi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x43b57c
mov edx, dword [ebp - 8]
jg 0x43b556
cmp edx, eax
jb 0x43b57c
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.004424d0
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.00440da0
mov edi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push edi
call fcn.00441c20
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edx
push eax
call fcn.00440da0
add dword [esi + 0x58], eax
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp dword [esi + 0x58], ecx
jbe 0x43b5ba
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 0x43b5cc
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 0x43b43f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x43b5dd
Function at 0x43b622
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.0043ae8a
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x43b6eb
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.0043e61d
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.0043e61d
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.0043e61d
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.0043e61d
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.0043e61d
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.0043e61d
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x43b6f3
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.0043b20b
movzx edi, al
test al, al
je 0x43b72a
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 0x43b73c
or dword [ebp - 4], 0xffffffff
jmp 0x43b742
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.0043acab
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b758
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 0x43b795
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 0x43b7a1
mov eax, dword [esi + 0x54]
jmp 0x43b7ed
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x43b7eb
or eax, 0xffffffff
xor edx, edx
div ebx
mov edi, dword [esi + 0x54]
cmp edi, eax
jbe 0x43b7c3
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 0x43b7a7
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b8d3
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 0x43b949
call esi
cmp eax, 0x3f0
jne 0x43b92c
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 0x43b942
push 1
push dword [ebp - 0x10]
call fcn.0043ba2d
pop ecx
pop ecx
jmp 0x43ba1f
test eax, eax
jne 0x43b949
push ebx
jmp 0x43b933
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 0x43b970
push ebx
push dword [ebp - 0x10]
call fcn.0043ba2d
pop ecx
jmp 0x43ba1d
call esi
cmp eax, 0x7a
jne 0x43b961
push dword [ebp - 0x18]
call fcn.004404d0
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 0x43b998
push ebx
jmp 0x43ba09
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 0x43b995
mov byte [ebp - 0x14], bl
mov edi, ebx
cmp dword [esi], ebx
jbe 0x43b9fd
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43b9e8
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x43b9cf
jmp 0x43b9fd
cmp byte [ebp + 0xc], 0
je 0x43b9f9
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x14], 0
jne 0x43b9fd
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.0043ba2d
pop ecx
pop ecx
push esi
mov bl, al
call fcn.0043e844
mov al, bl
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e8f7
leave
ret

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

Disassembly:
push 0x84
mov eax, 0x464efa
call fcn.0043fcc0
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x43bb33
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43bb7e
push 0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004064e5
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.004128ec
push 0x47bd24
lea eax, [ebp - 0x90]
push eax
call fcn.0043e906
call fcn.0043fc6f
ret
Function at 0x43be92
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2e0
mov eax, 0x468215
call fcn.0043fcc0
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.0043bb16
pop ecx
test al, 0x10
je 0x43c008
push 0x4719e0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
inc ebx
call fcn.0043bab3
add eax, 4
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43beda
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 0x43bfa2
test ebx, ebx
je 0x43bfa2
push 0x46bba0
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43bf8d
push 0x4719e8
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43bf8d
push 0
lea eax, [ebp - 0x2e1]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
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.0043ba50
add esp, 0xc
call fcn.0043be92
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 0x43bf05
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0
call fcn.0041eb6e
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 0x43c03f
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004064e5
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.004128ec
push 0x47bd24
lea eax, [ebp - 0x90]
push eax
call fcn.0043e906
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 0x43c03f
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004064e5
mov byte [ebp - 4], 4
jmp 0x43bfe6
lea ecx, [ebp + 8]
call fcn.00401500
call fcn.0043fc6f
ret
Function at 0x43ce52
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov ebx, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
test eax, eax
jne 0x43ce75
xor al, al
jmp 0x43cf0f
push eax
call fcn.0043e61d
pop ecx
push eax
push dword [ebp - 4]
mov dword [ebx + 0x40], eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43ce6e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x46b7a8
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43ce6e
push esi
mov esi, dword [ebp - 0xc]
push edi
push 0xd
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 4]
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
pop edi
pop esi
test eax, eax
je 0x43cf0d
mov eax, dword [ebp - 4]
shr eax, 2
xor ecx, ecx
push 4
pop edx
mov dword [ebx + 0x3c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e61d
xor edx, edx
pop ecx
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x3c], edx
jbe 0x43cf0d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, dword [ebx + 0x3c]
jb 0x43cefb
mov al, 1
pop ebx
leave
ret 4
Function at 0x44b495
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004428f3
mov dword [ebp - 0x14], eax
cmp dword [0x48780c], edi
jne 0x44b586
push 0x800
push edi
push 0x476134
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x44b513
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44b666
push 0x476134
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x44b666
push 0x47614c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44b666
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x48780c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x487810], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x487814], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48781c], eax
test eax, eax
je 0x44b583
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x487818], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44b5ab
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44b59e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x44b5c0
push 4
pop eax
jmp 0x44b668
cmp dword [ebp - 0x14], edi
je 0x44b5c0
push dword [0x48780c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44b5a5
mov eax, dword [0x487818]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x44b61e
cmp dword [0x48781c], esi
je 0x44b61e
push eax
call ebx
push dword [0x48781c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44b61e
test eax, eax
je 0x44b61e
call ecx
test eax, eax
je 0x44b613
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x44b613
test byte [ebp - 8], 1
jne 0x44b61e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x44b64e
mov eax, dword [0x487810]
cmp eax, esi
je 0x44b64b
push eax
call ebx
test eax, eax
je 0x44b64b
call eax
mov edi, eax
test edi, edi
je 0x44b64b
mov eax, dword [0x487814]
cmp eax, esi
je 0x44b64b
push eax
call ebx
test eax, eax
je 0x44b64b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x48780c]
call ebx
test eax, eax
je 0x44b666
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44b668
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e8f7
leave
ret
Function at 0x450310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468a3f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], edi
mov dword [edi + 8], 0x471efc
mov dword [edi + 0x30], 0x46cf9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x34], eax
mov dword [edi + 0x20], 7
mov dword [edi + 0x1c], 0
xor eax, eax
mov word [edi + 0xc], ax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
push dword [eax + edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.00453490
mov dword [edi + 0x38], eax
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 1
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.00453490
mov dword [edi + 0x40], eax
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 2
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.00453490
mov dword [edi + 0x4c], eax
mov dword [edi + 0x58], 0
push 0
lea eax, [ebp - 0x71]
push eax
push str.uxtheme.dll
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x48], 1
mov byte [edi + 0x54], 0
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004065d0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 5
call fcn.00434862
add eax, 4
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x450440
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [edi + 0x58]
mov esi, eax
cmp ecx, esi
je 0x45046b
test ecx, ecx
je 0x450468
mov edx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edx, edx
je 0x450468
push ecx
call edx
mov dword [edi + 0x58], 0
mov dword [edi + 0x58], esi
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0x40]
call fcn.00401500
mov eax, dword [edi + 0x58]
test eax, eax
je 0x450493
push str.SetWindowTheme
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x5c], eax
jmp 0x45049a
mov dword [edi + 0x5c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e8f7
mov esp, ebp
pop ebp
ret