joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4567e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4937f0]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45681e
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45681e
call eax
jmp 0x4568d3
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x14]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str..DefaultControl_PaneldesktopResourceLocale
push SysFreeString
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0xa
call esi
test eax, eax
jne 0x456868
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x47c998
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4568b4
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push ebx
push str..DEFAULTControl_PanelInternational
push SysFreeString
mov dword [ebp - 0x18], ebx
call esi
mov esi, eax
test esi, esi
jne 0x4568a1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push str.Locale
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.00454a13
test esi, esi
je 0x4568b4
mov esi, 0x409
jmp 0x4568c6
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00442cce
add esp, 0xc
movzx esi, ax
lea ecx, [ebp - 0x14]
call fcn.00454a13
mov ax, si
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004412b3
leave
ret
Function at 0x45731c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x38
mov eax, 0x46daa4
call fcn.004422f9
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 0x457348
mov al, 1
jmp 0x457364
xor ecx, ecx
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x45735c
cmp ecx, esi
je 0x45736a
lea eax, [eax + edx*2]
inc ecx
cmp ecx, 0x10
jl 0x45734a
xor al, al
call fcn.004422a8
ret
push 1
lea ecx, [ebp - 0x41]
push ecx
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040c5b2
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0040c7e2
lea ecx, [ebp - 0x40]
call fcn.00401580
jmp 0x457344

Function at 0x457ac0
Capabilities:
Enumerate process modules

Disassembly:
push 0x4a0
mov eax, 0x46dbc6
call fcn.004422f9
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 0x457c18
xor edi, edi
cmp dword [ebp - 0x484], edi
jbe 0x457c18
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 0x457bfc
push 0x18
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.004412d0
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 0x457bfc
cmp dword [ebp - 0x494], 0
je 0x457bfc
lea ecx, [ebp - 0x444]
call fcn.004542a7
mov eax, dword [ebp - 0x490]
push 0x47c998
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x444], eax
call fcn.00405070
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x478]
call fcn.00454278
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x4ac]
push eax
mov byte [ebp - 4], 2
call fcn.00456e94
lea ecx, [ebp - 0x474]
call fcn.00401580
lea ecx, [ebp - 0x440]
call fcn.00401580
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.00403440
inc edi
cmp edi, dword [ebp - 0x484]
jb 0x457b1f
call fcn.004422a8
ret
Function at 0x457de5
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4937f0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00456f1e
test al, al
je 0x457e54
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 0x457e54
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.004412b3
leave
ret

Function at 0x45835f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x24], 8
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x2001f
push eax
push ecx
lea ecx, [ebp - 0xc]
call fcn.00401410
mov esi, eax
test esi, esi
jne 0x4583ab
cmp dword [ebp + 0x54], 8
lea eax, [ebp + 0x40]
cmovae eax, dword [ebp + 0x40]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
lea ecx, [ebp - 0xc]
mov dword [0x49a62c], esi
call fcn.004013e0
lea ecx, [ebp + 0xc]
call fcn.00401580
lea ecx, [ebp + 0x3c]
call fcn.00401580
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret

Function at 0x4583d3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4937f0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x458405
xor al, al
jmp 0x45841e
cmp dword [ebp - 0x108], 2
jne 0x45841c
cmp dword [ebp - 0x114], 5
jb 0x45841c
xor eax, eax
inc eax
jmp 0x45841e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004412b3
leave
ret
Function at 0x45c14d
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4937f0]
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 0x45c1c3
call esi
cmp eax, 0x3f0
jne 0x45c1a6
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 0x45c1bc
push 1
push dword [ebp - 0x10]
call fcn.0045c2a7
pop ecx
pop ecx
jmp 0x45c299
test eax, eax
jne 0x45c1c3
push ebx
jmp 0x45c1ad
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 0x45c1ea
push ebx
push dword [ebp - 0x10]
call fcn.0045c2a7
pop ecx
jmp 0x45c297
call esi
cmp eax, 0x7a
jne 0x45c1db
push dword [ebp - 0x18]
call fcn.00442d61
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 0x45c212
push ebx
jmp 0x45c283
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 0x45c20f
mov byte [ebp - 0x14], bl
mov edi, ebx
cmp dword [esi], ebx
jbe 0x45c277
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x45c262
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x45c249
jmp 0x45c277
cmp byte [ebp + 0xc], 0
je 0x45c273
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x14], 0
jne 0x45c277
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.0045c2a7
pop ecx
pop ecx
push esi
mov bl, al
call fcn.00441040
mov al, bl
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004412b3
leave
ret
Function at 0x45c735
Capabilities:
Connect to http server
Parse url

Disassembly:
push 0x2a0
mov eax, 0x46e668
call fcn.004422f9
mov esi, ecx
mov dword [ebp - 0x268], esi
mov eax, dword [ebp + 8]
push 1
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x2ac], 0x3c
call fcn.0045ca68
mov edi, dword [esi + 0x3c]
push 0x10000000
xor ebx, ebx
push edi
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x261], bl
call fcn.0045d200
test eax, eax
je 0x45c8ce
lea eax, [ebp - 0x2ac]
push eax
push 0x10000000
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x45c8ce
push 0x2c
call fcn.00442d61
pop ecx
test eax, eax
je 0x45c7c4
mov ecx, eax
call fcn.00415ea7
mov ebx, eax
push 0x2c
call fcn.00442d61
pop ecx
test eax, eax
je 0x45c7db
mov ecx, eax
call fcn.00415ea7
mov edi, eax
jmp 0x45c7dd
xor edi, edi
push ebx
push 0x8000000
push 1
push dword [ebp - 0x288]
push dword [ebp - 0x290]
push 0x15
push dword [ebp - 0x29c]
push dword [esi + 0x30]
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x45c81d
mov edx, dword [ebx]
push eax
lea eax, [ebx + 0xc]
push eax
push dword [esi + 0x28]
mov ecx, ebx
call dword [edx + 8]
test al, al
je 0x45c8c0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x45c83c
push eax
call fcn.0041692b
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x45c840
xor eax, eax
jmp 0x45c861
lea esi, [eax + eax]
mov eax, esi
call fcn.00443140
mov eax, esp
push 3
push esi
push dword [ebp - 0x26c]
push eax
call fcn.0045c2d8
mov esi, dword [ebp - 0x268]
push edi
push 0
push dword [ebp - 0x270]
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_FtpFindFirstFileA]
test eax, eax
jne 0x45c892
mov edx, dword [edi]
push eax
lea eax, [edi + 0xc]
push eax
push dword [esi + 0x28]
mov ecx, edi
call dword [edx + 8]
mov byte [ebp - 0x261], 0
test al, al
je 0x45c899
mov byte [ebp - 0x261], 1
lea eax, [ebp - 0x260]
push eax
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetFindNextFileW]
test eax, eax
jne 0x45c899
mov edx, dword [edi]
push eax
lea eax, [edi + 0xc]
push eax
push dword [esi + 0x28]
mov ecx, edi
call dword [edx + 8]
test al, al
jne 0x45c899
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
lea ecx, [ebp - 0x2ac]
call fcn.0045c6e9
mov al, byte [ebp - 0x261]
lea esp, [ebp - 0x2bc]
call fcn.004422a8
ret 4
Function at 0x45ccbf
Capabilities:
Create http request
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x4937f0]
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.004168d4
cmp eax, 1
jne 0x45cdb7
and dword [ebp - 0x82c], 0
lea eax, [ebp - 0x82c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45cdac
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.00454a13
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.004412b3
leave
ret 0x14
Function at 0x45ce29
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 0x45ce69
test byte [ebp - 4], 0x41
je 0x45ce69
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x45ce69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x45cf4f
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x45ce96
push eax
cmp dword [ebx + 0x40], edi
je 0x45ce85
push str.Range:_bytes_d__r_n
jmp 0x45ce8a
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 0x45cea7
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x45cf0c
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x45cedb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45cf00
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x45cf00
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.0041692b
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 0x45cebc
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x45cf3d
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
mov ecx, ebx
jmp 0x45cf44
cmp byte [ebp + 8], 0
je 0x45cf4c
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.0041692b
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 0x45cf42
call dword [eax + 0x28]
jmp 0x45cf4e
push edi
push esi
push dword [ebx + 0x28]
call dword [eax + 8]
jmp 0x45cf4e
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x45cffb
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 0x45d1bb
cmp dword [esi + 0x5c], 0x2710
jbe 0x45d03a
cmp dword [esi + 0x54], 0
je 0x45d03a
mov ecx, esi
call fcn.0045d371
mov edi, eax
imul edi, edi, 0xf
jmp 0x45d03f
mov edi, 0x5dc
push 1
test edi, edi
pop eax
cmove edi, eax
cmp byte [esi + 0x90], 0
je 0x45d05c
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x45d069
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 0x45d0b2
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 0x45d1c2
cmp byte [esi + 0x90], 0
je 0x45d0cd
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x45d0dd
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 0x45d1b8
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 0x45d107
push 5
pop edi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push edi
call fcn.00444800
mov ecx, dword [esi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x45d15a
mov edx, dword [ebp - 8]
jg 0x45d134
cmp edx, eax
jb 0x45d15a
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.0044f790
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.00444260
mov edi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push edi
call fcn.00444800
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edx
push eax
call fcn.00444260
add dword [esi + 0x58], eax
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp dword [esi + 0x58], ecx
jbe 0x45d198
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 0x45d1aa
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 0x45d01d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x45d1bb
Function at 0x45d200
Capabilities:
Parse url

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

Function at 0x45d30c
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.0045cde9
movzx edi, al
test al, al
je 0x45d343
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 0x45d355
or dword [ebp - 4], 0xffffffff
jmp 0x45d35b
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.0045c68a
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45d371
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 0x45d3ae
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 0x45d3ba
mov eax, dword [esi + 0x54]
jmp 0x45d406
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x45d404
or eax, 0xffffffff
xor edx, edx
div ebx
mov edi, dword [esi + 0x54]
cmp edi, eax
jbe 0x45d3dc
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 0x45d3c0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45ef90
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ea48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4937f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
or esi, 0xffffffff
mov dword [ebp - 4], 0
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x45f049
push edi
push edi
push edi
push 2
push edi
mov esi, ebx
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x45f049
push 0
push 0
push 0
push 4
mov edi, eax
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 8], eax
test eax, eax
je 0x45f049
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ebx
call fcn.0045ed30
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp + 0xb], 1
test eax, eax
je 0x45f04d
push ebx
call eax
jmp 0x45f04d
mov byte [ebp + 0xb], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x45f05e
test ebx, ebx
je 0x45f05e
push edi
call ebx
cmp esi, 0xffffffff
je 0x45f06a
test ebx, ebx
je 0x45f06a
push esi
call ebx
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8