joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401160
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
mov dword [ebp - 4], ecx
je 0x4011ff
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4011ff
push edi
push 0x201
mov esi, 0x200
call fcn.00409ced
mov ecx, dword [ebp + 0x10]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 4]
test ecx, ecx
push dword [eax + 4]
mov edx, 0x4173c0
push esi
push edi
cmovne edx, ecx
push edx
push ebx
push dword [ebp + 8]
mov dword [ebp + 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, esi
jb 0x4011f4
jmp 0x4011c0
push edi
add esi, 0x200
call fcn.00409cf6
lea eax, [esi + 1]
push eax
call fcn.00409ced
add esp, 8
mov edi, eax
mov eax, dword [ebp - 4]
push dword [eax + 4]
push esi
push edi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, esi
jae 0x4011c0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x40121d
push 1
call fcn.00409ced
add esp, 4
mov edx, eax
pop esi
mov byte [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401222
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00409ced
mov edx, eax
mov ecx, edx
add esp, 4
sub ecx, esi
lea ecx, [ecx]
mov al, byte [esi]
mov byte [ecx + esi], al
lea esi, [esi + 1]
test al, al
jne 0x401240
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4022c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415b42
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x41fbe8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x113]
push 0
mov dword [ebp - 0x118], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], esi
mov byte [ebp - 0x114], 0
call fcn.0040a740
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0xffffffffffffffff
push 0x4173c0
mov ecx, esi
call fcn.00403bb0
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], 1
call fcn.004039c0
push str.NETGATEFortKnox_Firewall
mov ecx, esi
call fcn.00403a90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409cfb
mov esp, ebp
pop ebp
ret 4
Function at 0x4024d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415c12
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x41fbe8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x160]
call fcn.004032f0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0
call fcn.004032f0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.004032f0
lea eax, [ebp - 0x184]
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00402390
push eax
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 3
call fcn.004034d0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 2
call fcn.00403430
push str.Languages
lea ecx, [ebp - 0x16c]
call fcn.00403a90
push str..
sub esp, 0xc
lea eax, [ebp - 0x16c]
mov ecx, esp
push eax
call fcn.00403400
lea eax, [ebp - 0x184]
push eax
call fcn.00401cf0
add esp, 0x14
push eax
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.004034d0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 2
call fcn.00403430
push str.English
push str.Directory
push str.Language
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebx + 0x4fc]
xor esi, esi
call fcn.00401060
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 5
call fcn.00403660
mov eax, dword [ebp - 0x18c]
test eax, eax
mov ecx, 0x4173c0
cmovne ecx, eax
lea eax, [ebp - 0x150]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x154], edi
cmp edi, 0xffffffff
je 0x4026d0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402620
cmp byte [ebp - 0x124], 0x2e
je 0x4026a8
lea ecx, [ebp - 0x160]
call fcn.00403470
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x160]
call fcn.004039c0
test byte [ebp - 0x150], 0x10
je 0x4026a8
mov eax, dword [ebp - 0x15c]
test eax, eax
mov ecx, 0x4173c0
cmovne ecx, eax
push ecx
push esi
push 0x14a
push dword [ebx + 0x268]
call edi
test eax, eax
je 0x402681
push esi
push esi
push 0x151
push dword [ebx + 0x268]
call edi
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x178]
call fcn.00403490
test eax, eax
je 0x4026a7
push 0
push esi
push 0x14e
push dword [ebx + 0x268]
call edi
inc esi
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x402620
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 2
call fcn.00403430
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.00403430
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0
call fcn.00403430
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call fcn.00403430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409cfb
mov esp, ebp
pop ebp
ret
Function at 0x407200
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x415f21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.00406360
mov dword [esi], 0x417d48
mov dword [esi + 0x18], 0x4173d4
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.00406360
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 3
call fcn.00408d30
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x1c], 4
mov dword [esi + 0x14], edi
call fcn.00406f90
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x41247c
Capabilities:
Terminate process

Disassembly:
add byte [ebx - 0xf77b], cl
dec dword [ebx - 0x7a76dbc0]
or al, 0xff
invalid
Function at 0x413655
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41fbe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040fcd7
mov dword [ebp - 0x14], eax
cmp dword [0x422010], edi
jne 0x413746
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4136d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x413826
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x413826
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x413826
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x422010], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x422014], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x422018], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x422020], eax
test eax, eax
je 0x413743
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42201c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41376b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41375e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x413780
push 4
pop eax
jmp 0x413828
cmp dword [ebp - 0x14], edi
je 0x413780
push dword [0x422010]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x413765
mov eax, dword [0x42201c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4137de
cmp dword [0x422020], esi
je 0x4137de
push eax
call ebx
push dword [0x422020]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4137de
test eax, eax
je 0x4137de
call ecx
test eax, eax
je 0x4137d3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4137d3
test byte [ebp - 8], 1
jne 0x4137de
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41380e
mov eax, dword [0x422014]
cmp eax, esi
je 0x41380b
push eax
call ebx
test eax, eax
je 0x41380b
call eax
mov edi, eax
test edi, edi
je 0x41380b
mov eax, dword [0x422018]
cmp eax, esi
je 0x41380b
push eax
call ebx
test eax, eax
je 0x41380b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x422010]
call ebx
test eax, eax
je 0x413826
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x413828
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409cfb
leave
ret
Function at 0x4025d4
Capabilities:
Encode data using xor

Disassembly:
mov dl, 0x99
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call 0x5ab106ed
pop edx
pop edx
mov dl, 0x31
mov cl, 0xa5
movsd dword es:[edi], dword [esi]
rcr dword [ebp - 0x2ec16595], cl
pop edx
int1
loop 0x4024fd
pop edx
pop edx
pop edx
mov dl, 3
mov cl, 0xa5
movsd dword es:[edi], dword [esi]
rcr dword [ebp - 0x5a48eb4e], cl
movsd dword es:[edi], dword [esi]
int1
loop 0x402530
pop edx
pop edx
pop edx
mov dl, 0x1d
mov cl, 0xa5
movsd dword es:[edi], dword [esi]
rcr dword [ebp - 0x4df56595], cl
fbstp tbyte [ebp + 0x5be8f1a5]
rcr dword [ecx + 0x5a5a52e2], cl
pop edx
mov dl, 0x74
mov cl, 0xa5
movsd dword es:[edi], dword [esi]
shl dword [edx - 0x21], 1
movsd dword es:[edi], dword [esi]
das
pop eax
rol dword [edx - 0x1e], cl
push esp
pop edx
pop edx
pop edx
mov dl, 0x46
mov cl, 0xa5
movsd dword es:[edi], dword [esi]
rcr dword [ebp - 0x5a48b84e], cl
movsd dword es:[edi], dword [esi]
int1
mov dl, 0x5c
pop edx
pop edx
pop edx
mov cl, 0x5b
inc ebp
mov cl, 0x59
add al, 0xe3
pop ecx
pop edx
pop edx
pop edx
mov dl, 0x5a
pop edx
pop edx
pop edx
add eax, 0xa95e9dd9
cmp al, 0xff
mov dl, 0x28
mov bh, 0xa5
movsd dword es:[edi], dword [esi]
mov dl, 0x27
test eax, 0x4eb2a5a5
cmpsd dword [esi], dword es:[edi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dl, 1
cmpsd dword [esi], dword es:[edi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dl, pe_nt_image_headers32
movsb byte es:[edi], byte [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
imul ebx, dword [edx + 0x5a5a4ab2], 0x5a
aad 0x5a
fstp dword [esi - 0x588d4d8a]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov bl, 0x81
mov dh, 0xa5
movsd dword es:[edi], dword [esi]
add dword [ecx], ecx
invalid
call 0x4025a1
pop eax
sub eax, 0x44663d
mov esi, 0x445298
mov ecx, 0x446634
sub ecx, esi
add esi, eax
mov edi, esi
cld
lodsb al, byte [esi]
xor al, 0x5a
stosb byte es:[edi], al
dec ecx
jne 0x4025b8
jmp 0x402488
pushal
pushfd
mov dl, 1
mov eax, 8
call fcn.00401004
mov edx, dword [esp + 0x28]
mov dword [eax], edx
jmp 0x40259c
Function at 0x405e30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x426d2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40410c
call fcn.00406a91
push 4
mov dword [esp + 0x18], 0
call fcn.004079fd
mov edi, eax
add esp, 4
test edi, edi
je 0x405ea4
push ebx
call fcn.00406969
mov dword [edi], eax
call fcn.00406728
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406a52
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405e98
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406a7a
pop ebx
jmp 0x405ea6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408471
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a790]
jne 0x40847b
repz ret
jmp fcn.0040c8bc
Function at 0x411712
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040ae75
and dword [ebp - 0x14], 0
cmp dword [0x42f650], 0
mov dword [ebp - 0x18], eax
jne 0x4117c5
push 0x40379c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41186d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403790
push ebx
call edi
test eax, eax
je 0x41186d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403780
push ebx
mov dword [0x42f650], eax
call edi
push eax
call esi
push 0x40376c
push ebx
mov dword [0x42f654], eax
call edi
push eax
call esi
push 0x403750
push ebx
mov dword [0x42f658], eax
call edi
push eax
call esi
mov dword [0x42f660], eax
test eax, eax
je 0x4117c5
push 0x403738
push ebx
call edi
push eax
call esi
mov dword [0x42f65c], eax
mov eax, dword [0x42f65c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41181e
cmp dword [0x42f660], ecx
je 0x41181e
push eax
call esi
push dword [0x42f660]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41181e
test ebx, ebx
je 0x41181e
call edi
test eax, eax
je 0x411815
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411815
test byte [ebp - 8], 1
jne 0x41181e
or dword [ebp + 0x10], 0x200000
jmp 0x411851
mov eax, dword [0x42f654]
cmp eax, dword [ebp - 0x18]
je 0x411851
push eax
call esi
test eax, eax
je 0x411851
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411851
mov eax, dword [0x42f658]
cmp eax, dword [ebp - 0x18]
je 0x411851
push eax
call esi
test eax, eax
je 0x411851
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42f650]
call esi
test eax, eax
je 0x41186d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41186f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408471
leave
ret
Function at 0x424bf0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.00412110
cmp dword [0x7b33e4], 0x37
jne 0x424c8a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0x7b43d8]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x434434]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x424f10
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b33e4]
sub esp, 0x43c
push ebx
push ebp
push esi
mov esi, dword [0x434434]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x425116
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jmp 0x424f56
mov esi, dword [esp + 0x24]
xor edi, edi
cmp dword [0x7b33e4], 0x1c
jne 0x424f6d
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x42b2d0]
mov ebx, dword [0x42b2d8]
mov ebp, dword [0x42b2dc]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42b2d4]
mov dword [esp + 0x1c], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 0x20
jmp 0x424fb6
mov eax, dword [esp + 0x1c]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x20], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x7b3354], edi
mov eax, dword [esp + 0x20]
add dword [0x7b3354], eax
mov eax, dword [0x7b3354]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x38]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
cmp dword [0x7b33e4], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x42504d
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0x7b33e4], 0x979
mov dword [0x7b3358], 0xff6b3619
mov dword [0x7b335c], 0xffffffff
mov dword [esp + 0x20], eax
jne 0x425087
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
sub esi, dword [esp + 0x18]
dec dword [esp + 0x2c]
jne 0x424fb0
cmp dword [0x7b33e4], 0x8d4
jne 0x4250cb
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x7b33e4], 0x17
jne 0x425105
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x48]
push ecx
push 0x403f40
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x24], esi
jne 0x424f50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret
Function at 0x401ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov dword [0x41093c], 1
mov dword [0x410944], 1
mov dword [0x410950], 1
mov dword [0x410940], 1
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x401c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x410934], eax
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
push 0x401dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x410938], eax
cmp dword [0x410930], 0
jne 0x401f40
mov dword [0x410948], 1
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
push 0x401d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x410930], eax
mov esp, ebp
pop ebp
ret
Function at 0x405eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.Cfgvalue
lea eax, [ebp - 0x104]
push eax
call fcn.00409da0
add esp, 8
mov dword [ebp - 0x108], 0x80000001
cmp dword [0x40f0cc], 8
jb 0x405f6c
mov dword [ebp - 0x114], 0
push 0x40f934
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x405f6c
push 0x40f940
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x11c], eax
call dword [ebp - 0x11c]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x405f5f
mov dword [ebp - 0x108], 0x80000002
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x10c]
push eax
push 0x20006
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405fbc
push 0x4c
mov eax, dword [ebp + 8]
push eax
push 3
push 0
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405fc6
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
pop edi
mov esp, ebp
pop ebp
ret