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

Disassembly:
push 0x148
mov eax, 0x468a80
call fcn.004414e8
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 0x154], ebx
mov byte [ebp - 0x114], bl
call fcn.004400d0
add esp, 0xc
mov dword [ebp - 0x14c], ebx
lea eax, [ebp - 0x14c]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x433be0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ecx, str.ProgramFilesDir
push ebx
mov eax, str.CommonFilesDir
cmp edi, 1
cmovne eax, ecx
push eax
push dword [ebp - 0x14c]
mov dword [ebp - 0x150], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea eax, [ebp - 0x145]
push eax
lea eax, [ebp - 0x114]
mov edi, 0x4745e4
mov ebx, 0x46ef78
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x11c], ebx
call fcn.00411e32
push 0x46d690
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.0040834b
lea ecx, [ebp - 0x144]
call fcn.00433e97
lea eax, [ebp - 0x144]
jmp 0x433c25
push 0
lea eax, [ebp - 0x145]
push eax
lea eax, [ebp - 0x114]
mov edi, 0x4745e4
mov ebx, 0x46ef78
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x11c], ebx
call fcn.00411e32
push 0x46d690
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.0040834b
push 0
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x28], ebx
call fcn.00406676
lea ecx, [ebp - 0x144]
call fcn.00401500
lea ecx, [ebp - 0x14c]
call fcn.0042cb9d
mov eax, esi
call fcn.00441497
ret

Function at 0x434a12
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x434a97
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x434a90
mov ecx, dword [edi]
test ecx, ecx
je 0x434a8b
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x434a81
cmp edx, 2
jbe 0x434a73
cmp edx, 7
jne 0x434a81
test cl, 1
jne 0x434a81
shr ecx, 1
cmp ecx, 1
jb 0x434a81
cmp word [esi + ecx*2 - 2], bx
jne 0x434a81
cmp ecx, 1
jbe 0x434a90
cmp word [esi + ecx*2 - 4], bx
jmp 0x434a7f
test cl, 1
jne 0x434a81
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x434a90
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x434a90
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push 0x80004005
call fcn.004064cd
int3
Function at 0x43551d
Capabilities:
Check if file exists

Disassembly:
push 0xc8
mov eax, 0x468d16
call fcn.004414e8
xor ebx, ebx
test byte [ebp + 0x38], 0x10
mov dword [ebp - 4], ebx
je 0x43557b
lea ecx, [ebp + 8]
call fcn.0041fe68
test al, al
je 0x43557b
push dword [ebp + 0x38]
lea eax, [ebp + 8]
sub esp, 0x30
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x4745e4
mov dword [ecx + 0x28], 0x46ef78
call fcn.00406676
call fcn.00435700
add esp, 0x34
mov bl, al
lea ecx, [ebp + 8]
call fcn.00401500
mov al, bl
jmp 0x4356fa
sub esp, 0x30
mov ecx, esp
push ebx
lea eax, [ebp + 8]
push eax
mov dword [ecx], 0x4745e4
mov dword [ecx + 0x28], 0x46ef78
call fcn.00406676
call fcn.00436060
add esp, 0x30
cmp eax, 0xffffffff
je 0x4355bc
test byte [ebp + 0x38], 4
je 0x4355ae
test al, 0x10
je 0x4355b8
test byte [ebp + 0x38], 8
je 0x43556c
test al, 0x10
je 0x43556c
mov bl, 1
jmp 0x43556c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x4356f0
cmp esi, 3
je 0x4356f0
cmp esi, 5
jne 0x4356a4
lea ecx, [ebp - 0xcc]
call fcn.00434890
or dword [ebp - 0xd0], 0xffffffff
lea eax, [ebp - 0xcc]
push eax
sub esp, 0x30
mov ecx, esp
push ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
mov dword [ecx], 0x4745e4
mov dword [ecx + 0x28], 0x46ef78
call fcn.00406676
call fcn.00435fac
mov esi, eax
add esp, 0x34
cmp esi, 0xffffffff
je 0x43567b
lea ecx, [ebp - 0xd0]
call fcn.0041ed27
test byte [ebp + 0x38], 4
mov dword [ebp - 0xd0], esi
je 0x435647
test byte [ebp - 0xcc], 0x10
je 0x435656
test byte [ebp + 0x38], 8
je 0x435658
test byte [ebp - 0xcc], 0x10
je 0x435658
mov bl, 1
lea ecx, [ebp - 0xd0]
call fcn.0041ed27
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0xa0]
call fcn.00401500
jmp 0x43556c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd0]
mov esi, eax
call fcn.0041ed27
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00401500
lea ecx, [ebp - 0xa0]
call fcn.00401500
test byte [ebp + 0x38], 0x20
je 0x43556c
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406676
push 1
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00412ab3
push 0x47e36c
lea eax, [ebp - 0x90]
push eax
call fcn.0044006f
lea ecx, [ebp + 8]
call fcn.00401500
xor al, al
call fcn.00441497
ret
Function at 0x436a1d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4742ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x436a53
push 0x474308
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436a53
call eax
jmp 0x436b08
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 SysReAllocStringLen
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0xa
call esi
test eax, eax
jne 0x436a9d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x478ed0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x436ae9
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push ebx
push str..DEFAULTControl_PanelInternational
push SysReAllocStringLen
mov dword [ebp - 0x18], ebx
call esi
mov esi, eax
test esi, esi
jne 0x436ad6
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.0042cb9d
test esi, esi
je 0x436ae9
mov esi, 0x409
jmp 0x436afb
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00443bac
add esp, 0xc
movzx esi, ax
lea ecx, [ebp - 0x14]
call fcn.0042cb9d
mov ax, si
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00440060
leave
ret
Function at 0x436f04
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], ebx
lea eax, [ebp - 0x118]
push eax
mov dword [esi], ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 1
jne 0x436f96
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x436f89
cmp eax, 0xa
je 0x436f68
cmp eax, 0x5a
jne 0x436f5b
mov bl, 1
mov dword [esi], 0x80
mov al, bl
jmp 0x43704e
call fcn.00437507
test al, al
mov al, 1
je 0x436f7e
mov dword [esi], 0x80
jmp 0x43704e
mov dword [esi], 0x40
jmp 0x43704e
mov dword [esi], 0x10
mov al, 1
jmp 0x43704e
cmp dword [ebp - 0x108], 2
jne 0x43704c
mov eax, dword [ebp - 0x114]
sub eax, 4
je 0x437041
dec eax
je 0x43700c
dec eax
je 0x436fd3
sub eax, 4
jne 0x436fcb
cmp dword [ebp - 0x110], ebx
jne 0x43704c
mov bl, 1
mov dword [esi], 0x10000000
jmp 0x436f61
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x436fe5
mov dword [esi], 0x1000000
jmp 0x436f8f
cmp eax, 1
jne 0x436ff2
mov dword [esi], 0x2000000
jmp 0x436f8f
cmp eax, 2
jne 0x436fff
mov dword [esi], 0x4000000
jmp 0x436f8f
cmp eax, 3
jne 0x43704c
mov dword [esi], 0x8000000
jmp 0x436f8f
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x437021
mov dword [esi], 0x100000
jmp 0x436f8f
cmp eax, 1
jne 0x437031
mov dword [esi], 0x400000
jmp 0x436f8f
cmp eax, 2
jne 0x43704c
mov dword [esi], 0x800000
jmp 0x436f8f
mov dword [esi], 0x10000
jmp 0x436f8f
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00440060
leave
ret
Function at 0x4379e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x38
mov eax, 0x4685f4
call fcn.004414e8
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 0x437a0d
mov al, 1
jmp 0x437a29
xor ecx, ecx
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x437a21
cmp ecx, esi
je 0x437a2f
lea eax, [eax + edx*2]
inc ecx
cmp ecx, 0x10
jl 0x437a0f
xor al, al
call fcn.00441497
ret
push 1
lea ecx, [ebp - 0x41]
push ecx
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.004069b1
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00406e0f
lea ecx, [ebp - 0x40]
call fcn.00401500
jmp 0x437a09

Function at 0x437da0
Capabilities:
Enumerate process modules

Disassembly:
push 0x4a0
mov eax, 0x469300
call fcn.004414e8
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 0x437ef8
xor edi, edi
cmp dword [ebp - 0x484], edi
jbe 0x437ef8
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 0x437edc
push 0x18
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.004400d0
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 0x437edc
cmp dword [ebp - 0x494], 0
je 0x437edc
lea ecx, [ebp - 0x444]
call fcn.004348d0
mov eax, dword [ebp - 0x490]
push 0x478ed0
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.00434835
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x4ac]
push eax
mov byte [ebp - 4], 2
call fcn.0043749d
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 0x437dff
call fcn.00441497
ret
Function at 0x437f88
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004374f9
test al, al
je 0x437ff7
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 0x437ff7
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.00440060
leave
ret

Function at 0x438066
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x54
mov eax, 0x46937f
call fcn.004414e8
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 0x438136
push 0
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.004033a0
push 0x105
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004076d5
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.0040767a
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.00406d8b
cmp dword [ebp - 0x48], 0
jne 0x43811f
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.004200d3
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
inc edi
cmp dword [ebp - 0x48], 0
je 0x4380ae
lea ecx, [ebp - 0x54]
mov dword [0x4897b0], esi
call fcn.004013a0
lea ecx, [ebp + 0xc]
call fcn.00401500
xor eax, eax
test esi, esi
sete al
call fcn.00441497
ret

Function at 0x43b9b4
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 0x43c175
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x469c85
call fcn.004414b5
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.0043c6ca
xor esi, esi
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0043ce62
test eax, eax
je 0x43c1bd
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 0x43c218
dec eax
je 0x43c215
dec eax
je 0x43c20c
dec eax
je 0x43c1fe
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.0043c39f
jmp 0x43c334
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], 3
or edi, ecx
jmp 0x43c21b
mov dword [ebp - 0x10], 3
jmp 0x43c218
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0x18]
test ecx, edi
jne 0x43c23c
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 0x43c334
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
je 0x43c261
push dword [ebp - 0x40]
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43c261
mov ecx, ebx
call fcn.0041ee50
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
jne 0x43c2b5
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.0043fd86
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.0043fd86
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 0x43c2f7
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 0x4747b8
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov edi, eax
call fcn.00440394
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 0x43c334
mov esi, edi
lea ecx, [ebp - 0x50]
call fcn.0043c54a
mov eax, esi
call fcn.00441483
ret 0x18
Function at 0x43c921
Capabilities:
Create http request
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x487db8]
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.0041f4a5
cmp eax, 1
jne 0x43ca19
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 0x43ca0e
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.0042cb9d
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.00440060
leave
ret 0x14
Function at 0x43ca8b
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 0x43cacb
test byte [ebp - 4], 0x41
je 0x43cacb
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x43cacb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x43cbb1
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x43caf8
push eax
cmp dword [ebx + 0x40], edi
je 0x43cae7
push str.Range:_bytes_d__r_n
jmp 0x43caec
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 0x43cb09
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x43cb6e
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x43cb3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43cb62
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x43cb62
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.0042db31
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 0x43cb1e
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x43cb9f
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
mov ecx, ebx
jmp 0x43cba6
cmp byte [ebp + 8], 0
je 0x43cbae
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.0042db31
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 0x43cba4
call dword [eax + 0x28]
jmp 0x43cbb0
push edi
push esi
push dword [ebx + 0x28]
call dword [eax + 8]
jmp 0x43cbb0
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x43cc5d
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 0x43ce1d
cmp dword [esi + 0x5c], 0x2710
jbe 0x43cc9c
cmp dword [esi + 0x54], 0
je 0x43cc9c
mov ecx, esi
call fcn.0043cf98
mov edi, eax
imul edi, edi, 0xf
jmp 0x43cca1
mov edi, 0x5dc
push 1
test edi, edi
pop eax
cmove edi, eax
cmp byte [esi + 0x90], 0
je 0x43ccbe
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x43cccb
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 0x43cd14
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 0x43ce24
cmp byte [esi + 0x90], 0
je 0x43cd2f
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x43cd3f
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 0x43ce1a
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 0x43cd69
push 5
pop edi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push edi
call fcn.00443380
mov ecx, dword [esi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x43cdbc
mov edx, dword [ebp - 8]
jg 0x43cd96
cmp edx, eax
jb 0x43cdbc
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.00443c30
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.00442500
mov edi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push edi
call fcn.00443380
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edx
push eax
call fcn.00442500
add dword [esi + 0x58], eax
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp dword [esi + 0x58], ecx
jbe 0x43cdfa
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 0x43ce0c
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 0x43cc7f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x43ce1d