joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x110], 0
push 0x104
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004472f0
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.004486e0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404a91
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 4]
mov byte [eax], 0x5c
push 0x5c
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call fcn.004486e0
add esp, 8
mov dword [ebp - 4], eax
jmp 0x404a5a
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004472d8
mov esp, ebp
pop ebp
ret

Function at 0x404aa0
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x58ae20
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x404acd
push 0x104
push str.C:Temp
push 0x58ae20
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x58ae20
call fcn.00402550
test eax, eax
jne 0x404b00
push 0x58ae20
call fcn.00404a00
add esp, 4
push 0
push 0x58ae20
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x404b00
xor eax, eax
jmp 0x404ba9
push 0x5c
push 0x58ae20
call fcn.00448407
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404b29
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 1]
test ecx, ecx
jne 0x404b29
mov edx, dword [ebp - 4]
mov byte [edx], 0
push 0x104
push str.RsdSfxTmp
push 0x58ae20
call fcn.00448c79
add esp, 0xc
push 0x58ae20
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x404b78
push 0x58ae20
call fcn.00401770
add esp, 4
push 0x80
push 0x58ae20
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x58ae20
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x58ae20
call fcn.00404a00
add esp, 4
push 0
push 0x58ae20
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x58ae20
call fcn.00402550
test eax, eax
jne 0x404ba4
xor eax, eax
jmp 0x404ba9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a8b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40a8cf
jmp 0x40a9a6
push str.OpenThread
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push str.Thread32First
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push str.Thread32Next
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
push 0x475da4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
je 0x40a92f
cmp dword [ebp - 4], 0
je 0x40a92f
cmp dword [ebp - 0x40], 0
je 0x40a92f
cmp dword [ebp - 0x1c], 0
jne 0x40a931
jmp 0x40a9a6
push 0
push 4
call dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x1c
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40a9a6
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 8]
jne 0x40a996
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x3c]
je 0x40a996
mov edx, dword [ebp - 0x30]
push edx
push 0
push 2
call dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40a996
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
jmp 0x40a962
mov esp, ebp
pop ebp
ret

Function at 0x40aab9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp + 0x188], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x7f]
push ebx
push eax
mov byte [ebp - 0x80], bl
call fcn.004472f0
push esi
lea eax, [ebp + 0x85]
push ebx
push eax
mov byte [ebp + 0x84], bl
call fcn.004472f0
add esp, 0x18
push 0x104
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x80]
push 0x5c
push eax
call fcn.00448407
pop ecx
pop ecx
cmp eax, ebx
je 0x40ab79
mov byte [eax], bl
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x84]
push eax
call fcn.004477e0
lea eax, [ebp + 0x84]
push str._rsdebug.ini
push eax
call fcn.004477f0
add esp, 0x10
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40ab79
lea eax, [ebp + 0x84]
push eax
push ebx
push str.IsDebug
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne al
jmp 0x40ab7b
xor al, al
mov ecx, dword [ebp + 0x188]
pop esi
xor ecx, ebp
pop ebx
call fcn.004472d8
add ebp, 0x18c
leave
ret
Function at 0x40acfe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3b8]
sub esp, 0x438
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp + 0x3b4], eax
push ebx
push esi
mov esi, dword [ebp + 0x3c0]
lea eax, [ebp - 0x54]
push eax
push str.SOFTWARE_risingUninstallTime
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor ebx, ebx
test eax, eax
jne 0x40ae18
push 0x3ff
lea eax, [ebp - 0x4b]
push ebx
push eax
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0x400
mov byte [ebp - 0x4c], bl
call fcn.004472f0
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push str.UninstallTime
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ae16
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push str._04d__02d__02d__02d:_02d:_02d
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call fcn.004485e0
add esp, 0x20
push 0xffffffffffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x78]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x64]
push dword [ebp - 0x50]
call fcn.0040ab92
lea eax, [ebp - 0x80]
push eax
call fcn.0040ace8
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x78]
cmp eax, 0x278d00
mov dword [esi], eax
jg 0x40ae16
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x3b4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004472d8
add ebp, 0x3b8
leave
ret
xor ebx, ebx
inc ebx
jmp 0x40adf4
Function at 0x40c0a2
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0040aab9
test al, al
je 0x40c1f2
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.004472f0
push esi
lea eax, [ebp - 0x30f]
push ebx
push eax
mov byte [ebp - 0x310], bl
call fcn.004472f0
push 0x475830
push dword [ebp + 8]
call fcn.0044855f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x20
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call edi
mov ecx, esi
sub ecx, eax
push ecx
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp + eax - 0x20c]
push eax
call fcn.0040accd
lea eax, [ebp - 0x310]
push str._RsInstall_
push eax
call fcn.004477e0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.004477f0
add esp, 0x10
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.004472f0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x40c1a6
push esi
push str.C:Temp
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.00448407
pop ecx
pop ecx
cmp eax, ebx
je 0x40c1c1
cmp byte [eax + 1], bl
jne 0x40c1c1
mov byte [eax], bl
lea eax, [ebp - 0x108]
push str.Rs7zSfx.log
push eax
call fcn.004477f0
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0x80
call fcn.00402d50
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004472d8
leave
ret
Function at 0x40e365
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x40e37e
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x40e3a1
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x40e3a6
inc edi
cmp edi, dword [ebp - 4]
jb 0x40e398
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x40e49e
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x40e3fd
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x40e3d1
cmp cl, 0xff
jne 0x40e428
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x40e436
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x40e43d
dec ecx
shl edx, cl
and edx, 7
je 0x40e3c2
movzx ecx, byte [edx + 0x476424]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x47641c], 0
mov cl, byte [ebx + 4]
je 0x40e425
test cl, cl
je 0x40e425
cmp cl, 0xff
jne 0x40e3c2
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x40e393
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x40e471
movzx esi, byte [edx + 0x476424]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x40e45c
cmp al, 0xff
jne 0x40e46e
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x40e3ef
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x40e393
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x41185c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.0044bc67
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.0041181e
add esp, 0x1c
leave
ret

Function at 0x411fef
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x58b570], 0
jne 0x41202d
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00411b7d
mov eax, dword [eax]
pop ecx
pop ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0040e0a7
pop ecx
test esi, esi
pop esi
je 0x41203d
mov al, 1
leave
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jmp 0x412027
xor al, al
leave
ret
Function at 0x412041
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x58b570], 0
jne 0x41207e
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00411b7d
mov eax, dword [eax]
pop ecx
pop ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0040e0a7
pop ecx
test esi, esi
pop esi
je 0x41208d
mov al, 1
leave
ret
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x412078
xor al, al
leave
ret

Function at 0x412636
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41265c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41265c
xor al, al
jmp 0x41267c
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0044b6c0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x41d390
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.004472f0
add esp, 0xc
push str.WININET.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x120], 0
jne 0x41d3eb
xor eax, eax
jmp 0x41d538
push 0x104
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
ja 0x41d41a
xor eax, eax
jmp 0x41d538
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x118]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
ja 0x41d443
xor eax, eax
jmp 0x41d538
mov edx, dword [ebp - 0x124]
push edx
call fcn.00443ea2
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x118]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x41d4a2
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0040e0a7
add esp, 4
xor eax, eax
jmp 0x41d538
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push 0x47587c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41d4e6
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
push edx
call fcn.0040e0a7
add esp, 4
xor eax, eax
jmp 0x41d538
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push str.MSIE__d._d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
call fcn.0040e0a7
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004472d8
mov esp, ebp
pop ebp
ret
Function at 0x41d550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x9c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.004472f0
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41d5c1
mov dword [ebp - 0xa8], 0x94
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41d5c1
mov eax, dword [ebp + 8]
mov byte [eax], 0
xor eax, eax
jmp 0x41d69b
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xac], 0
je 0x41d684
cmp dword [ebp - 0xac], 1
je 0x41d616
cmp dword [ebp - 0xac], 2
je 0x41d5f1
jmp 0x41d696
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
push str.Windows_NT__d._d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x41d696
cmp dword [ebp - 0xa4], 4
jne 0x41d63a
cmp dword [ebp - 0xa0], 0
jne 0x41d63a
push str.Windows_95
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
cmp dword [ebp - 0xa4], 4
jne 0x41d65e
cmp dword [ebp - 0xa0], 0xa
jne 0x41d65e
push str.Windows_98
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
cmp dword [ebp - 0xa4], 4
jne 0x41d682
cmp dword [ebp - 0xa0], 0x5a
jne 0x41d682
push str.Windows_Me
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x41d696
push str.Windows
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004472d8
mov esp, ebp
pop ebp
ret
Function at 0x41d6b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470d8e
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp - 0x270]
mov dword [eax], vtable.CHttpDownload.0
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
call fcn.00420390
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x270]
add ecx, 0x14
call fcn.00420390
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x270]
add ecx, 0x20
call fcn.00420390
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x270]
add ecx, 0x24
call fcn.00420390
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x270]
add ecx, 0x28
call fcn.00420390
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x270]
add ecx, 0x2c
call fcn.00420390
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x270]
add ecx, 0x3c
call fcn.00420390
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x270]
add ecx, 0x40
call fcn.00420390
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x270]
add ecx, 0x4c
call fcn.00420390
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x270]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x270]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x270]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x270]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x270]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x270]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x270]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x270]
mov dword [edx + 0x44], 0
mov eax, 0x50
mov ecx, dword [ebp - 0x270]
mov word [ecx + 0x18], ax
xor edx, edx
mov eax, dword [ebp - 0x270]
mov word [eax + 0x30], dx
mov ecx, dword [ebp - 0x270]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x270]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 0x270]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x270]
mov dword [ecx + 0x5c], 0
mov byte [ebp - 0x224], 0
push 0x103
push 0
lea edx, [ebp - 0x223]
push edx
call fcn.004472f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.0041d390
add esp, 8
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea ecx, [ebp - 0x11b]
push ecx
call fcn.004472f0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x11c]
push edx
call fcn.0041d550
add esp, 8
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x224]
push ecx
push str.Mozilla_4.0__compatible___s___s__Rising_
mov edx, dword [ebp - 0x270]
add edx, 0x10
push edx
call fcn.004090d0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004472d8
mov esp, ebp
pop ebp
ret
Function at 0x420c60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret

Function at 0x422250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47102c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4899f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
mov dword [eax], vtable.CRAPCloudWorker.0
mov ecx, dword [ebp - 0x84]
add ecx, 4
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x15]
mov dword [ebp - 0x14], edx
push 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.004070a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x84]
add ecx, 0x20
call fcn.00422360
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x84]
add eax, 0x7c
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x55]
mov dword [ebp - 0x54], ecx
push 0
push 0
mov ecx, dword [ebp - 0x70]
call fcn.004070a0
mov ecx, dword [ebp - 0x84]
add ecx, 0x9c
call fcn.00420390
mov ecx, dword [ebp - 0x84]
add ecx, 0xa0
call fcn.00420390
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x98], 0
push 0
push 0
mov eax, dword [ebp - 0x84]
push eax
push 0x422450
push 0
push 0
call fcn.0044bc67
add esp, 0x18
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0xa4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret