joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44559c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4455b3
add esp, 0xfffffff0
call fcn.00421fb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040ee3c
mov eax, dword [0x46e914]
cmp word [eax + 2], 0
jne 0x4455db
mov eax, dword [0x46e914]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00446bd0
mov eax, dword [0x46e918]
cmp word [eax + 2], 0
jne 0x4455f5
mov eax, dword [0x46e918]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00446dc8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x404ae0]
call fcn.00421c20
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x404ae0]
call fcn.00421c20
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], SafeArrayCopy
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 [0x43251c]
call fcn.00439d1c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44577c
mov eax, dword [0x46e8d0]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043a0ec
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x447338
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46e8d0]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.004155bc
test eax, eax
je 0x4456ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00412b64
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004155e4
test eax, eax
je 0x4456fe
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, 0x100
call fcn.00422a04
mov eax, dword [0x46e8d8]
cmp byte [eax], 0
jne 0x445732
mov eax, ebx
call fcn.004458a4
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.00447514
mov eax, ebx
call fcn.00447ec4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x445772
call fcn.0042200c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445b18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46f644]
cmp dword [eax + 0x30], 0
je 0x445bc2
cmp dword [ebx + 0x94], 0
jne 0x445bbc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x445aa8
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x445bbc
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 0x445b82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x445bbc
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.00407174
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x445b91
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4466a0
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 0x4466d5
push 0x100
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.0042288c
jmp 0x4466e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004227f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4476f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x447731
mov eax, esi
call fcn.00457520
test al, al
je 0x447731
mov eax, dword [ebx + 0x84]
call fcn.0045721c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x447731
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045721c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x44e67c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46f6e8], 0
je 0x44e7cb
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46e900]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44e7cb
mov eax, dword [0x46f6ec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46f6e8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44e79a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46f6e8]
call fcn.00407174
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44e792
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44e792
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44e792
mov eax, dword [ebp - 0x14]
call fcn.0045721c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44e792
push ebp
call fcn.0044e638
pop ecx
test al, al
jne 0x44e792
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44e74e
mov eax, dword [ebp - 0x14]
call fcn.00455db0
dec eax
jle 0x44e792
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00421e4c
cmp byte [ebp - 1], 0
je 0x44e792
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x44e792
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46f6ec]
call fcn.0044de00
inc edi
dec ebx
jne 0x44e6e1
mov eax, dword [0x46f6ec]
cmp dword [eax + 8], 0
jle 0x44e7b2
mov eax, dword [0x46f6ec]
call fcn.0044de90
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e7cb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044e4a0
pop ecx
test al, al
jne 0x44e7cb
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451d84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x451dd0
mov eax, esi
call fcn.0043dc3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x451dd0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x451dd0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x451f0f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x451e10
cmp eax, 0x108
ja 0x451e10
mov eax, esi
call fcn.0043dc3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x451f06
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x451f0f
jmp 0x451f06
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x451eef
cmp eax, 0x20a
ja 0x451eef
test byte [esi + 0x50], 0x80
jne 0x451e42
sub eax, 0x203
je 0x451e3f
sub eax, 3
je 0x451e3f
sub eax, 3
jne 0x451e42
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x451e56
dec eax
je 0x451e6b
dec eax
je 0x451e88
dec eax
je 0x451e6b
jmp 0x451e8f
mov ecx, ebx
mov eax, dword [0x46e900]
mov eax, dword [eax]
mov edx, esi
call fcn.004475a8
jmp 0x451f06
cmp byte [esi + 0x5d], 1
jne 0x451e81
mov eax, esi
mov si, 0xffed
call fcn.00421e4c
jmp 0x451f0f
or word [esi + 0x54], 1
jmp 0x451f06
and word [esi + 0x54], 0xfffe
jmp 0x451f06
mov eax, dword [0x46f6a4]
cmp byte [eax + 0x20], 0
je 0x451f06
mov eax, dword [0x46f6a4]
cmp dword [eax + 0x1c], 0
je 0x451f06
mov eax, dword [ebx]
mov edx, dword [0x46f6a4]
cmp eax, dword [edx + 0x1c]
jne 0x451f06
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0043db80
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00421e4c
jmp 0x451f0f
cmp eax, 0xb00b
jne 0x451f06
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004506b4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45544c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x455468
cmp dword [esi + 4], 0
je 0x455495
test byte [ebx + 0x55], 1
jne 0x455487
mov eax, ebx
call fcn.0045401c
test eax, eax
jne 0x455487
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4555a5
mov edx, esi
mov eax, ebx
call fcn.00454f6c
jmp 0x4555a5
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45559e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045721c
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00451cb8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045544c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045721c
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4555a5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ba84
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46e8ec]
cmp byte [eax + 0xc], 0
je 0x45bbf1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45bbea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46f6f8], 0
jne 0x45bad8
push 0x45bbf8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x45bc00
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f6f8], eax
cmp dword [0x46b2e8], 0
jne 0x45bbd3
push 0x45bc10
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x46b2e8], eax
cmp dword [0x46b2e8], 0
je 0x45bbd3
push 0x45bc1c
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f6fc], eax
push 0x45bc2c
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f700], eax
push 0x45bc40
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f704], eax
push 0x45bc58
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f708], eax
push 0x45bc70
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f70c], eax
push 0x45bc84
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f710], eax
push 0x45bc9c
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f714], eax
push 0x45bcb4
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f718], eax
push 0x45bcd0
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f71c], eax
push 0x45bcdc
mov eax, dword [0x46b2e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46f720], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bbf1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4640e8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x46414a
call fcn.00464098
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004603e8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004603e8
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4641c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x46cf70], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4642a2
cmp dword [0x46cf6c], 0
jne 0x4642a2
cmp dword [0x46d150], 0
je 0x46425c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00463f98
add esp, 8
mov ebx, eax
test eax, eax
jne 0x464242
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00463f98
add esp, 8
mov ebx, eax
test eax, eax
jne 0x464242
lea ebx, [ebp - 0x84]
jmp 0x464243
inc ebx
call fcn.00464184
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4642dd
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x46cf74
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004603e8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x46cf77
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4642dd
cmp dword [0x46cf6c], 0
je 0x4642bc
cmp dword [0x46cf6c], 0xffffffff
je 0x4642dd
push esi
call dword [0x46cf6c]
pop ecx
mov eax, dword [0x46cf70]
test eax, eax
je 0x4642dd
cmp dword [0x46cf70], 0xffffffff
je 0x4642dd
cmp byte [eax], 0
je 0x4642dd
push esi
push eax
call fcn.004640e8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464a74
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x46ffb4], 0
jne 0x464af5
cmp dword [0x46ffd4], 0
jne 0x464aa4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x46ffd4], eax
test eax, eax
jne 0x464aa4
push str.GetEnvironmentStrings_failed
call fcn.004642f4
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x46ffd4]
jmp 0x464ab8
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004603e8
pop ecx
mov edi, eax
test eax, eax
jne 0x464ab0
lea edi, [ebp + 1]
push edi
call fcn.0045fcec
pop ecx
mov ebx, eax
mov dword [0x46ffb8], ebx
test ebx, ebx
jne 0x464ae2
xor eax, eax
jmp 0x464bb8
push edi
mov edx, dword [0x46ffd4]
push edx
push ebx
call fcn.00460298
add esp, 0xc
jmp 0x464b15
xor esi, esi
mov ebx, dword [0x46ffb4]
jmp 0x464b0f
push eax
call fcn.004603e8
pop ecx
test eax, eax
jne 0x464b0b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x464aff
lea ebx, [esi + 4]
push 4
mov dword [0x46ffbc], ebx
inc ebx
push ebx
call fcn.0045f7c4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x464b38
xor eax, eax
jmp 0x464bb8
cmp dword [0x46ffb4], 0
jne 0x464b69
xor esi, esi
mov ebx, dword [0x46ffb8]
mov eax, dword [esp]
mov ebp, eax
jmp 0x464b5a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004603e8
pop ecx
mov edi, eax
test eax, eax
jne 0x464b50
jmp 0x464b9a
xor esi, esi
mov ebx, dword [0x46ffb4]
mov eax, dword [esp]
mov edi, eax
jmp 0x464b94
push eax
call fcn.004603e8
pop ecx
test eax, eax
je 0x464b89
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x464b8d
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x464b78
mov eax, dword [0x46ffb4]
test eax, eax
je 0x464baa
push eax
call fcn.0045fcfc
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x46ffb4], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x410cc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a18b
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.0047e1ce
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410d42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047b5d7
mov eax, dword [eax]
push 0x532210
push eax
call fcn.0046def4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047e459
test bl, bl
je 0x410d42
push 0x532210
lea ecx, [esp + 0xc]
call fcn.0047e7e9
push 0x535da0
lea ecx, [esp + 0xc]
call fcn.0047e7e9
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 0x410d7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047e459
jmp 0x410e49
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 0x410e02
lea edx, [esp + 0x7c]
push 0x535d9c
push edx
call fcn.0046def4
add esp, 8
test eax, eax
je 0x410e02
lea eax, [esp + 0x7c]
push 0x535d98
push eax
call fcn.0046def4
add esp, 8
test eax, eax
je 0x410e02
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 0x410d92
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.0047e459
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 0x411640
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 0x4116a2
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 0x4116b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a20b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x53ce84]
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 0x4117e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411716
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e459
xor eax, eax
jmp 0x41185f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047e596
push esi
lea ecx, [esp + 0xc]
call fcn.0047e825
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x535dd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41183d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411640
test eax, eax
jne 0x41183d
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 closesocket
mov ecx, edi
call fcn.00411640
test eax, eax
jne 0x41183d
lea eax, [esp + 0x14]
push 0x535db4
push eax
call fcn.0046ef30
mov esi, eax
add esp, 8
test esi, esi
jne 0x41181c
lea ecx, [esp + 0x14]
push 0x535db0
push ecx
call fcn.0046eeb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41181c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41181f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047e546
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41172e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e459
xor eax, eax
jmp 0x41185f
mov byte [esi], 0
push 0x535dac
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.0047e459
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