joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ca38
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d98f0]
cmp byte [eax + 0xc], 0
je 0x46cba5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46cb9e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dabac], 0
jne 0x46ca8c
push 0x46cbac
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46cbb4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabac], eax
cmp dword [0x4d80e4], 0
jne 0x46cb87
push 0x46cbc4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d80e4], eax
cmp dword [0x4d80e4], 0
je 0x46cb87
push 0x46cbd0
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabb0], eax
push 0x46cbe0
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabb4], eax
push 0x46cbf4
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabb8], eax
push 0x46cc0c
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabbc], eax
push 0x46cc24
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabc0], eax
push 0x46cc38
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabc4], eax
push 0x46cc50
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabc8], eax
push 0x46cc68
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabcc], eax
push 0x46cc84
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabd0], eax
push 0x46cc90
mov eax, dword [0x4d80e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dabd4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cba5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x470ffc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404800
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x47104b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a70
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x478840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x478890]
test si, 4
je 0x478854
or bl, 1
test si, 8
je 0x47885e
or bl, 4
test si, 1
je 0x478868
or bl, 8
test si, 2
je 0x478872
or bl, 0x10
test si, 0x10
je 0x47887c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47888b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x478894
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4788cc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4788ad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4788bc
or bl, 4
test esi, 0x20000000
je 0x4788c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47ef90
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47efa2
add esp, 0xfffffff0
call fcn.00403d28
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004231ac
mov eax, dword [0x4d93f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x47f334
mov eax, dword [0x4d9400]
mov dword [eax + 4], ebx
mov dword [eax], 0x47f340
mov eax, ebx
call fcn.0047f34c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41787c]
call fcn.00403980
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41787c]
call fcn.00403980
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41787c]
call fcn.00403980
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41787c]
call fcn.00403980
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41787c]
call fcn.00403980
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47b764
push eax
push 0
push 0
mov eax, dword [0x4d95e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424cb8]
call fcn.00426450
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424cb8]
call fcn.00426450
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424cb8]
call fcn.00426450
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047f7e4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47f6ac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47f6ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47f6ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47f0df
call fcn.00403d80
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47f490
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 0x47f63b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47f61c
mov dl, 1
mov eax, dword [0x417ee0]
call fcn.00403980
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404800
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47f60b
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.0046cd98
test al, al
je 0x47f5fe
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, 0x47f64c
lea eax, [ebp - 0x254]
call fcn.0040a330
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47f5fe
xor eax, eax
push ebp
push 0x47f5f7
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 0x47f684
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47f5e0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a70
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 0x47f5e0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f5fe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47f501
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cbcc
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 0x47f642
lea eax, [ebp - 0x260]
call fcn.00404800
ret

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

Disassembly:
push ecx
mov eax, dword [0x4dabf8]
cmp byte [eax + 0xa5], 0
jne 0x47fff5
cmp dword [0x4dac10], 0
jne 0x47ffb6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47ff40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dac10], eax
cmp dword [0x4dac0c], 0
jne 0x47ffd1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4dac0c], eax
cmp dword [0x4dac14], 0
jne 0x47fff5
push esp
push 0
push 0
push 0x47fee4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4dac14], eax
pop edx
ret
Function at 0x4806e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dabf8]
cmp dword [eax + 0x30], 0
je 0x48078e
cmp dword [ebx + 0x94], 0
jne 0x480788
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x480674
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x480788
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 0x48074e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x480788
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.0041a128
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48075d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4812ec
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 0x481321
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.004048f0
jmp 0x48132e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404854
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x482468
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4824a9
mov eax, esi
call fcn.0046831c
test al, al
je 0x4824a9
mov eax, dword [ebx + 0x84]
call fcn.00468018
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4824a9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00468018
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x488d70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x488d9e
mov eax, ebx
call fcn.00489824
cmp dword [ebx + 0x40], 0
je 0x488d97
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x488e0f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x488e01
cmp dword [ebx + 8], 0
je 0x488dc0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x488dd2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x488e01
cmp dword [ebx + 8], 0
je 0x488db3
cmp eax, 3
je 0x488de5
dec eax
jne 0x488db3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x488db3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x488db3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x488e2d
cmp dword [ebx + 0x14], 0xcc
je 0x488e2d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00488e38
pop ebx
ret
Function at 0x49a674
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404800
push esp
push esi
call sub.user32.dll_GetActiveWindow
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004170f8
test al, al
je 0x49a6ce
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x49a6c0
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404a70
mov eax, dword [esp]
push eax
call sub.ole32.dll_CoTaskMemFree
xor eax, eax
mov dword [esp], eax
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x49a71c
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0049b964
test al, al
je 0x49a749
mov eax, esi
call fcn.00404cc0
push eax
call sub.kernel32.dll_GetFileAttributesA
test eax, eax
je 0x49a749
test al, 0x10
je 0x49a749
cmp eax, 0xffffffff
je 0x49a749
mov bl, 1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x49b33c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffff004
push eax
mov esi, edx
mov ebx, eax
push 0x200
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00404cc0
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, esi
mov edx, esp
mov ecx, 0x1000
call fcn.00404a70
add esp, 0x1000
pop esi
pop ebx
ret
Function at 0x49be0c
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
xor ebx, ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cb0
mov eax, dword [ebp - 8]
call fcn.00404cb0
mov eax, dword [ebp - 0xc]
call fcn.00404cb0
xor eax, eax
push ebp
push 0x49c034
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 0xffffffff
xor eax, eax
mov dword [ebp - 0x24], eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_CreatePipe
xor eax, eax
push ebp
push 0x49bffa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040328c
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 0x101
mov word [ebp - 0x3c], 0
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404cc0
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 8]
mov edx, 0x49c04c
call fcn.00404b0c
mov eax, dword [ebp - 0x180]
call fcn.00404cc0
push eax
mov eax, dword [ebp - 4]
call fcn.00404cc0
push eax
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
test bl, bl
jne 0x49bf30
lea eax, [ebp - 0x1c]
mov edx, 0x49c058
call fcn.00404898
jmp 0x49bfd8
xor eax, eax
push ebp
push 0x49bfd1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.00404800
push 0
lea eax, [ebp - 0x18]
push eax
push 0xff
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x18], 0
jbe 0x49bf9c
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x17c], 0
lea eax, [ebp - 0x184]
lea edx, [ebp - 0x17c]
mov ecx, pe_nt_image_headers32
call fcn.00404a70
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x1c]
call fcn.00404ac8
test bl, bl
je 0x49bfa6
cmp dword [ebp - 0x18], 0
jne 0x49bf46
push 0xffffffffffffffff
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bfd8
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c001
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
call fcn.00404854
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x4a10f4
Capabilities:
Set global application hook

Disassembly:
push ebx
xor ebx, ebx
cmp byte [0x4dac80], 0
jne 0x4a110a
call fcn.004a1058
mov byte [0x4dac80], al
cmp byte [0x4dac80], 0
je 0x4a1144
push 0
mov eax, dword [0x4dac84]
push eax
mov eax, dword [0x4dac88]
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dac94], eax
mov eax, dword [0x4dac94]
push eax
call dword [0x4dac90]
cmp dword [0x4dac94], 0
je 0x4a1144
mov bl, 1
mov eax, ebx
pop ebx
ret

Function at 0x4a21c8
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov word [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret

Function at 0x4a21e4
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x4a21ed
mov eax, dword [ebp - 4]
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x4014], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cb0
xor eax, eax
push ebp
push 0x4a2334
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x4014]
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
call fcn.004812ec
mov eax, dword [ebp - 0x4014]
call fcn.00404cc0
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a230c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push esi
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404cc0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a22f5
xor eax, eax
push ebp
push 0x4a22ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, ebx
call fcn.0041ccb4
lea eax, [ebp - 0x10]
push eax
push 0x4000
lea eax, [ebp - 0x4010]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x10], 0
jbe 0x4a22cc
lea edx, [ebp - 0x4010]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
jmp 0x4a229b
push 0
push 0
mov eax, ebx
call fcn.0041ccb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a22f5
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2313
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x4a4584
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a45fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4d902c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4a45e7
lea eax, [ebp - 8]
call fcn.004a4570
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a40c0]
call fcn.004a4e1c
mov dword [0x4d9094], eax
lea eax, [ebp - 8]
call fcn.00406214
mov eax, dword [ebp - 4]
call fcn.004a4534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4604
lea eax, [ebp - 8]
call fcn.00406214
ret

Function at 0x4a48f4
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffd4c
mov ecx, 0x4008
test dl, dl
je 0x4a4908
or ecx, 0
jmp 0x4a490b
or ecx, 1
push ecx
push 0x2b4
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [esp + 4]
add esp, 0x2b4
ret
Function at 0x4a4a54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404cb0
xor eax, eax
push ebp
push 0x4a4bdc
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebx]
mov eax, dword [0x4a3f40]
call fcn.00416420
test eax, eax
jl 0x4a4ac0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.004a4608
and eax, 0x7f
mov eax, dword [eax*4 + 0x4d902c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4a4b38
mov eax, dword [ebx]
call fcn.00404ac0
test eax, eax
jle 0x4a4b38
mov eax, dword [ebx]
call fcn.00404ac0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4a4ae7
mov eax, ebx
mov edx, 0x4a4bf8
call fcn.00404ac8
mov eax, dword [ebx]
call fcn.00404ac0
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
call fcn.00405664
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
call fcn.004a4570
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
call sub.oleaut32.dll_SysFreeString_1
lea eax, [ebp - 0x20]
call fcn.00406214
test esi, esi
je 0x4a4b8b
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4d9308]
call fcn.004066d8
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x2c]
xor ecx, ecx
pop eax
call fcn.0040a3c8
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404854
mov eax, dword [ebp - 0x10]
call fcn.004a4550
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x407dd4]
call fcn.0040cea8
call fcn.00404190
mov dl, byte [ebp + 8]
mov eax, dword [ebp - 0x10]
call fcn.004a4724
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.004a4550
cmp dword [ebp - 4], 0
je 0x4a4bae
lea eax, [ebp - 4]
call fcn.0040eb6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4be3
lea eax, [ebp - 0x24]
call fcn.00404800
lea eax, [ebp - 0x20]
call fcn.00406214
lea eax, [ebp - 0x1c]
call fcn.00404800
lea eax, [ebp - 8]
call fcn.00404800
ret
Function at 0x4a52b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a539a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040328c
mov dword [ebp - 0x44], 0x3c
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0xc
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 5
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004a51dc
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00409a28
cmp dword [ebp - 4], 0
je 0x4a5367
mov eax, dword [ebp - 4]
call fcn.0049a318
test al, al
je 0x4a5367
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00409b7c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408c4c
mov eax, dword [ebp - 0x48]
mov edx, 0x4a53b0
call fcn.00404c0c
je 0x4a5367
mov eax, dword [ebp - 4]
call fcn.00404cc0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a53a1
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404824
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404824
ret