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

Disassembly:
push 0x48
mov eax, 0x4b9972
call fcn.004935c5
mov edi, dword [ebp + 0x24]
xor eax, eax
xor esi, esi
push 0xffffffffffffffff
mov word [ebp - 0x2c], ax
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.0042e374
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0047f583
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0047f742
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], esi
jae 0x47faf9
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
push 0x20219
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x47fb65
jle 0x47fb1b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push str.Failed_RegOpenKeyExW:_0x_08x.
push str.kupdate::KRegistry::ReadDWord
push 0xa5
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push 5
call fcn.0042f683
add esp, 0x18
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, edi
call fcn.00493648
ret
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 4
jae 0x47fb7b
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x54]
push ecx
push edi
lea ecx, [ebp - 0x50]
push ecx
push esi
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x4c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x47fbc1
jle 0x47fbac
and edi, 0xffff
or edi, 0x80070000
push edi
push str.Failed_RegQueryValueEx:_0x_08x.
push str.kupdate::KRegistry::ReadDWord
push 0xb0
jmp 0x47fb2d
xor edi, edi
jmp 0x47fb3c
Function at 0x47fbc8
Capabilities:
Set registry value

Disassembly:
push 0x40
mov eax, 0x4b99ec
call fcn.004935c5
xor eax, eax
xor esi, esi
push 0xffffffffffffffff
mov word [ebp - 0x2c], ax
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.0042e374
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0047f583
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0047f742
add esp, 0xc
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], esi
jae 0x47fc2c
lea eax, [ebp - 0x2c]
push esi
lea ecx, [ebp - 0x4c]
push ecx
push esi
push 0x20206
push esi
push esi
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x47fc9b
jle 0x47fc52
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push str.Failed_RegCreateKeyEx:_0x_08x.
push str.kupdate::KRegistry::WriteDWord
push 0xc5
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push 5
call fcn.0042f683
add esp, 0x18
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, edi
jmp 0x47fd1b
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x47fca7
lea eax, [ebp - 0x48]
push 4
lea ecx, [ebp + 0x24]
push ecx
push 4
push esi
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x4c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x47fcf8
jle 0x47fcd7
and edi, 0xffff
or edi, 0x80070000
mov ebx, edi
push ebx
push str.Failed_RegSetValueEx:_0x_08x.
push str.kupdate::KRegistry::WriteDWord
push 0xce
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push 5
call fcn.0042f683
add esp, 0x18
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, ebx
call fcn.00493648
ret
Function at 0x47fd21
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x48
mov eax, 0x4b9972
call fcn.004935c5
mov ebx, dword [ebp + 0x24]
xor eax, eax
xor esi, esi
push 0xffffffffffffffff
mov word [ebp - 0x2c], ax
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.0042e374
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0047f583
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0047f742
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
jae 0x47fd89
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push ecx
push 0x20219
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x47fdf4
jle 0x47fdab
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push str.Failed_RegOpenKeyEx:_0x_08x.
push str.kupdate::KRegistry::QueryType
push 0xe0
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push 5
call fcn.0042f683
add esp, 0x18
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, edi
jmp 0x47fe7c
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], esi
jae 0x47fe03
lea eax, [ebp - 0x48]
push esi
push esi
lea ecx, [ebp - 0x54]
push ecx
push esi
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x50]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
mov dword [ebx], eax
cmp edi, esi
je 0x47fe58
jle 0x47fe36
and edi, 0xffff
or edi, 0x80070000
push edi
push str.Failed_RegQueryValueEx:_0x_08x.
push str.kupdate::KRegistry::QueryType
push 0xec
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push 5
mov dword [ebp - 0x4c], edi
call fcn.0042f683
add esp, 0x18
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, dword [ebp - 0x4c]
call fcn.00493648
ret
Function at 0x47fe82
Capabilities:
Delete registry key

Disassembly:
push 0x20
mov eax, 0x4b9a21
call fcn.004935c5
xor eax, eax
xor edi, edi
push 0xffffffffffffffff
mov word [ebp - 0x2c], ax
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.0042e374
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0047f583
pop ecx
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp + 0x24], edi
je 0x47fedc
cmp dword [ebp - 0x18], 8
jae 0x47fed1
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0047f488
pop ecx
pop ecx
jmp 0x47feed
cmp dword [ebp - 0x18], 8
jae 0x47fee5
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
jle 0x47fefb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jge 0x47ff1f
push esi
push str.Failed_:_0x_08x.
push str.kupdate::KRegistry::DeleteKey
push 0x11f
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push edi
call fcn.0042f683
add esp, 0x18
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push edi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, esi
call fcn.00493648
ret
Function at 0x47ff3d
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x4b99ec
call fcn.004935c5
xor eax, eax
xor esi, esi
push 0xffffffffffffffff
mov word [ebp - 0x2c], ax
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.0042e374
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0047f583
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0047f742
add esp, 0xc
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], esi
jae 0x47ffa1
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
push 0x20206
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x480008
jle 0x47ffc3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push str.Failed_RegCreateKeyExW:_0x_08x.
push str.kupdate::KRegistry::DeleteValue
push 0x132
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push esi
call fcn.0042f683
add esp, 0x18
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, edi
jmp 0x48007e
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x480014
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x4c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x48005b
jle 0x48003b
and edi, 0xffff
or edi, 0x80070000
mov ebx, edi
push ebx
push str.Failed_RegDeleteValue:_0x_08x.
push str.kupdate::KRegistry::DeleteValue
push 0x139
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKRegistry.cpp
push esi
call fcn.0042f683
add esp, 0x18
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042e109
mov eax, ebx
call fcn.00493648
ret
Function at 0x482037
Capabilities:
Get session user name

Disassembly:
push 0x30c
mov eax, 0x4b9cd1
call fcn.004935c5
mov esi, dword [ebp + 8]
push str.Delete_all_tasks.
push str.kupdate::KTaskSchdSetter::DeleteAllTasks
push 0x1d7
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateutilKTaskScheduler.cpp
push 7
call fcn.0042f683
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00492b40
add esp, 0x20
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x318], 0x105
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x238]
push esi
push eax
call fcn.0042fffe
add esp, 0xc
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x314]
call fcn.00480dc6
push esi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00481fd0
lea ecx, [ebp - 0x314]
mov esi, eax
call fcn.00480862
push 0
push 1
lea ecx, [ebp - 0x238]
call fcn.0042e109
mov eax, esi
call fcn.00493648
ret

Function at 0x4821d7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 8], 0x80004005
mov dword [ebp - 4], ebx
call fcn.00493091
pop ecx
push eax
push dword [ebp + 8]
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.0042e40f
cmp dword [edi + 0x14], 8
jb 0x48220c
mov edi, dword [edi]
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x482289
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x482280
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x482248
push eax
call fcn.004926f3
pop ecx
push edi
call fcn.004912f9
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push dword [ebp + 8]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x482280
xor eax, eax
cmp dword [ebp - 4], ebx
sete al
cmp eax, edi
je 0x482280
push edi
mov ecx, esi
call fcn.0048215d
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x48254f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or eax, 0xffffffff
cmp dword [ebp + 8], eax
je 0x4825cc
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x482568
xor eax, eax
jmp 0x4825cb
push ebx
mov ebx, 0x80000
push edi
cmp esi, ebx
jbe 0x482575
mov esi, ebx
push esi
call fcn.004912f9
push esi
xor esi, esi
mov edi, eax
push esi
push edi
call fcn.00492b40
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x482599
mov eax, ebx
push esi
lea ecx, [ebp - 8]
push ecx
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x4825b8
sub dword [ebp - 4], eax
jne 0x482590
cmp edi, esi
je 0x4825c3
push edi
call fcn.004926f3
pop ecx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4825ce
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0x20000005
push eax
mov dword [ebp - 0x88], 0x80
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x84]
xor ecx, ebp
call fcn.004927bf
leave
ret 4

Function at 0x48262e
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 0x680]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret

Function at 0x48263b
Capabilities:
Resume thread

Disassembly:
push esi
lea esi, [ecx + 0x6a0]
cmp dword [esi], 0
je 0x482656
push dword [ecx + 0x67c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
and dword [esi], 0
pop esi
ret
Function at 0x484075
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push 0x2c8
mov eax, 0x4b9e57
call fcn.004935c5
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xff
lea eax, [ebp - 0x10f]
push 0
push eax
mov dword [ebp - 0x2d4], ebx
mov byte [ebp - 0x110], 0
call fcn.00492b40
add esp, 0xc
test edi, edi
je 0x4840c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4840c4
xor eax, eax
jmp 0x4840da
lea esi, [eax + eax]
mov eax, esi
call fcn.00493700
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040288a
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00498b20
pop ecx
pop ecx
lea eax, [ebp - 0x2bc]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x484121
push str.wsastartup___failed__
push str.KHostNameToIpGetter::_getIpListFromHostName
push 0x44
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateweb_khostnametoipgetter.h
push 9
call fcn.0042f683
add esp, 0x14
xor eax, eax
jmp 0x48423b
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x484142
push str.gethostbyname___error__
push str.KHostNameToIpGetter::_getIpListFromHostName
push 0x4b
jmp 0x48410b
movsx eax, word [esi + 0xa]
push eax
movsx eax, word [esi + 8]
push eax
push dword [esi + 4]
push dword [esi]
push str.name:_s_nalianses:_s_naddrtype:_d_nlength:_d
push str.KHostNameToIpGetter::_getIpListFromHostName
push 0x4f
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateweb_khostnametoipgetter.h
push 9
call fcn.0042f683
mov eax, dword [esi + 0xc]
and dword [ebp - 0x2d0], 0
add esp, 0x24
cmp dword [eax], 0
je 0x48422a
xor ecx, ecx
movsx edx, word [esi + 0xa]
push edx
push dword [eax + ecx]
lea eax, [ebp - 0x2c8]
push eax
call fcn.004927d0
add esp, 0xc
push dword [ebp - 0x2c8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
test ebx, ebx
je 0x4841bc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x4841c0
xor eax, eax
jmp 0x4841d4
lea eax, [edi + edi]
call fcn.00493700
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.00402852
push eax
lea ecx, [ebp - 0x12c]
call fcn.0042e48d
mov ecx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x12c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0043d617
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x12c]
call fcn.0042e109
inc dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x2d0]
mov eax, dword [esi + 0xc]
shl ecx, 2
cmp dword [eax + ecx], edi
jne 0x484181
mov ebx, dword [ebp - 0x2d4]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
push 0x1c
cdq
pop ecx
idiv ecx
lea esp, [ebp - 0x2e4]
call fcn.00493648
ret 8
Function at 0x4848b1
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x220], ebx
xor ebx, ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x208], ebx
lea ebx, [ebp - 0x208]
push ebx
lea ebx, [ebp - 0x214]
push ebx
lea ebx, [ebp - 0x218]
push ebx
push dword [ebp + 0x1c]
mov dword [ebp - 0x20c], ecx
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push edx
push 0x4d29b8
push ecx
mov ecx, dword [ebp - 0x20c]
push eax
call fcn.0048437d
test eax, eax
jne 0x484952
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x214]
push eax
mov eax, ebx
push eax
call fcn.00483e58
mov eax, 0x80004005
jmp 0x484a30
xor eax, eax
push 0x1fe
mov word [ebp - 0x204], ax
xor esi, esi
lea eax, [ebp - 0x202]
push esi
push eax
call fcn.00492b40
add esp, 0xc
push esi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x204]
push eax
push 5
push dword [ebp - 0x208]
mov dword [ebp - 0x224], 0x100
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x484948
cmp edi, esi
je 0x484a0e
mov ebx, dword [ebp + 0x24]
cmp ebx, esi
jbe 0x484a0e
lea eax, [ebp - 0x204]
push eax
call fcn.00497377
pop ecx
mov dword [ebp - 0x21c], eax
cmp eax, ebx
jbe 0x4849c5
mov dword [ebp - 0x21c], ebx
and dword [ebp - 0x210], esi
lea eax, [ebp - 0x210]
push eax
mov eax, ebx
sub eax, esi
push eax
lea eax, [edi + esi]
push eax
push dword [ebp - 0x208]
call dword [sym.imp.WININET.dll_InternetReadFile]
add esi, dword [ebp - 0x210]
test eax, eax
je 0x484a02
cmp dword [ebp - 0x210], 0
je 0x484a02
cmp esi, dword [ebp - 0x21c]
jb 0x4849cb
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x484a0e
mov dword [eax], esi
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00483e58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004927bf
leave
ret 0x24

Function at 0x484b4c
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x484b89
lea ecx, [esi + 0x9c]
call fcn.00484a86
push dword [esi + 0x94]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x484b7f
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
lea ecx, [esi + 0x9c]
call fcn.00484a41
push edi
push 1
lea ecx, [esi + 0x78]
call fcn.0042e109
push edi
push 1
lea ecx, [esi + 0x5c]
call fcn.0042e109
push edi
push 1
lea ecx, [esi + 0x40]
call fcn.0042e109
push edi
push 1
lea ecx, [esi + 0x24]
call fcn.0042e109
push edi
push 1
lea ecx, [esi + 8]
call fcn.0042e109
pop edi
pop esi
ret
Function at 0x484c04
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x30
mov eax, 0x4b9f20
call fcn.004935c5
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0047b7a6
test al, al
je 0x484c6b
cmp edi, ebx
je 0x484d8a
cmp edi, 0xffffffff
je 0x484d8a
push edi
jmp 0x484d84
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x484c9f
cmp edi, ebx
je 0x484c89
cmp edi, 0xffffffff
je 0x484c89
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x31], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
mov al, byte [ebp - 0x31]
jmp 0x484d97
lea edi, [esi + 1]
push edi
call fcn.004912f9
pop ecx
mov dword [ebp - 0x3c], eax
cmp eax, ebx
je 0x484cc0
push edi
push ebx
push eax
call fcn.00492b40
mov edi, dword [ebp - 0x3c]
add esp, 0xc
jmp 0x484cc2
xor edi, edi
push ebx
lea eax, [ebp - 0x38]
push eax
push esi
push edi
push dword [ebp - 0x30]
mov dword [ebp - 0x38], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x484d6f
cmp dword [ebp - 0x38], esi
jne 0x484d6f
cmp edi, ebx
je 0x484cfc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x484d00
xor esi, esi
jmp 0x484d19
lea eax, [esi + esi]
call fcn.00493700
mov eax, esp
push 0xfde9
push esi
push edi
push eax
call fcn.00402852
mov esi, eax
push esi
call fcn.00493091
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0042e40f
push edi
call fcn.004926f3
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x484d76
mov esi, 0x4d2a1c
push esi
call fcn.00493091
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0042e06a
cmp eax, 0xffffffff
je 0x484d76
cmp dword [ebp - 0x30], ebx
je 0x484d66
cmp dword [ebp - 0x30], 0xffffffff
je 0x484d66
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x31], 1
jmp 0x484c8c
push edi
call fcn.004926f3
pop ecx
cmp dword [ebp - 0x30], ebx
je 0x484d8a
cmp dword [ebp - 0x30], 0xffffffff
je 0x484d8a
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
xor al, al
lea esp, [ebp - 0x4c]
call fcn.00493648
ret