joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a12d
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x467733
call fcn.0043f3f6
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.0043a682
xor esi, esi
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0043ae1a
test eax, eax
je 0x43a175
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 0x43a1d0
dec eax
je 0x43a1cd
dec eax
je 0x43a1c4
dec eax
je 0x43a1b6
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.0043a357
jmp 0x43a2ec
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], 3
or edi, ecx
jmp 0x43a1d3
mov dword [ebp - 0x10], 3
jmp 0x43a1d0
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0x18]
test ecx, edi
jne 0x43a1f4
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 0x43a2ec
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
je 0x43a219
push dword [ebp - 0x40]
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43a219
mov ecx, ebx
call fcn.0041e8c7
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
jne 0x43a26d
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.0043dd7c
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.0043dd7c
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 0x43a2af
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 0x471790
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov edi, eax
call fcn.0043e335
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 0x43a2ec
mov esi, edi
lea ecx, [ebp - 0x50]
call fcn.0043a502
mov eax, esi
call fcn.0043f3c4
ret 0x18
Function at 0x43a8d9
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.0041eeb9
cmp eax, 1
jne 0x43a9d1
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 0x43a9c6
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.0042b252
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.0043e056
leave
ret 0x14
Function at 0x43aa43
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 0x43aa83
test byte [ebp - 4], 0x41
je 0x43aa83
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x43aa83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x43ab69
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x43aab0
push eax
cmp dword [ebx + 0x40], edi
je 0x43aa9f
push str.Range:_bytes_d__r_n
jmp 0x43aaa4
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 0x43aac1
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x43ab26
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x43aaf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43ab1a
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x43ab1a
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.0043f134
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 0x43aad6
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x43ab57
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
mov ecx, ebx
jmp 0x43ab5e
cmp byte [ebp + 8], 0
je 0x43ab66
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.0043f134
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 0x43ab5c
call dword [eax + 0x28]
jmp 0x43ab68
push edi
push esi
push dword [ebx + 0x28]
call dword [eax + 8]
jmp 0x43ab68
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x43ac15
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 0x43add5
cmp dword [esi + 0x5c], 0x2710
jbe 0x43ac54
cmp dword [esi + 0x54], 0
je 0x43ac54
mov ecx, esi
call fcn.0043af50
mov edi, eax
imul edi, edi, 0xf
jmp 0x43ac59
mov edi, 0x5dc
push 1
test edi, edi
pop eax
cmove edi, eax
cmp byte [esi + 0x90], 0
je 0x43ac76
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x43ac83
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 0x43accc
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 0x43addc
cmp byte [esi + 0x90], 0
je 0x43ace7
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x43acf7
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 0x43add2
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 0x43ad21
push 5
pop edi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push edi
call fcn.00441380
mov ecx, dword [esi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x43ad74
mov edx, dword [ebp - 8]
jg 0x43ad4e
cmp edx, eax
jb 0x43ad74
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.00441c30
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.00440500
mov edi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push edi
call fcn.00441380
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edx
push eax
call fcn.00440500
add dword [esi + 0x58], eax
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp dword [esi + 0x58], ecx
jbe 0x43adb2
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 0x43adc4
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 0x43ac37
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x43add5
Function at 0x43ae1a
Capabilities:
Parse url

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

Function at 0x43aeeb
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.0043aa03
movzx edi, al
test al, al
je 0x43af22
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 0x43af34
or dword [ebp - 4], 0xffffffff
jmp 0x43af3a
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.0043a4a3
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43af50
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 0x43af8d
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 0x43af99
mov eax, dword [esi + 0x54]
jmp 0x43afe5
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x43afe3
or eax, 0xffffffff
xor edx, edx
div ebx
mov edi, dword [esi + 0x54]
cmp edi, eax
jbe 0x43afbb
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 0x43af9f
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b0cb
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 0x43b141
call esi
cmp eax, 0x3f0
jne 0x43b124
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 0x43b13a
push 1
push dword [ebp - 0x10]
call fcn.0043b225
pop ecx
pop ecx
jmp 0x43b217
test eax, eax
jne 0x43b141
push ebx
jmp 0x43b12b
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 0x43b168
push ebx
push dword [ebp - 0x10]
call fcn.0043b225
pop ecx
jmp 0x43b215
call esi
cmp eax, 0x7a
jne 0x43b159
push dword [ebp - 0x18]
call fcn.0043fc30
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 0x43b190
push ebx
jmp 0x43b201
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 0x43b18d
mov byte [ebp - 0x14], bl
mov edi, ebx
cmp dword [esi], ebx
jbe 0x43b1f5
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43b1e0
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x43b1c7
jmp 0x43b1f5
cmp byte [ebp + 0xc], 0
je 0x43b1f1
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x14], 0
jne 0x43b1f5
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.0043b225
pop ecx
pop ecx
push esi
mov bl, al
call fcn.0043dfa3
mov al, bl
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e056
leave
ret
Function at 0x43c5b6
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 0x43c5d9
xor al, al
jmp 0x43c673
push eax
call fcn.0043dd7c
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 0x43c5d2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x46a798
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43c5d2
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 0x43c671
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.0043dd7c
xor edx, edx
pop ecx
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x3c], edx
jbe 0x43c671
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 0x43c65f
mov al, 1
pop ebx
leave
ret 4
Function at 0x44abf5
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.00442055
mov dword [ebp - 0x14], eax
cmp dword [0x4877fc], edi
jne 0x44ace6
push 0x800
push edi
push 0x475814
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x44ac73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44adc6
push 0x475814
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x44adc6
push 0x47582c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44adc6
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4877fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x487800], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x487804], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48780c], eax
test eax, eax
je 0x44ace3
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x487808], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44ad0b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44acfe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x44ad20
push 4
pop eax
jmp 0x44adc8
cmp dword [ebp - 0x14], edi
je 0x44ad20
push dword [0x4877fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44ad05
mov eax, dword [0x487808]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x44ad7e
cmp dword [0x48780c], esi
je 0x44ad7e
push eax
call ebx
push dword [0x48780c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44ad7e
test eax, eax
je 0x44ad7e
call ecx
test eax, eax
je 0x44ad73
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 0x44ad73
test byte [ebp - 8], 1
jne 0x44ad7e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x44adae
mov eax, dword [0x487800]
cmp eax, esi
je 0x44adab
push eax
call ebx
test eax, eax
je 0x44adab
call eax
mov edi, eax
test edi, edi
je 0x44adab
mov eax, dword [0x487804]
cmp eax, esi
je 0x44adab
push eax
call ebx
test eax, eax
je 0x44adab
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4877fc]
call ebx
test eax, eax
je 0x44adc6
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44adc8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e056
leave
ret
Function at 0x44fa70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46807f
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], 0x47602c
mov dword [edi + 0x30], 0x46c7e0
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.00452bf0
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.00452bf0
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.00452bf0
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], 0x47602c
mov dword [ebp - 0x18], 0x46c7e0
call fcn.004065d0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 5
call fcn.004341d1
add eax, 4
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x44fba0
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 0x44fbcb
test ecx, ecx
je 0x44fbc8
mov edx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edx, edx
je 0x44fbc8
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 0x44fbf3
push str.SetWindowTheme
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x5c], eax
jmp 0x44fbfa
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.0043e056
mov esp, ebp
pop ebp
ret