joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a30
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x110
push esi
call fcn.004069a0
test al, al
je 0x406ace
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x104
push 0x41b300
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x406ace
mov eax, dword [esp + 4]
test eax, eax
je 0x406ace
lea edx, [esp + 0xc]
push edx
mov byte [eax], 0
call fcn.004068a0
add esp, 4
test al, al
je 0x406ace
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
push 0x41b300
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406ace
mov ecx, dword [esp + 0x118]
push 0
lea eax, [esp + 0xc]
push eax
push 0x100000
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
add esp, 0x110
ret
xor al, al
pop esi
add esp, 0x110
ret

Function at 0x4074a5
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 + 0x416188]
je 0x4074c0
inc edi
cmp edi, 0x17
jb 0x4074b1
cmp edi, 0x17
jae 0x407640
push ebp
push 3
call fcn.0040ac5a
cmp eax, 1
pop ecx
je 0x40760c
push 3
call fcn.0040ac5a
test eax, eax
pop ecx
jne 0x4074f4
cmp dword [section..data], 1
je 0x40760c
cmp ebx, 0xfc
je 0x40763f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4172f8
push ebp
call fcn.0040abf5
add esp, 0xc
test eax, eax
je 0x40752a
push esi
push esi
push esi
push esi
push esi
call fcn.00406f9f
add esp, 0x14
push 0x104
mov esi, 0x417311
push esi
push 0
mov byte [0x417415], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40756e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040abf5
add esp, 0xc
test eax, eax
je 0x40756e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00406f9f
add esp, 0x14
push esi
call fcn.00409d30
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4075b3
push esi
call fcn.00409d30
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x41760c
push 0x41295c
sub ecx, eax
push ecx
push eax
call fcn.0040ab42
add esp, 0x14
test eax, eax
je 0x4075b3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00406f9f
add esp, 0x14
jmp 0x4075b5
xor esi, esi
push 0x412958
push ebx
push ebp
call fcn.0040aad1
add esp, 0xc
test eax, eax
je 0x4075d5
push esi
push esi
push esi
push esi
push esi
call fcn.00406f9f
add esp, 0x14
push dword [edi*8 + 0x41618c]
push ebx
push ebp
call fcn.0040aad1
add esp, 0xc
test eax, eax
je 0x4075f7
push esi
push esi
push esi
push esi
push esi
call fcn.00406f9f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040a914
add esp, 0xc
jmp 0x40763f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40763f
cmp ebp, 0xffffffff
je 0x40763f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x41618c]
push dword [esi]
call fcn.00409d30
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 0x409dff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416be0]
jne 0x409e09
repz ret
jmp fcn.0040d064

Function at 0x40a914
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00408011
xor ebx, ebx
cmp dword [0x4178fc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40a9ea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40aaca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x412b54
push edi
call esi
cmp eax, ebx
je 0x40aaca
push eax
call fcn.00407fa3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4178fc], eax
call esi
push eax
call fcn.00407fa3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x417900], eax
call esi
push eax
call fcn.00407fa3
mov dword [0x417904], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407232
test eax, eax
pop ecx
pop ecx
je 0x40a9b8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00406f9f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40a9ea
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00407fa3
cmp eax, ebx
pop ecx
mov dword [0x41790c], eax
je 0x40a9ea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407fa3
pop ecx
mov dword [0x417908], eax
mov eax, dword [0x417908]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40aa6f
cmp dword [0x41790c], ecx
je 0x40aa6f
push eax
call fcn.0040801a
push dword [0x41790c]
mov esi, eax
call fcn.0040801a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40aa6f
cmp edi, ebx
je 0x40aa6f
call esi
cmp eax, ebx
je 0x40aa3c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aa3c
test byte [ebp - 0x18], 1
jne 0x40aa6f
lea eax, [ebp - 0x10]
push eax
call fcn.00407269
test eax, eax
pop ecx
je 0x40aa57
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00406f9f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40aa66
or dword [ebp + 0x10], 0x200000
jmp 0x40aaaa
or dword [ebp + 0x10], 0x40000
jmp 0x40aaaa
mov eax, dword [0x417900]
cmp eax, dword [ebp - 8]
je 0x40aaaa
push eax
call fcn.0040801a
cmp eax, ebx
pop ecx
je 0x40aaaa
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40aaaa
mov eax, dword [0x417904]
cmp eax, dword [ebp - 8]
je 0x40aaaa
push eax
call fcn.0040801a
cmp eax, ebx
pop ecx
je 0x40aaaa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4178fc]
call fcn.0040801a
cmp eax, ebx
pop ecx
je 0x40aaca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aacc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x100024a0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
test eax, eax
je 0x100024e1
call fcn.10003140
test eax, eax
je 0x100024e8
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x10002a60
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x94], eax
test eax, eax
je 0x100024e1
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x100024e1
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x9c]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x9c]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x54]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x50]
push ecx
mov ecx, dword [esi + 0x7c]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x100024e1
mov edx, dword [esi + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x403254
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a64
test esi, esi
jne 0x40328a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404b54
jmp 0x4032a8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403158
mov edi, eax
test esi, esi
je 0x4032a8
cmp dword [ebx], 0
je 0x4032a8
dec esi
jmp 0x403291
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403a38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403ad0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403ab0
xor eax, eax
push ebp
push 0x403aa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403aec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ab0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x48a020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48a020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4048e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48d048], 0
je 0x404945
cmp word [0x48d21c], 0xd7b2
jne 0x40490d
cmp dword [0x48d224], 0
jbe 0x40490d
mov eax, 0x48d218
call dword [0x48d234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40496c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48a02c], 0
jne 0x404961
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e24
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406054
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405ea7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406054
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405ea7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406070
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405f30
xor eax, eax
push ebp
push 0x405f29
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405c60
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405f0e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406090
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405f0e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f30
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40604a
cmp byte [ebp - 0xd], 0
jne 0x405f77
cmp byte [ebp - 0x12], 0
je 0x40604a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405f90
dec ebx
cmp byte [ebx], 0x2e
je 0x405f9f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405f8f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40604a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405fdc
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40604a
cmp byte [ebp - 0xd], 0
je 0x40604a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40604a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40879c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4087ee
test eax, edx
je 0x4087f1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4087b1
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4087d7
add ecx, 4
js 0x4087c7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4087d4
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4087fd
test edx, edx
jne 0x4087a4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40bcf4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd2d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b54
jmp 0x40bd36
mov eax, ebx
mov edx, esi
call fcn.00404ab8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd40
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd62
movzx eax, byte [esp]
jmp 0x40bd64
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c3f4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c26c
mov eax, dword [0x48bedc]
cmp byte [eax], 0
je 0x40c470
mov eax, dword [0x48bc90]
call fcn.0040336c
call fcn.00402fc4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409374
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c4b8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c4a6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48bc34]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48f7f4]
call fcn.00405c08
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cd30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ce06
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404afc
lea eax, [ebp - 4]
call fcn.00404f4c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ef4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cdf0
mov eax, ebx
call fcn.00402e68
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cde9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ef4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cdd3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ce18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cdd3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdf0
mov eax, dword [ebp - 0x10]
call fcn.00402e84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce0d
lea eax, [ebp - 4]
call fcn.00404a64
ret

Function at 0x41c630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4919e8
cmp dword [edi], 0
jne 0x41c6ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4919e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48aad4
mov ecx, 2
call fcn.00403058
mov edx, 0x41c608
lea eax, [esi + 5]
call fcn.0041c628
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c628
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41c681
mov dword [0x4919e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ee58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ef4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41eeb0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48c034]
mov dl, 1
mov eax, dword [0x41e964]
call fcn.0040c5b4
call fcn.004044ac
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041ea6c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x420040
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x420046
ret
Function at 0x43a0b4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404ee4
xor eax, eax
push ebp
push 0x43a1e9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43a1bc
xor edx, edx
push ebp
push 0x43a1b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x43a101
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43a18a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x43a179
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x43a140
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404ef4
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403058
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a180
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x48bbc4]
mov dl, 1
mov eax, dword [0x407954]
call fcn.0040c578
call fcn.004044ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a1f0
lea eax, [ebp - 4]
call fcn.00404a64
ret
Function at 0x43a1f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a3b3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004051e8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x43a3cc
call fcn.00404d7c
mov eax, ebx
call fcn.0041bbb0
mov edi, eax
dec edi
test edi, edi
jl 0x43a2b0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041bb84
mov edx, dword [0x42c370]
call fcn.00403dc4
test al, al
je 0x43a2ac
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041bb84
lea edx, [ebp - 0x14]
call fcn.00449914
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004051e8
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404df8
inc esi
dec edi
jne 0x43a25e
movzx eax, byte [0x43a3d0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43a3dc
mov eax, dword [ebp - 8]
call fcn.0040d898
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404afc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00449914
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43a3cc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00449914
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43a3cc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43a3cc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43a3e8
call fcn.00409ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a3ba
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404a88
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a88
lea eax, [ebp - 0x14]
call fcn.00404a64
lea eax, [ebp - 0x10]
call fcn.00404a64
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a88
ret