joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e17c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x41e1b1
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0043f154
jmp 0x41e1bb
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.0043f0c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x41f068
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x41f0a0
mov eax, esi
call fcn.0042a594
test al, al
je 0x41f0a0
mov eax, dword [ebx + 0x74]
call fcn.0042a298
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x41f0a0
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042a298
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x42200c
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 - 0xc]
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
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x44f678], 0
sete dl
or al, dl
jne 0x42214c
mov eax, dword [0x44f67c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x44f678]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42211b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x44f678]
call fcn.00430b70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x422113
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x422113
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x422113
mov eax, dword [ebp - 0x14]
call fcn.0042a298
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x422113
push ebp
call fcn.00421fc8
pop ecx
test al, al
jne 0x422113
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x4220cf
mov eax, dword [ebp - 0x14]
call fcn.00428c24
dec eax
jle 0x422113
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.0043e7f0
cmp byte [ebp - 1], 0
je 0x422113
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x422113
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44f67c]
call fcn.00421814
inc edi
dec esi
jne 0x422062
mov eax, dword [0x44f67c]
cmp dword [eax + 8], 0
jle 0x422133
mov eax, dword [0x44f67c]
call fcn.004218a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42214c
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00421e30
pop ecx
test al, al
jne 0x42214c
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 0x427c30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x427c61
je 0x427cbb
sub eax, 7
je 0x427c82
dec eax
je 0x427cac
sub eax, 0x17
je 0x427d60
jmp 0x427d9e
add eax, 0xffffff00
sub eax, 9
jb 0x427d4c
add eax, 0xffffff09
sub eax, 0xb
jb 0x427d14
jmp 0x427d9e
mov eax, ebx
call fcn.00415dc8
mov edi, eax
test edi, edi
je 0x427dfe
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x427e07
jmp 0x427dfe
test byte [ebx + 0x44], 0x20
jne 0x427e07
jmp 0x427dfe
mov edx, esi
mov eax, ebx
call fcn.0042529c
cmp dword [esi + 0xc], 0xffffffff
jne 0x427e07
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0043739c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00423de8
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00427b08
test eax, eax
je 0x427e07
mov dword [esi + 0xc], 1
jmp 0x427e07
mov edx, esi
mov eax, ebx
call fcn.00427b9c
test al, al
je 0x427dfe
cmp dword [esi + 0xc], 0
jne 0x427e07
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0042a298
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x427e07
mov eax, ebx
call fcn.00424938
test al, al
jne 0x427e07
jmp 0x427dfe
mov eax, ebx
call fcn.0042a298
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x427dfe
cmp dword [0x44bc2c], 0
je 0x427dfe
mov eax, dword [0x44bc2c]
cmp ebx, dword [eax + 0x24]
jne 0x427dfe
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x44bc2c]
call fcn.004251d0
jmp 0x427dfe
mov eax, dword [0x44f640]
cmp byte [eax + 0x20], 0
je 0x427dfe
mov eax, dword [0x44f640]
cmp dword [eax + 0x1c], 0
je 0x427dfe
mov eax, dword [esi]
mov edx, dword [0x44f640]
cmp eax, dword [edx + 0x1c]
jne 0x427dfe
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00415d0c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.0043e7f0
jmp 0x427e07
mov edx, esi
mov eax, ebx
call fcn.0042529c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4282c8
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 + 0x1e8], 0
je 0x4282e4
cmp dword [esi + 4], 0
je 0x428311
test byte [ebx + 0x45], 1
jne 0x428303
mov eax, ebx
call fcn.0042726c
test eax, eax
jne 0x428303
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x428421
mov edx, esi
mov eax, ebx
call fcn.00427f40
jmp 0x428421
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x42841a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042a298
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.004251d0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004282c8
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.0042a298
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428421
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 0x439be8
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x439c21
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0043f154
jmp 0x439c2a
mov eax, ebx
mov edx, esi
call fcn.0043f0c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x439c34
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
test eax, eax
jle 0x439c55
mov al, byte [esp]
jmp 0x439c57
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x43e190
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x43e1bf
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0043f154
jmp 0x43e1dd
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0043e118
mov edi, eax
test ebx, ebx
je 0x43e1dd
cmp dword [esi], 0
je 0x43e1dd
dec ebx
jmp 0x43e1c6
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x43e48c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x44bf28]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43e524
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x43e504
xor eax, eax
push ebp
push 0x43e4fd
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 0x43e540
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 0x43e504
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x44bf28]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x44bf28], ax
mov esp, ebp
pop ebp
ret
Function at 0x440578
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 0xf003f
push 0
push 0x440734
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4405d9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x440750
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44064b
xor eax, eax
push ebp
push 0x440644
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004403d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x44062d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x440770
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44064b
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
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 0x44072c
cmp byte [ebp - 0xd], 0
jne 0x44068d
cmp byte [ebp - 0x12], 0
je 0x44072c
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4406a6
dec ebx
cmp byte [ebx], 0x2e
je 0x4406b5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4406a5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x44072c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4406e2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44072c
cmp byte [ebp - 0xd], 0
je 0x44072c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44072c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
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 0x440b20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x440c08
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x44fcd8], 1
jae 0x440bfa
xor eax, eax
mov dword [0x44f8e4], eax
xor eax, eax
mov dword [0x44f8ec], eax
xor eax, eax
mov dword [0x44f8f0], eax
mov byte [0x44f8f6], 2
mov byte [0x44f8f7], 2
mov byte [0x44f8f8], 3
mov word [0x44fca0], 0
mov word [0x44fcb0], 1
mov word [0x44fcc0], 0xa
mov dword [0x44fcc8], 0x80020004
mov dword [0x44fc94], 0x43fd0c
mov dword [0x44fc98], 0x43fd04
mov dword [0x44fc9c], 0x43fd0c
call fcn.0043e45c
test al, al
je 0x440bb9
call fcn.0043e48c
call fcn.0043e550
mov eax, 0x44f8fc
mov edx, 0x440c14
call fcn.0043bca2
mov eax, 0x44fac8
mov edx, 0x440c14
call fcn.0043bca2
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x44f8dc], eax
call fcn.0043cc08
mov dword [0x44f8d8], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x44f8d0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440c0f
ret

Function at 0x445354
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 0x4453b6
call fcn.00445304
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004416e0
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.004416e0
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 0x445434
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x44db0c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44550e
cmp dword [0x44db08], 0
jne 0x44550e
cmp dword [0x44dcec], 0
je 0x4454c8
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.00445204
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4454ae
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00445204
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4454ae
lea ebx, [ebp - 0x84]
jmp 0x4454af
inc ebx
call fcn.004453f0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x445549
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x44db10
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004416e0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x44db13
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x445549
cmp dword [0x44db08], 0
je 0x445528
cmp dword [0x44db08], 0xffffffff
je 0x445549
push esi
call dword [0x44db08]
pop ecx
mov eax, dword [0x44db0c]
test eax, eax
je 0x445549
cmp dword [0x44db0c], 0xffffffff
je 0x445549
cmp byte [eax], 0
je 0x445549
push esi
push eax
call fcn.00445354
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445ce0
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4505dc], 0
jne 0x445d61
cmp dword [0x4505fc], 0
jne 0x445d10
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4505fc], eax
test eax, eax
jne 0x445d10
push str.GetEnvironmentStrings_failed
call fcn.00445560
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4505fc]
jmp 0x445d24
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004416e0
pop ecx
mov edi, eax
test eax, eax
jne 0x445d1c
lea edi, [ebp + 1]
push edi
call fcn.00441140
pop ecx
mov ebx, eax
mov dword [0x4505e0], ebx
test ebx, ebx
jne 0x445d4e
xor eax, eax
jmp 0x445e24
push edi
mov edx, dword [0x4505fc]
push edx
push ebx
call fcn.00441590
add esp, 0xc
jmp 0x445d81
xor esi, esi
mov ebx, dword [0x4505dc]
jmp 0x445d7b
push eax
call fcn.004416e0
pop ecx
test eax, eax
jne 0x445d77
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x445d6b
lea ebx, [esi + 4]
push 4
mov dword [0x4505e4], ebx
inc ebx
push ebx
call fcn.00440c18
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x445da4
xor eax, eax
jmp 0x445e24
cmp dword [0x4505dc], 0
jne 0x445dd5
xor esi, esi
mov ebx, dword [0x4505e0]
mov eax, dword [esp]
mov ebp, eax
jmp 0x445dc6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004416e0
pop ecx
mov edi, eax
test eax, eax
jne 0x445dbc
jmp 0x445e06
xor esi, esi
mov ebx, dword [0x4505dc]
mov eax, dword [esp]
mov edi, eax
jmp 0x445e00
push eax
call fcn.004416e0
pop ecx
test eax, eax
je 0x445df5
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x445df9
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x445de4
mov eax, dword [0x4505dc]
test eax, eax
je 0x445e16
push eax
call fcn.00441150
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4505dc], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406740
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c6cb
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.0045f541
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4067c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045cff7
mov eax, dword [eax]
push 0x4a71d0
push eax
call fcn.0044fd44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f7cc
test bl, bl
je 0x4067c2
push 0x4a71d0
lea ecx, [esp + 0xc]
call fcn.0045fba8
push 0x4aad28
lea ecx, [esp + 0xc]
call fcn.0045fba8
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 0x4067fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f7cc
jmp 0x4068c9
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 0x406882
lea edx, [esp + 0x7c]
push 0x4aad24
push edx
call fcn.0044fd44
add esp, 8
test eax, eax
je 0x406882
lea eax, [esp + 0x7c]
push 0x4aad20
push eax
call fcn.0044fd44
add esp, 8
test eax, eax
je 0x406882
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 0x406812
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.0045f7cc
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 0x4070c0
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 0x407122
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 0x407130
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c74b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b1bf8]
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 0x407268
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407196
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f7cc
xor eax, eax
jmp 0x4072df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f955
push esi
lea ecx, [esp + 0xc]
call fcn.0045fbe4
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 0x4072bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004070c0
test eax, eax
jne 0x4072bd
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 SysReAllocStringLen
mov ecx, edi
call fcn.004070c0
test eax, eax
jne 0x4072bd
lea eax, [esp + 0x14]
push 0x4aad3c
push eax
call fcn.00450e20
mov esi, eax
add esp, 8
test esi, esi
jne 0x40729c
lea ecx, [esp + 0x14]
push 0x4aad38
push ecx
call fcn.00450da0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40729c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40729f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f905
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4071ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f7cc
xor eax, eax
jmp 0x4072df
mov byte [esi], 0
push 0x4aad34
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.0045f7cc
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