joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428024
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42806a
call fcn.00426e41
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42806a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4280ad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x428096
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x428096
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4280aa
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42ace6
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x42acef
xor eax, eax
jmp 0x42ad58
cmp dword [esp + 8], 0
jne 0x42acfb
call fcn.004253d5
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00445667
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42ad36
push dword [esi + 0x10]
call fcn.0044536d
test eax, eax
pop ecx
jne 0x42ad36
mov esi, dword [esi + 0xc]
call fcn.00441f14
push esi
push dword [eax]
push 1
call fcn.00438160
push dword [esi + 0x10]
call fcn.0044539c
test eax, eax
pop ecx
je 0x42ad55
push dword [esi + 0x10]
call fcn.004452c1
push eax
call fcn.004031d0
pop ecx
pop ecx
jmp 0x42ad24
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x42ad61
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x42ad6b
call fcn.004253d5
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0043f8bc
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x42ad98
mov esi, dword [esi + 0xc]
call fcn.00441f14
push esi
push dword [eax]
push 1
call fcn.00438160
pop esi
ret 8

Function at 0x42b9e4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42ba0d
call fcn.00426e41
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x42ba30
push eax
push dword [esi + 4]
call fcn.0042b96f
push esi
push eax
mov ecx, 0x4a1018
call fcn.0042b642
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x42cab7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42cae5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42cb03
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042ca21
jmp 0x42cb03
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42cb03
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042ca21
test edi, edi
mov eax, edi
jne 0x42caed
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4a1054]
test ecx, ecx
je 0x42cbc6
jmp 0x42cab6
ret 8

Function at 0x43bd9a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49d7a0]
jne 0x43bda4
repz ret
jmp fcn.00448c6c
Function at 0x4453cb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x445408
cmp dword [ebp + 0x14], edi
je 0x445408
cmp ecx, edi
jne 0x44540f
call fcn.00441f01
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043c2ac
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x445423
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x445444
cmp ebx, 0xffffffff
je 0x445433
push ebx
push edi
push ecx
call fcn.0043be70
add esp, 0xc
cmp esi, edi
je 0x4453f0
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4453f0
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x445460
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x445467
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x445558
test word [esi + 0xc], 0x10c
je 0x4454bb
mov eax, dword [esi + 4]
test eax, eax
je 0x4454bb
jl 0x4455b9
cmp ebx, eax
mov edi, ebx
jb 0x44548c
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x445560
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043bda9
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x445550
cmp ebx, dword [ebp - 0xc]
jb 0x445528
cmp dword [ebp - 0xc], 0
je 0x4454e5
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4454da
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4454e1
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4454f0
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4454f0
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x44558c
push eax
push dword [ebp - 8]
push esi
call fcn.0044510e
pop ecx
push eax
call fcn.00441d7d
add esp, 0xc
test eax, eax
je 0x4455cb
cmp eax, 0xffffffff
je 0x4455b9
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x445550
push esi
call fcn.0044f681
cmp eax, 0xffffffff
pop ecx
je 0x4455bd
cmp dword [ebp - 4], 0
je 0x44558c
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x44546f
mov eax, dword [ebp + 0x14]
jmp 0x44540a
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x445577
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043be70
add esp, 0xc
call fcn.00441f01
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x445400
cmp dword [ebp + 0xc], 0xffffffff
je 0x4455a2
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043be70
add esp, 0xc
call fcn.00441f01
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x445400
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44540a
or dword [esi + 0xc], 0x10
jmp 0x4455bd
Function at 0x44666c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x49db40]
je 0x446687
inc edi
cmp edi, 0x17
jb 0x446678
cmp edi, 0x17
jae 0x446807
push ebp
push 3
call fcn.00453ea4
cmp eax, 1
pop ecx
je 0x4467d3
push 3
call fcn.00453ea4
test eax, eax
pop ecx
jne 0x4466bb
cmp dword [0x49d760], 1
je 0x4467d3
cmp ebx, 0xfc
je 0x446806
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4a1480
push ebp
call fcn.00448f62
add esp, 0xc
test eax, eax
je 0x4466f1
push esi
push esi
push esi
push esi
push esi
call fcn.0043c1b0
add esp, 0x14
push 0x104
mov esi, 0x4a1499
push esi
push 0
mov byte [0x4a159d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x446735
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00448f62
add esp, 0xc
test eax, eax
je 0x446735
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043c1b0
add esp, 0x14
push esi
call fcn.0043c0c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44677a
push esi
call fcn.0043c0c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4a1794
push 0x482c2c
sub ecx, eax
push ecx
push eax
call fcn.0044b3b0
add esp, 0x14
test eax, eax
je 0x44677a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043c1b0
add esp, 0x14
jmp 0x44677c
xor esi, esi
push 0x482c28
push ebx
push ebp
call fcn.0044b33f
add esp, 0xc
test eax, eax
je 0x44679c
push esi
push esi
push esi
push esi
push esi
call fcn.0043c1b0
add esp, 0x14
push dword [edi*8 + 0x49db44]
push ebx
push ebp
call fcn.0044b33f
add esp, 0xc
test eax, eax
je 0x4467be
push esi
push esi
push esi
push esi
push esi
call fcn.0043c1b0
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00453ce7
add esp, 0xc
jmp 0x446806
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x446806
cmp ebp, 0xffffffff
je 0x446806
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x49db44]
push dword [esi]
call fcn.0043c0c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x453ce7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044721c
xor ebx, ebx
cmp dword [0x4a1ecc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x453dbd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x453e9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x453e9d
push eax
call fcn.004471ae
mov dword [esp], 0x483f18
push edi
mov dword [0x4a1ecc], eax
call esi
push eax
call fcn.004471ae
mov dword [esp], 0x483f04
push edi
mov dword [0x4a1ed0], eax
call esi
push eax
call fcn.004471ae
mov dword [0x4a1ed4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043dc5d
test eax, eax
pop ecx
pop ecx
je 0x453d8b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c1b0
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x453dbd
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004471ae
cmp eax, ebx
pop ecx
mov dword [0x4a1edc], eax
je 0x453dbd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004471ae
pop ecx
mov dword [0x4a1ed8], eax
mov eax, dword [0x4a1ed8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x453e42
cmp dword [0x4a1edc], ecx
je 0x453e42
push eax
call fcn.00447225
push dword [0x4a1edc]
mov esi, eax
call fcn.00447225
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x453e42
cmp edi, ebx
je 0x453e42
call esi
cmp eax, ebx
je 0x453e0f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x453e0f
test byte [ebp - 0x18], 1
jne 0x453e42
lea eax, [ebp - 0x10]
push eax
call fcn.0043dc94
test eax, eax
pop ecx
je 0x453e2a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c1b0
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x453e39
or dword [ebp + 0x10], 0x200000
jmp 0x453e7d
or dword [ebp + 0x10], 0x40000
jmp 0x453e7d
mov eax, dword [0x4a1ed0]
cmp eax, dword [ebp - 8]
je 0x453e7d
push eax
call fcn.00447225
cmp eax, ebx
pop ecx
je 0x453e7d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x453e7d
mov eax, dword [0x4a1ed4]
cmp eax, dword [ebp - 8]
je 0x453e7d
push eax
call fcn.00447225
cmp eax, ebx
pop ecx
je 0x453e7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a1ecc]
call fcn.00447225
cmp eax, ebx
pop ecx
je 0x453e9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x453e9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x459c62
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00459bf7
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043be70
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x459cb1
cmp dword [ebp - 0x1c], 5
jb 0x459cc9
jmp 0x459cc5
cmp dword [ebp - 0x10], 1
jne 0x459cc9
cmp dword [ebp - 0x1c], 4
ja 0x459cc5
jne 0x459cc9
cmp dword [ebp - 0x18], 0
jbe 0x459cc9
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x484f60
call fcn.00459ae8
test eax, eax
jge 0x459cea
mov byte [0x4a26a8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043bd9a
add ebp, 0x78
leave
ret
Function at 0x45b0a0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 5
push 0xffffffffffffffff
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x45b0ea
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043ec13
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
jmp 0x45b0f8
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45c2a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0043be70
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x45c3b3
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x45c3b3
lea edx, [ebp - 4]
push edx
push 0x10008
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x45c3b1
cmp dword [ebp - 0x21c], 0
jne 0x45c3a7
mov dword [ebp - 0x220], 0x104
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0x103
jne 0x45c380
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x21c], eax
jmp 0x45c3a7
cmp dword [ebp - 0x21c], 0
jne 0x45c3a2
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0045c2a0
add esp, 8
mov dword [ebp - 0x21c], eax
jmp 0x45c321
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45c3bd
mov dword [ebp - 0x21c], 0x3f2
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret
Function at 0x45c6d0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.00404690
mov dword [ebp - 0xc], eax
cmp dword [0x4a2504], 6
jae 0x45c6fe
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x45c7db
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c71e
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x45c7db
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45c7d3
mov dword [ebp - 0x18], 1
lea ecx, [ebp + 8]
call fcn.00401560
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45c762
mov dword [ebp - 0x20], 0
jmp 0x45c7b1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45c784
mov dword [ebp - 0x24], 0
jmp 0x45c7ab
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004465c0
mov dword [ebp - 0x28], esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00404640
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.00405670
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret
Function at 0x45c7f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call fcn.0043c323
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jae 0x45c81d
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x45c8dd
lea ecx, [ebp - 8]
call fcn.00405650
cmp dword [0x4a2504], 6
jae 0x45c88b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45c889
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.MaxConnectionsPerServer
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.MaxConnectionsPer1_0Server
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45c8cd
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_MAXCONNECTIONSPER1_0SERVER
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45c8cd
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.explorer.exe
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.00405670
lea ecx, [ebp + 8]
call fcn.00405670
mov esp, ebp
pop ebp
ret

Function at 0x45ca90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45caf4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 0
lea ecx, [ebp + 8]
call fcn.00405670
mov eax, dword [ebp - 0x248]
jmp 0x45cba7
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45cb85
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00402e90
lea ecx, [ebp - 0x244]
call fcn.004053d0
lea ecx, [ebp + 8]
call fcn.004053d0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.004048f0
add esp, 8
movzx edx, al
test edx, edx
je 0x45cb75
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
call fcn.00405670
lea ecx, [ebp + 8]
call fcn.00405670
mov eax, dword [ebp - 0x24c]
jmp 0x45cba7
lea ecx, [ebp - 0x244]
call fcn.00405670
jmp 0x45cafb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x250], 0
lea ecx, [ebp + 8]
call fcn.00405670
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret
Function at 0x45d130
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.00402cf0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call fcn.00405650
mov dword [ebp - 0x10], 0
jmp 0x45d163
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xa
jge 0x45d1ab
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s.old_d
lea ecx, [ebp - 8]
push ecx
call fcn.00401850
add esp, 0x10
push 3
lea ecx, [ebp - 8]
call fcn.00401560
push eax
lea ecx, [ebp - 4]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45d1a9
mov dword [ebp - 0xc], 1
jmp 0x45d1ab
jmp 0x45d15a
cmp dword [ebp - 0xc], 0
je 0x45d1c4
push 5
push 0
lea ecx, [ebp - 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.00405670
lea ecx, [ebp - 4]
call fcn.00405670
lea ecx, [ebp + 8]
call fcn.00405670
mov esp, ebp
pop ebp
ret

Function at 0x45d1e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45d234
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x45d2f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45d2d4
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00402e90
lea ecx, [ebp - 0x244]
call fcn.004053d0
lea ecx, [ebp + 8]
call fcn.004053d0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.004048f0
add esp, 8
movzx edx, al
test edx, edx
je 0x45d2c4
mov eax, dword [ebp - 0x238]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x45d2c4
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.00405670
jmp 0x45d23b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00405670
jmp 0x45d2f0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret