joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459778
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459923
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459904
mov dl, 1
mov eax, dword [0x418058]
call fcn.004032f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404078
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4598f3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00447784
test al, al
je 0x4598e6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x459934
lea eax, [ebp - 0x254]
call fcn.0040906c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4598e6
xor eax, eax
push ebp
push 0x4598df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45996c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4598c8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042e8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4598c8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4598e6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4597e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bb34
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45992a
lea eax, [ebp - 0x260]
call fcn.00404078
ret

Function at 0x45a258
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46ebe0]
cmp byte [eax + 0xa5], 0
jne 0x45a2c9
cmp dword [0x46ebf8], 0
jne 0x45a28a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a214
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46ebf8], eax
cmp dword [0x46ebf4], 0
jne 0x45a2a5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46ebf4], eax
cmp dword [0x46ebfc], 0
jne 0x45a2c9
push esp
push 0
push 0
push 0x45a1b8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46ebfc], eax
pop edx
ret
Function at 0x45a3c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a3d7
add esp, 0xfffffff0
call fcn.0040364c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f944
mov eax, dword [0x46d7d8]
cmp word [eax + 2], 0
jne 0x45a3ff
mov eax, dword [0x46d7d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bb40
mov eax, dword [0x46d89c]
cmp word [eax + 2], 0
jne 0x45a419
mov eax, dword [0x46d89c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bd38
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417c3c]
call fcn.004032f8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417c3c]
call fcn.004032f8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421e78]
call fcn.004292c4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a5a0
mov eax, dword [0x46d6c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429694
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c2e8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46d6c8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c864
test eax, eax
je 0x45a50e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a60
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c88c
test eax, eax
je 0x45a522
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042e8
mov eax, dword [0x46d57c]
cmp byte [eax], 0
jne 0x45a556
mov eax, ebx
call fcn.0045a6c8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045c4c4
mov eax, ebx
call fcn.0045ce88
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a596
call fcn.004036a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a948
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46ebe0]
cmp dword [eax + 0x30], 0
je 0x45a9f2
cmp dword [ebx + 0x94], 0
jne 0x45a9ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a8d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a9ec
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a9b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a9ec
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419fa4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a9c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b554
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45b589
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404168
jmp 0x45b596
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c6a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c6e1
mov eax, esi
call fcn.00442d6c
test al, al
je 0x45c6e1
mov eax, dword [ebx + 0x84]
call fcn.00442a68
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c6e1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442a68
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x466098
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423928
cmp ebx, dword [ebp - 8]
jge 0x4660fb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423b80
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423b80
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423bac
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4660c1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x466104
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423928
cmp ebx, dword [ebp - 8]
jge 0x466167
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423b80
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423b80
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423bac
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46612d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x421be0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], edi
je 0x421b20
cmp dword [ebp + 0x14], edi
je 0x421b20
cmp ecx, edi
jne 0x421b27
call fcn.0042242c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0041f7cd
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x421b3b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x421b5c
cmp ebx, 0xffffffff
je 0x421b4b
push ebx
push edi
push ecx
call fcn.00422370
add esp, 0xc
cmp esi, edi
je 0x421b08
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x421b08
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test dword [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x421b79
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x421b80
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x421c72
test dword [esi + 0xc], 0x10c
je 0x421bd5
mov eax, dword [esi + 4]
test eax, eax
je 0x421bd5
jl 0x421cd3
mov edi, ebx
cmp ebx, eax
jb 0x421ba6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x421c7a
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0041ef8a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x421c6a
cmp ebx, dword [ebp - 0xc]
jb 0x421c42
cmp dword [ebp - 0xc], 0
je 0x421bff
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x421bf4
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x421bfb
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x421c0a
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x421c0a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x421ca6
push eax
push dword [ebp - 8]
push esi
call fcn.0042e4bb
pop ecx
push eax
call fcn.00429fb7
add esp, 0xc
test eax, eax
je 0x421ce5
cmp eax, 0xffffffff
je 0x421cd3
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x421c6a
push esi
call fcn.0042e94a
pop ecx
cmp eax, 0xffffffff
je 0x421cd7
cmp dword [ebp - 4], 0
je 0x421ca6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x421b88
mov eax, dword [ebp + 0x14]
jmp 0x421b22
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x421c91
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00422370
add esp, 0xc
call fcn.0042242c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x421b18
cmp dword [ebp + 0xc], 0xffffffff
je 0x421cbc
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00422370
add esp, 0xc
call fcn.0042242c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x421b18
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x421b22
or dword [esi + 0xc], 0x10
jmp 0x421cd7
Function at 0x4057af
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [0x42000c]
ret 8

Function at 0x405800
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x405811
push 0xd
pop eax
jmp 0x40583e
push edi
xor edi, edi
push esi
call dword [0x420064]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x405814
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [0x42000c]
pop edi
pop esi
pop ebx
ret 8

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

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x4285fc]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x18
mov eax, 0x41d3cc
call fcn.0040cf2f
mov eax, dword [ebp + 0x20c]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
lea ecx, [ebp - 0x14]
call fcn.0040577a
mov ebx, eax
cmp ebx, esi
je 0x40605b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405711
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.0040c58f
add ebp, 0x204
leave
ret 4
mov ebx, dword [0x420004]
jmp 0x406073
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405fd3
cmp eax, esi
jne 0x4060a6
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x100
call ebx
test eax, eax
je 0x406063
lea ecx, [ebp - 0x14]
call fcn.00405711
push dword [ebp - 0x1c]
push dword [edi]
call dword [0x42001c]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405711
mov eax, esi
jmp 0x406036
Function at 0x40989d
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
push esi
push esi
push esi
push 0x409669
push esi
push esi
call fcn.0040f9c1
add esp, 0x18
cmp eax, esi
jne 0x4098de
push str.CWWPluginLoader::StartSelfHelthChecker_beginthreadex_error
push 4
push 0x429b38
call fcn.00407023
add esp, 0xc
push esi
call dword [0x420044]
push eax
call dword [0x420040]
push esi
call fcn.0040f7b6
push eax
call dword [0x4200a8]
pop esi
ret
Function at 0x405480
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b3bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004618ab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405502
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045be35
mov eax, dword [eax]
push 0x486b90
push eax
call fcn.0044e97a
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461b36
test bl, bl
je 0x405502
push 0x486b90
lea ecx, [esp + 0xc]
call fcn.00461f12
push 0x486b9c
lea ecx, [esp + 0xc]
call fcn.00461f12
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40553e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461b36
jmp 0x405609
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4055c2
lea edx, [esp + 0x7c]
push 0x486b98
push edx
call fcn.0044e97a
add esp, 8
test eax, eax
je 0x4055c2
lea eax, [esp + 0x7c]
push 0x486b94
push eax
call fcn.0044e97a
add esp, 8
test eax, eax
je 0x4055c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405552
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00461b36
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x405e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x405e92
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x405ea0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b43b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48df80]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x405fd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x405f06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b36
xor eax, eax
jmp 0x40604f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461cbf
push esi
lea ecx, [esp + 0xc]
call fcn.00461f4e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40602d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00405e30
test eax, eax
jne 0x40602d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00405e30
test eax, eax
jne 0x40602d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0044eeb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40600c
lea ecx, [esp + 0x14]
push 0x486bb0
push ecx
call fcn.0044ee30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40600c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40600f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461c6f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x405f1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b36
xor eax, eax
jmp 0x40604f
mov byte [esi], 0
push 0x486bac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00461b36
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x418c20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46c378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004197a0
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x418cc9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004188b0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.0046574b
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0042eb60
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.004657bd
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14