joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f9b
Capabilities:
Bypass mark of the web
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x4014e0
push 0x80000001
mov dword [ebp - 8], 0x401448
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402012
mov eax, dword [ebp - 0xc]
mov esi, 0x404008
mov dword [ebp - 4], eax
mov ecx, 0x208
mov eax, esi
mov byte [eax], bl
inc eax
dec ecx
jne 0x401fe6
push 0x401480
lea eax, [ebp - 4]
push eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
call fcn.00401b91
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x402012
mov dword [ebp - 8], esi
mov ecx, 0x208
lea eax, [ebp - 0x218]
mov byte [eax], bl
inc eax
dec ecx
jne 0x40201d
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
call esi
push 0x401428
lea eax, [ebp - 0x218]
push eax
call esi
push 0x4015e8
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x218]
push eax
lea eax, [ebp - 0x10]
call fcn.0040280b
mov edi, dword [ebp + 8]
pop ecx
lea eax, [edi + 4]
push eax
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, ebx
je 0x4020b9
cmp eax, 0x80004004
je 0x4020a7
push 0x30
push 0x4015b0
push 0x401380
push dword [edi + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 4], ebx
je 0x4020b5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x402101
mov ecx, 0x208
lea eax, [ebp - 0x420]
mov byte [eax], bl
inc eax
dec ecx
jne 0x4020c4
push dword [ebp + 0xc]
lea eax, [ebp - 0x420]
push eax
call esi
push 0x4015ec
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], ebx
je 0x4020ff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4021dc
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push ebx
push esi
push edi
mov ebx, eax
push 0xffffffffffffffff
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x401248
push 0x3ea
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, 0x208
mov ecx, edi
lea eax, [ebp - 0x458]
mov byte [eax], 0
inc eax
dec ecx
jne 0x402215
lea eax, [ebp - 0x458]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4014c8
lea eax, [ebp - 0x458]
push eax
call esi
push 0
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x250]
mov byte [eax], 0
inc eax
dec edi
jne 0x402257
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x250]
push eax
call esi
push 0x4014ac
lea eax, [ebp - 0x250]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x250]
push eax
call edi
lea eax, [ebp - 0x250]
push eax
call fcn.00401f0b
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
mov byte [ebp - 5], al
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 5]
call fcn.00402108
mov byte [ebp - 1], al
lea eax, [ebp - 0x250]
push eax
call edi
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp byte [ebp - 1], 0
je 0x402372
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x660]
push eax
call fcn.0040250c
test al, al
je 0x40235d
cmp word [ebp - 0x660], 0
je 0x40235d
push 0x4012b8
push 0x3ea
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x64
pop eax
push eax
lea edi, [ebx + 4]
call fcn.00401c0c
push 0x40162c
lea eax, [ebp - 0x660]
push eax
call esi
push 0x40149c
lea eax, [ebp - 0x660]
push eax
call esi
lea eax, [ebp - 0x660]
push eax
call fcn.00401d12
test eax, eax
jge 0x402372
cmp eax, 0x800704c7
je 0x402372
push 0x30
push 0x4015b0
push 0x40133c
jmp 0x402369
push 0x30
push 0x4015b0
push 0x401300
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x40240c
Capabilities:
Create thread

Disassembly:
push ecx
push edi
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x401eff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x40244c
cmp edi, 0xffffffff
je 0x40244c
mov eax, dword [esi]
test eax, eax
je 0x40243d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push edi
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
jmp 0x402460
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x402460
and eax, 0xffff
or eax, 0x80070000
pop edi
pop ecx
ret
Function at 0x40250c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x4014e0
push 0x80000001
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x4025cb
mov eax, dword [ebp - 4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x208
mov dword [ebp - 0xc], eax
mov ecx, ebx
mov eax, esi
mov byte [eax], 0
inc eax
dec ecx
jne 0x40254e
push edi
lea eax, [ebp - 0xc]
push eax
lea edi, [ebp - 8]
mov dword [ebp - 8], 0x104
call fcn.00401b91
test eax, eax
jne 0x4025d9
mov esi, dword [ebp + 0xc]
push 0x40
pop ecx
mov eax, esi
mov byte [eax], 0
inc eax
dec ecx
jne 0x402575
push 0x401554
lea eax, [ebp - 0xc]
push eax
lea edi, [ebp - 8]
mov dword [ebp - 8], 0x20
call fcn.00401b91
test eax, eax
je 0x4025a6
push 0x40152c
lea eax, [ebp - 0xc]
push eax
call fcn.00401b91
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4025cf
test al, 0x10
je 0x4025cf
cmp dword [ebp - 4], 0
je 0x4025c7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4025ea
xor al, al
jmp 0x4025ec
mov eax, dword [ebp + 8]
mov byte [eax], 0
inc eax
dec ebx
jne 0x4025d2
cmp dword [ebp - 4], 0
je 0x4025e8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x402c4a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
test dword [ebp + 0x10], 0x8000
jne 0x402c94
push 2
push 0
push 0x40000000
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.00401979
add esp, 0x14
test eax, eax
jl 0x402c94
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 0xc

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3a5c5aaa
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, str.4r_
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x72d62a34
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401045
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x47f290
call fcn.00401faa
mov ecx, esi
push str.EBWebViewx86EmbeddedBrowserWebView.dll
call fcn.00401faa
mov ecx, esi
call fcn.00402068
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret

Function at 0x401ba8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov esi, edx
mov edi, ecx
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.00447700
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sub ecx, esi
push eax
push 0x20219
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x401ca5
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x24]
push edi
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401ca3
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x401ca5
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00401eda
mov ecx, esi
call fcn.00402068
push 0x5c
push eax
call fcn.0044853b
add esp, 8
test eax, eax
je 0x401ca3
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401ad8
test al, al
je 0x401ca3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x401c94
push edi
call fcn.00401eda
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00401cbd
mov ebx, eax
jmp 0x401ca5
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.00444ab5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401cbd
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x47f568]
cmp dword [ecx + eax], edx
ja 0x401cdb
jb 0x401ce6
add eax, 4
cmp eax, 0x10
jne 0x401cc6
push esi
call fcn.00401045
add esp, 4
jmp 0x401d06
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
mov ecx, esi
call fcn.00402068
push eax
call edi
push 0x47f5ca
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x402582
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x4025fd
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x402617
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.00402641
add esp, 8
test al, al
je 0x402627
mov eax, dword [esi]
test eax, eax
je 0x40263d
push 0xa
push 0
push eax
call fcn.0045464a
add esp, 0xc
cmp eax, 1
jmp 0x40261b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444ab5
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00402641
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov dword [ebx], eax
mov bl, 1
jmp 0x402629
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444ab5
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x40261e

Function at 0x402641
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov esi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea edi, [ebp - 0x218]
push 0x208
push ebx
push edi
call fcn.00447700
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push edi
push ebx
push 2
push esi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x4026b8
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.00401eda
mov ecx, edi
call fcn.00402068
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444ab5
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4696c0
mov eax, dword fs:[0]
push eax
mov eax, 0x1464
call fcn.00444d50
push esi
push edi
mov eax, dword [0x4ca578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x141c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1420], eax
mov esi, dword [ebp + 0x20]
xor eax, eax
push esi
mov dword [ebp - 4], 0
mov word [ebp - 0x140c], ax
mov byte [ebp - 0x40c], al
call fcn.00405b40
add esp, 4
mov dword [ebp - 0x1414], eax
mov dword [ebp - 0x1470], 3
mov ecx, 1
mov dword [ebp - 0x146c], esi
lock xadd dword [0x4d2de4], ecx
inc ecx
mov dword [ebp - 0x1468], ecx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x403234
cmp word [ecx], 0
mov dword [ebp - 0x1464], ecx
jne 0x40323e
mov dword [ebp - 0x1464], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1460], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1410]
mov dword [ebp - 0x1454], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1450], eax
mov eax, dword [ebp - 0x1414]
mov dword [ebp - 0x144c], eax
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x145c], eax
mov eax, dword [ebp - 0x141c]
mov dword [ebp - 0x1458], eax
mov eax, dword [ebp - 0x1420]
mov dword [ebp - 0x1428], eax
mov eax, dword [0x4d2d44]
mov dword [ebp - 0x1424], edi
movq qword [ebp - 0x1438], xmm0
mov dword [ebp - 0x1430], 0
movups xmmword [ebp - 0x1448], xmm0
test eax, eax
je 0x4032c4
call eax
mov dword [ebp - 0x142c], eax
jmp 0x4032ce
mov dword [ebp - 0x142c], 0
mov eax, dword [0x4d2d3c]
test eax, eax
je 0x4032ec
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4d2d40]
test eax, eax
je 0x4032fe
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [0x4d2d78]
test eax, eax
je 0x403310
lea ecx, [ebp - 0x1470]
push ecx
call eax
mov eax, dword [ebp - 0x146c]
mov ecx, 0x8000ffff
test eax, eax
cmovns eax, ecx
cmp byte [0x4d2e08], 0
mov dword [ebp - 0x146c], eax
jne 0x40334f
mov eax, dword [0x4d2e04]
test eax, eax
je 0x40333f
call eax
movzx eax, al
jmp 0x40334b
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x403358
cmp byte [0x497004], 0
jne 0x403379
mov eax, dword [0x4d2e00]
test eax, eax
je 0x4033d2
cmp byte [0x4d2e18], 0
jne 0x4033d2
push 0
push 0
lea ecx, [ebp - 0x1470]
push ecx
call eax
jmp 0x4033d2
mov eax, dword [0x4d2e00]
test eax, eax
je 0x4033a0
cmp byte [0x4d2e18], 0
jne 0x4033a0
push 0x800
lea ecx, [ebp - 0x140c]
push ecx
lea ecx, [ebp - 0x1470]
push ecx
call eax
cmp word [ebp - 0x140c], 0
jne 0x4033c5
lea eax, [ebp - 0x1470]
push eax
lea eax, [ebp - 0x140c]
push 0x800
push eax
call fcn.00404ea0
add esp, 0xc
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x4d2e10], 0
je 0x4033e6
mov eax, dword [0x4d2d4c]
test eax, eax
je 0x4033e6
call eax
lea eax, [ebp - 0x1470]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00407260
int3
Function at 0x4041a0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movups xmm0, xmmword [0x497040]
sub esp, 0xc
mov ecx, 0x400
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x497088
movups xmmword [ebx], xmm0
lea edi, [ebx + 0x48]
movups xmm0, xmmword [0x497050]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [0x497060]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [0x497070]
movups xmmword [ebx + 0x30], xmm0
movq xmm0, qword [0x497080]
movq qword [ebx + 0x40], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
xor esi, esi
xor edi, edi
nop word [eax + eax]
lea eax, [esi + 1]
mov ebx, dword [ebp + 8]
cdq
idiv ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [edx + eax]
movzx eax, byte [esi + eax]
shl eax, 8
or ecx, eax
lea eax, [esi + 2]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
mov ebx, dword [ebp + 0x10]
or ecx, eax
lea eax, [esi + 4]
cdq
xor dword [ebx + edi*4], ecx
inc edi
mov ecx, dword [ebp + 0xc]
idiv ecx
mov esi, edx
cmp edi, 0x12
jl 0x404200
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 8], 0
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004046e0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + esi*4], eax
mov eax, dword [ebp - 8]
mov dword [ebx + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jl 0x404260
lea esi, [ebx + 0x4c]
mov dword [ebp - 0xc], 4
mov edi, 0x80
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004046e0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi - 4], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x404295
sub dword [ebp - 0xc], 1
jne 0x404290
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 0xc]
push 0x46d8ac
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x804]
push 0x400
push eax
mov dword [ebp - 0x81c], ecx
call fcn.0044a958
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x46d8c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4075c3
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4075bb
cmp dword [ebp - 0x80c], 1
jbe 0x4075bb
push dword [ebp - 0x808]
call esi
jmp 0x407651
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push 0x46d8e0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407638
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407630
cmp dword [ebp - 0x80c], 1
jbe 0x407630
push dword [ebp - 0x808]
call esi
jmp 0x407651
push dword [ebp - 0x808]
call esi
push 0x46d924
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044a958
add esp, 0xc
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
pop esi
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407660
sub ecx, edx
mov dword [ebp - 0x80c], ecx
cmp byte [ebp + ecx - 0x405], 0x5c
je 0x407692
push 0x46d7e0
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044a9b2
add esp, 0xc
push dword [ebp - 0x814]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044a9b2
push 0x46d7e0
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044a9b2
push dword [ebp - 0x818]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044a9b2
push 0x46d948
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044a9b2
mov ecx, dword [ebp - 0x81c]
lea eax, [ebp - 0x404]
add esp, 0x30
push eax
call fcn.00407720
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
Function at 0x407720
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push esi
push edi
push ecx
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40777d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x144], 0x10
je 0x407770
lea eax, [ebp - 0x144]
push eax
push esi
call ebx
cmp eax, 1
je 0x407756
jmp 0x407775
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 4

Function at 0x407db0
Capabilities:
Open clipboard
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x46d9a0
push SysReAllocStringLen
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x46d9c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x46d9c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x46d9a0
push SysReAllocStringLen
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
push esi
push 4
push 0
push 0x46d9c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4699bd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ca578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0x10000
push 0
push 0x4092d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], eax
mov eax, dword [0x511bcc]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x4082dd
mov eax, edi
nop
mov edi, eax
cmp dword [eax + 0x10], ebx
jae 0x4082ce
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x4082d7
mov ecx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4082c0
cmp byte [ecx + 0xd], 0
jne 0x4082e8
cmp ebx, dword [ecx + 0x10]
jae 0x40833a
cmp dword [0x511bd0], 0xaaaaaaa
je 0x40834c
mov dword [ebp - 0x20], 0x511bcc
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00444d7b
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ebx
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x511bcc
push esi
push edi
mov word [eax + 0xc], 0
call fcn.00409380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004095b0
int3