joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a96fc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b9510]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0049ec4d
mov dword [ebp - 0x14], eax
cmp dword [0x2ab4088], esi
jne 0x4a97ef
push 0x800
push esi
push 0xaad5a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a977c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a98cf
push esi
push esi
push 0xaad5a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a98cf
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a98cf
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x2ab4088], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x2ab408c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x2ab4090], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2ab4098], eax
test eax, eax
je 0x4a97ec
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2ab4094], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a9814
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a9807
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a9829
push 4
pop eax
jmp 0x4a98d1
cmp dword [ebp - 0x14], esi
je 0x4a9829
push dword [0x2ab4088]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a980e
mov eax, dword [0x2ab4094]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a9887
cmp dword [0x2ab4098], edi
je 0x4a9887
push eax
call ebx
push dword [0x2ab4098]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a9887
test eax, eax
je 0x4a9887
call ecx
test eax, eax
je 0x4a987c
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 0x4a987c
test byte [ebp - 8], 1
jne 0x4a9887
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a98b7
mov eax, dword [0x2ab408c]
cmp eax, edi
je 0x4a98b4
push eax
call ebx
test eax, eax
je 0x4a98b4
call eax
mov esi, eax
test esi, esi
je 0x4a98b4
mov eax, dword [0x2ab4090]
cmp eax, edi
je 0x4a98b4
push eax
call ebx
test eax, eax
je 0x4a98b4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x2ab4088]
call ebx
test eax, eax
je 0x4a98cf
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a98d1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004993d5
mov esp, ebp
pop ebp
ret
Function at 0x402113
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x200
call fcn.0040220d
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x200
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40216b
push 0x4f
push 0x4018ed6
push 6
call fcn.004483d7
add esp, 0xc
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x45023c]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00402095
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.004494a0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x450244
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004020bc
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4021d7
push ebx
call fcn.004483d1
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0040225c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4021ff
push ebx
call fcn.004483d1
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x402207
mov esp, ebp
pop ebp
ret 4

Function at 0x40220d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push dword [ebp + 8]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x402251
push 0x12
push 0x4018e74
push 6
call fcn.004483d7
add esp, 0xc
jmp 0x402256
mov esp, ebp
pop ebp
ret 4

Function at 0x405ccc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x405d03
push 0x12
push 0x401a49e
push 6
call fcn.004483d7
add esp, 0xc
jmp 0x405d08
mov esp, ebp
pop ebp
ret 4
Function at 0x40e664
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.004495c0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40e6d8
push 0x39
push 0x401a20d
push 6
call fcn.004483d7
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e755
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.004495c0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40e74b
push 0xc7
push 0x401a20d
push 6
call fcn.004483d7
add esp, 0xc
jmp 0x40e75d
mov eax, dword [ebp - 4]
jmp 0x40e75d
mov esp, ebp
pop ebp
ret 8
Function at 0x4344aa
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4344f4
push 0x19
push 0x4018fcc
push 6
call fcn.004483d7
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x434643
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004492e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 0x10]
push 0x800
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x43455b
push 0xa5
push 0x4018fcc
push 6
call fcn.004483d7
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x43456e
push ebx
call fcn.004483d1
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x184
call fcn.004494f0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4345a7
push ebx
call fcn.004483d1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x800
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4345e2
push pe_nt_image_headers32
push 0x4018fcc
push 6
call fcn.004483d7
add esp, 0xc
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x434611
push 0x131
push 0x4018fcc
push 6
call fcn.004483d7
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call fcn.00434665
test eax, eax
je 0x434643
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x43463e
push eax
mov ebx, eax
call fcn.0040114a
inc eax
push eax
call fcn.004483cb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x43464d
mov eax, 0x450208
jmp 0x43464d
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x43465e
push ebx
call fcn.004483d1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x449c20
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
ret
Function at 0x449c50
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x449ce2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x449cd4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x449ccc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x449c95
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x449cf0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x449d71
je 0x449d62
cmp eax, 0x80000101
ja 0x449d5b
je 0x449d62
cmp eax, 0x80000004
je 0x449d3c
cmp eax, 0x80000005
jne 0x449d86
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x449dd3
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x449dd3
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call dword [0x330f7f8]
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x449dd3
cmp eax, 0x80000201
jne 0x449d86
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x449dd3
cmp eax, 0x80000401
je 0x449dbe
cmp eax, 0x80000501
je 0x449da6
cmp eax, 0x80000601
je 0x449d8e
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x449dcf
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x449dcf
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.0044c1a0
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call dword [0x330f7f8]
add esp, 8
test esi, esi
je 0x449eac
test eax, eax
je 0x449eac
inc eax
push edi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x449e4e
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x449ea2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x449e97
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x44a100
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x44a180
push edi
call dword [0x330f7f8]
add esp, 4
test eax, eax
jbe 0x44a180
test esi, esi
je 0x44a13e
cmp esi, 0xffffffff
je 0x44a13e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x44a1c2
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x44a16c
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x44a180
jmp 0x44a17b
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x44a180
mov ebp, 1
test esi, esi
je 0x44a1c2
cmp esi, 0xffffffff
je 0x44a1c2
test ebp, ebp
jne 0x44a1f9
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x44a1cf
call edi
test eax, eax
je 0x44a1c2
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x44a1f9
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x44a1aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x44a1c2
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x44a1f9
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x44a1dc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x330f7f8]
inc eax
push eax
call fcn.00448720
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret

Function at 0x44a5a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44a5eb
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x44a5e0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
call dword [0x330f7f8]
push eax
push edi
call fcn.0044b970
add esp, 0xc
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x44a630
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x44a6af
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44a6af
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [0x330f7f8]
add esp, 4
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44a6a3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop edi
pop esi
ret

Function at 0x44b530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x44b551
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x44b5ab
inc edi
cmp edi, esi
jl 0x44b545
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x44b5e0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x44b59a
cmp byte [eax], bl
je 0x44b5b5
cmp byte [eax + 1], bl
je 0x44b5be
cmp byte [eax + 2], bl
je 0x44b5c8
cmp byte [eax + 3], bl
je 0x44b5d4
add eax, 4
cmp eax, edi
jb 0x44b571
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x401497
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x472e10]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40152c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014e9
cmp dword [ebp + 0x10], ebx
jne 0x401520
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.00401497
test eax, eax
jne 0x4014fb
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004062e7
cmp eax, ebx
je 0x401533
push ebx
push dword [0x472e10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40152c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x472e10], ebx
jne 0x401529
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x401529
jmp 0x40152c
Function at 0x403370
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x403390
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x40339f
mov ebx, 0x423128
mov eax, dword [ebp + 8]
test eax, eax
js 0x4033b4
mov ecx, dword [0x472d78]
add ecx, eax
push ecx
call fcn.00403359
push 4
lea eax, [ebp + 0x14]
push eax
call fcn.00403327
test eax, eax
jne 0x4033cb
push 0xfffffffffffffffd
pop eax
jmp 0x40352a
test dword [ebp + 0x14], 0x80000000
je 0x403509
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x433130
mov dword [ebp - 0xc], eax
call fcn.004072da
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403527
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x40340b
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x41f128
push edi
call fcn.00403327
test eax, eax
je 0x4033c3
sub dword [ebp + 0x14], esi
mov dword [0x433148], edi
mov dword [0x43314c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x433130
mov dword [0x433150], ebx
mov dword [0x433154], eax
call fcn.004072fa
mov dword [ebp - 0x10], eax
test eax, eax
js 0x4034fb
mov esi, dword [0x433150]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x472e14], 1
mov edi, eax
je 0x4034af
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x403476
cmp dword [ebp + 0x14], 0
jne 0x4034af
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.00404f5d
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x4034f0
cmp dword [ebp + 0x10], eax
jne 0x4034d8
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403502
cmp dword [ebp - 0x14], esi
jne 0x403502
add dword [ebp - 4], esi
jmp 0x4034e4
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x433150]
cmp dword [ebp - 0x10], 1
jne 0x40342a
jmp 0x403527
cmp dword [ebp + 0x14], eax
jg 0x4033fe
jmp 0x403527
push 0xfffffffffffffffc
jmp 0x4033c5
push 0xfffffffffffffffe
jmp 0x4033c5
test edi, edi
je 0x403570
cmp dword [ebp + 0x14], esi
jge 0x403515
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00403327
test eax, eax
je 0x4033c3
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x40353c
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x41f128
push edi
call fcn.00403327
test eax, eax
je 0x4033c3
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403502
cmp esi, dword [ebp + 0x10]
jne 0x403502
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403531
jmp 0x403527
Function at 0x405c2a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x457208
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x457208], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405c65
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405e1b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405e38
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 4

Function at 0x405e3b
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [eax + 1]
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405e6a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40965c]
mov dword [ebp - 8], eax
mov eax, dword [0x409660]
dec edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405eba
test edi, edi
jne 0x405e77
mov word [esi], ax
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405eb4

Function at 0x405ebe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405f37
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x4000
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405f20
cmp dword [ebp + 0x14], 1
je 0x405f25
cmp dword [ebp + 0x14], 2
je 0x405f25
xor eax, eax
mov word [esi], ax
push dword [ebp + 0x18]
xor eax, eax
mov word [esi + 0x3ffe], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 0x14