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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48d6f0]
cmp byte [eax + 0xc], 0
je 0x46a0b1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a0aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48eba0], 0
jne 0x469f98
push 0x46a0b8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46a0c0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eba0], eax
cmp dword [0x48cf24], 0
jne 0x46a093
push 0x46a0d0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48cf24], eax
cmp dword [0x48cf24], 0
je 0x46a093
push 0x46a0dc
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eba4], eax
push 0x46a0ec
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48eba8], eax
push 0x46a100
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebac], eax
push 0x46a118
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebb0], eax
push 0x46a130
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebb4], eax
push 0x46a144
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebb8], eax
push 0x46a15c
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebbc], eax
push 0x46a174
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebc0], eax
push 0x46a190
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebc4], eax
push 0x46a19c
mov eax, dword [0x48cf24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ebc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a0b1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46e040
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.00404ae4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46e08f
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.00404d54
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x475884
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4758d4]
test si, 4
je 0x475898
or bl, 1
test si, 8
je 0x4758a2
or bl, 4
test si, 1
je 0x4758ac
or bl, 8
test si, 2
je 0x4758b6
or bl, 0x10
test si, 0x10
je 0x4758c0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4758cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4758d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x475910]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4758f1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x475900
or bl, 4
test esi, 0x20000000
je 0x47590b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47bfd4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47bfe6
add esp, 0xfffffff0
call fcn.00404090
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422674
mov eax, dword [0x48d30c]
mov dword [eax + 4], ebx
mov dword [eax], 0x47c378
mov eax, dword [0x48d31c]
mov dword [eax + 4], ebx
mov dword [eax], 0x47c384
mov eax, ebx
call fcn.0047c390
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4173c0]
call fcn.00403ce8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4173c0]
call fcn.00403ce8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4173c0]
call fcn.00403ce8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4173c0]
call fcn.00403ce8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4173c0]
call fcn.00403ce8
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, 0x4787a8
push eax
push 0
push 0
mov eax, dword [0x48d4a4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424138]
call fcn.004258d0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424138]
call fcn.004258d0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424138]
call fcn.004258d0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047c7e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c6a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c6a8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c6a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47c123
call fcn.004040e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47c48c
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 0x47c637
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47c618
mov dl, 1
mov eax, dword [0x417a24]
call fcn.00403ce8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ae4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47c607
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.0046a2a4
test al, al
je 0x47c5fa
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, 0x47c648
lea eax, [ebp - 0x254]
call fcn.0040a278
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47c5fa
xor eax, eax
push ebp
push 0x47c5f3
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 0x47c680
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47c5dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d54
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 0x47c5dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c5fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47c4fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c4d4
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 0x47c63e
lea eax, [ebp - 0x260]
call fcn.00404ae4
ret

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

Disassembly:
push ecx
mov eax, dword [0x48ebec]
cmp byte [eax + 0xa5], 0
jne 0x47cff1
cmp dword [0x48ec04], 0
jne 0x47cfb2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47cf3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ec04], eax
cmp dword [0x48ec00], 0
jne 0x47cfcd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ec00], eax
cmp dword [0x48ec08], 0
jne 0x47cff1
push esp
push 0
push 0
push 0x47cee0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48ec08], eax
pop edx
ret
Function at 0x47d684
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ebec]
cmp dword [eax + 0x30], 0
je 0x47d72e
cmp dword [ebx + 0x94], 0
jne 0x47d728
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47d614
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47d728
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 0x47d6ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47d728
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.00419c98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47d6fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47e28c
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 0x47e2c1
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.00404bd4
jmp 0x47e2ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b38
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47f498
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47f4d9
mov eax, esi
call fcn.00465828
test al, al
je 0x47f4d9
mov eax, dword [ebx + 0x84]
call fcn.00465524
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47f4d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00465524
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4853e4
Capabilities:
Hide graphical window
Manipulate console buffer

Disassembly:
add esp, 0xfffffef8
call sub.kernel32.dll_AllocConsole
mov eax, dword [0x48d5d0]
cmp byte [eax], 0
jne 0x485428
push 0x104
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetConsoleTitleA
push 0
lea eax, [esp + 8]
push eax
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x48d53c]
mov eax, dword [eax]
call fcn.0047e250
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
mov edx, dword [0x48d6ac]
mov dword [edx], eax
mov word [esp], 0x1f4
mov word [esp + 2], 0x32
push dword [esp]
mov eax, dword [0x48d6ac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_SetConsoleScreenBufferSize
mov word [esp], 0
mov word [esp + 2], 0
push dword [esp]
mov eax, dword [0x48d6ac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_SetConsoleCursorPosition
add esp, 0x108
ret

Function at 0x485478
Capabilities:
Hide graphical window

Disassembly:
add esp, 0xfffffefc
mov eax, dword [0x48d5d0]
cmp byte [eax], 0
jne 0x4854b7
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetConsoleTitleA
push 0
lea eax, [esp + 4]
push eax
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x48d53c]
mov eax, dword [eax]
call fcn.0047e250
add esp, 0x104
ret
Function at 0x4862f4
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, 0x1f4
mov eax, ebx
mov edx, 0x1f4
call fcn.00405130
mov word [ebp - 4], 0
mov word [ebp - 2], di
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
mov eax, ebx
call fcn.00404ffc
push eax
mov eax, dword [0x48d6ac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_ReadConsoleOutputCharacterA
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x486438
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x486523
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403528
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 2
mov ecx, dword [0x48d478]
mov ecx, dword [ecx]
lea eax, [ebp - 0x60]
mov edx, 0x48653c
call fcn.00404df0
mov eax, dword [ebp - 0x60]
call fcn.00404fa4
mov dword [ebp - 0x40], eax
mov eax, dword [0x48d668]
push dword [eax]
push 0x486558
mov eax, dword [0x48d478]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404e64
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x48d668]
mov eax, dword [eax]
call fcn.00404fa4
push eax
push 0
push 0x4000000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fa4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48652a
lea eax, [ebp - 0x60]
call fcn.00404ae4
lea eax, [ebp - 4]
call fcn.00404ae4
ret
Function at 0x487ac8
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00404fa4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
test ebx, 1
jbe 0x487aee
dec ebx
push ebx
push edi
call sub.kernel32.dll_SetFileAttributesA
pop edi
pop esi
pop ebx
ret

Function at 0x487af4
Capabilities:
Create process on windows
Create process suspended
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404f94
xor eax, eax
push ebp
push 0x487c10
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403528
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 2
mov eax, 0x487c20
mov dword [ebp - 0x40], eax
mov eax, dword [0x48d478]
mov edx, dword [ebp - 4]
call fcn.00404b38
lea eax, [ebp - 4]
call fcn.0048295c
mov eax, dword [0x48d668]
mov eax, dword [eax]
call fcn.00409bd8
mov eax, dword [ebp - 4]
call fcn.00487ac8
push 0
push 0x487c20
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x48d668]
mov eax, dword [eax]
call fcn.00404fa4
push eax
push 0
call fcn.00482794
add eax, 0x4000000
push eax
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fa4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [0x48d328]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
xor dl, 1
lea eax, [ebp - 0x5c]
call fcn.00487820
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 8], 0
jne 0x487bf8
mov bl, 1
jmp 0x487bfa
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487c17
lea eax, [ebp - 4]
call fcn.00404ae4
ret

Function at 0x487dd4
Capabilities:
Hide graphical window
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
call sub.kernel32.dll_AllocConsole
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetConsoleTitleA
push 0
lea eax, [ebp - 0x108]
push eax
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x48d53c]
mov eax, dword [eax]
call fcn.0047e250
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
mov dword [0x48ed0c], eax
mov word [ebp - 4], 0x1f4
mov word [ebp - 2], 0x32
push dword [ebp - 4]
mov eax, dword [0x48ed0c]
push eax
call sub.kernel32.dll_SetConsoleScreenBufferSize
mov word [ebp - 4], 0
mov word [ebp - 2], 0
push dword [ebp - 4]
mov eax, dword [0x48ed0c]
push eax
call sub.kernel32.dll_SetConsoleCursorPosition
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x344]
xor edx, edx
call fcn.00480d88
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x350]
xor edx, edx
call fcn.00480d88
mov esp, ebp
pop ebp
ret
Function at 0x487e80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x487f4e
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
je 0x487f22
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx - 0x10]
sbb edx, dword [ecx - 0xc]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
fild qword [ebp - 0x124]
fild qword [ebp - 8]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x11c]
call fcn.0040aa44
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov ecx, 0xff
call fcn.00404d80
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x16]
mov cl, 5
call fcn.004033e0
mov eax, ebx
lea edx, [ebp - 0x16]
call fcn.00404d48
jmp 0x487f35
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, ebx
call fcn.00404ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487f55
lea eax, [ebp - 0x11c]
call fcn.00404ae4
ret
Function at 0x487f5c
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488121
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x18], 0
mov word [ebp - 0x16], 0
xor eax, eax
mov dword [ebp - 0x14], eax
call fcn.00487dd4
push ebp
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00487e80
pop ecx
xor eax, eax
call fcn.00482e4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.00405b38
mov esi, eax
test esi, esi
jl 0x48808a
inc esi
xor ebx, ebx
mov edi, ebx
shl edi, 3
sub edi, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
cmp byte [eax + edi*4], 0
jne 0x488082
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov edx, dword [eax + edi*4 + 4]
mov eax, dword [ebp - 4]
call fcn.00487af4
test al, al
je 0x488002
push ebp
mov dl, 1
mov eax, ebx
call fcn.00487c40
pop ecx
jmp 0x48800d
push ebp
xor edx, edx
mov eax, ebx
call fcn.00487c40
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.00405b30
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
lea eax, [ebx + 1]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fdivrp st(1)
fmul dword [0x488130]
call fcn.00402f88
mov edx, eax
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x350]
call fcn.00480d88
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.0045e3e4
push dword [ebp - 0x18]
mov eax, dword [0x48ed0c]
push eax
call sub.kernel32.dll_SetConsoleCursorPosition
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push 0x5dc
push 0
mov eax, dword [0x48ed0c]
push eax
call sub.kernel32.dll_FillConsoleOutputCharacterA
inc ebx
dec esi
jne 0x487fc2
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x344]
mov edx, 0x64
call fcn.00480d88
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x350]
mov edx, 0x64
call fcn.00480d88
mov al, 1
call fcn.00482e4c
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x324]
mov dl, 1
call fcn.0045eb48
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x330]
mov dl, 1
call fcn.0045eb48
push ebp
lea edx, [ebp - 0x28]
mov al, 1
call fcn.00487e80
pop ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [0x48ed08]
mov eax, dword [eax + 0x330]
call fcn.0045ec58
call sub.kernel32.dll_FreeConsole
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488128
lea eax, [ebp - 0x28]
call fcn.00404ae4
lea eax, [ebp - 0x1c]
call fcn.00404ae4
ret
Function at 0x489cb8
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov bl, 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00404fa4
push eax
call sub.kernel32.dll_GetFileAttributesA
mov esi, eax
test esi, 1
jbe 0x489d1e
push 0x24
mov eax, 0x489d2c
call fcn.00483cf4
push eax
mov eax, 0x489d44
call fcn.00483cf4
mov edx, eax
mov eax, dword [0x48d53c]
mov eax, dword [eax]
pop ecx
call fcn.0047e918
cmp eax, 6
jne 0x489d1c
dec esi
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00404fa4
push eax
call sub.kernel32.dll_SetFileAttributesA
mov bl, 1
jmp 0x489d1e
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x48b78c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x418]
mov eax, dword [0x48d53c]
mov eax, dword [eax]
call fcn.0047ee48
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x14]
call fcn.00409a9c
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404fa4
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48b764
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00404fa4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48b746
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
push 0x400
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
lea edx, [ebp - 0x414]
mov ecx, dword [edi]
mov eax, ebx
call fcn.0041c7e8
cmp dword [edi], 0
jne 0x48b701
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b74d
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret