joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46da60
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 0x46da7c
cmp dword [esi + 4], 0
je 0x46daa9
test byte [ebx + 0x55], 1
jne 0x46da9b
mov eax, ebx
call fcn.0046c600
test eax, eax
jne 0x46da9b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x46dbb9
mov edx, esi
mov eax, ebx
call fcn.0046d584
jmp 0x46dbb9
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 0x46dbb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046f908
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.0046a29c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0046da60
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.0046f908
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dbb9
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 0x470f3c
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4adcd0]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x471115
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00469110
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046a340
mov eax, dword [esi]
call fcn.004579e8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x470fae
mov eax, dword [esi]
call fcn.004579e8
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.004579f4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x470fd2
mov eax, dword [esi]
call fcn.004579f4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004579dc
cmp eax, dword [ebp - 0x18]
jle 0x470fe8
mov eax, dword [esi]
call fcn.004579dc
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004579d0
cmp eax, dword [ebp - 0xc]
jle 0x470ffe
mov eax, dword [esi]
call fcn.004579d0
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0046f908
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4710c5
mov eax, ebx
call fcn.0040527c
cmp eax, 0x64
jge 0x4710c5
cmp dword [0x4acf54], 0
je 0x4710c5
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4710c5
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x471088
mov bl, 2
jmp 0x4710a3
lea edx, [ebp - 0x20]
mov eax, dword [0x4aeb90]
call fcn.004741d4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4710a1
xor ebx, ebx
jmp 0x4710a3
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4ad05c]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0046f908
push eax
call dword [0x4acf54]
mov eax, dword [0x4adb30]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.0046d004
push 4
mov eax, dword [ebp - 4]
call fcn.0046f908
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47111c
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4742e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4adcf4]
cmp byte [eax + 0xc], 0
je 0x474451
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47444a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aebe4], 0
jne 0x474338
push 0x474458
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x474460
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebe4], eax
cmp dword [0x4ad084], 0
jne 0x474433
push 0x474470
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ad084], eax
cmp dword [0x4ad084], 0
je 0x474433
push 0x47447c
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebe8], eax
push 0x47448c
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebec], eax
push 0x4744a0
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebf0], eax
push 0x4744b8
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebf4], eax
push 0x4744d0
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebf8], eax
push 0x4744e4
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebfc], eax
push 0x4744fc
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec00], eax
push 0x474514
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec04], eax
push 0x474530
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec08], eax
push 0x47453c
mov eax, dword [0x4ad084]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474451
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x47598c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4759aa
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0047d790
jmp 0x4759d9
call sub.kernel32.dll_GetCommandLineW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004757f8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4759d9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00405a3c
je 0x4759d9
dec dword [ebp - 4]
jmp 0x4759b2
mov esp, ebp
pop ebp
ret
Function at 0x476500
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47656a
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.0040522c
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b31c
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476571
lea eax, [ebp - 0x14]
call fcn.00404fac
ret

Function at 0x476ad4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x476af5
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x476bf3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x476b15
call fcn.00411318
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x25ff
jne 0x476b6f
add dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x476b4f
call fcn.00411318
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x476b6f
call fcn.00411318
cmp dword [ebp - 0xc], 0
je 0x476b90
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, 6
call fcn.00402d14
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
sub eax, 5
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x14]
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 3], al
mov eax, dword [ebp - 0x14]
shr eax, 0x18
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 4], al
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x476bf3
call fcn.00411318
mov esp, ebp
pop ebp
ret
Function at 0x476bf8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x476c57
lea eax, [ebp - 4]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x476c2b
call fcn.00411318
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 6
call fcn.00402d14
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x476c57
call fcn.00411318
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4777e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0040832c
cmp ax, 0xffff
jne 0x47780a
mov eax, dword [ebp - 8]
neg eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 4
and eax, 0xffff
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
and eax, 0xf
mov dword [ebp - 0x20], eax
push 6
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4778da
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4778da
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
dec eax
test eax, eax
jl 0x477890
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
add eax, eax
add eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x24]
dec dword [ebp - 0x2c]
jne 0x477877
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
mov dword [ebp - 0x10], eax
add dword [ebp - 0x1c], 2
cmp dword [ebp - 0xc], 0
je 0x4778da
cmp dword [ebp + 8], 0
jle 0x4778da
mov eax, dword [ebp + 8]
dec eax
mov edx, dword [ebp - 0x10]
call fcn.004348c4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4778ce
mov ecx, dword [ebp - 0x10]
add ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00408340
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov word [eax + edx*2], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x482768
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x482700
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4aefb4], eax
cmp dword [0x4aefb4], 0
jne 0x482792
call fcn.00411318
pop ebp
ret
Function at 0x482ab8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004056d8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x482b11
push 0x200
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00405878
mov esp, ebp
pop ebp
ret

Function at 0x482b18
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
push 2
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
mov word [ebp - 4], ax
mov ax, word [ebp - 4]
pop ecx
pop ebp
ret
Function at 0x484ce8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484e6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ad894]
cmp byte [eax], 0
je 0x484d43
mov eax, dword [ebp - 4]
mov edx, dword [0x464e68]
call fcn.00404210
test al, al
je 0x484d5e
mov eax, dword [ebp - 4]
call fcn.0046fc0c
test al, al
je 0x484d5e
mov eax, dword [ebp - 4]
call fcn.0046f908
push eax
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x484d5e
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004690e0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00405894
jmp 0x484e43
mov eax, dword [ebp - 4]
mov edx, dword [0x464e68]
call fcn.00404210
test al, al
jne 0x484dbf
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00484bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x484d9e
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004690e0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00405894
jmp 0x484e43
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004690e0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, 0x38
call fcn.0047c194
jmp 0x484e43
mov eax, dword [ebp - 4]
call fcn.0046fc0c
test al, al
jne 0x484df1
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004690e0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00405894
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00484c38
jmp 0x484e43
mov eax, dword [ebp - 4]
call fcn.0046f908
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.00405c88
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405920
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405910
push eax
mov eax, dword [ebp - 4]
call fcn.0046f908
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405920
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
call fcn.00405c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484e75
lea eax, [ebp - 0x20]
call fcn.00404fac
lea eax, [ebp - 0x1c]
call fcn.004056d8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404fd0
ret
Function at 0x48a8f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x38
cmp dword [ebp - 8], 0
jne 0x48a99e
push 0x48aa64
push 0x48aa7c
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_InterlockedIncrement_1
cmp dword [ebp - 0xc], 0
je 0x48a9b0
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x48a9b5
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48aa5b
mov eax, dword [ebp + 8]
cmp dword [eax], 0x38
jae 0x48a9d8
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x48aa5b
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x20
call fcn.004035cc
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
cmp dword [ebp - 0x2c], 0x20
sete al
neg al
sbb eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48aa5b
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
xor ecx, ecx
call fcn.004035cc
mov eax, dword [ebp + 8]
mov dword [eax], 0x38
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x4a4d3c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
test dl, dl
je 0x4a4d5a
add esp, 0xfffffff0
call fcn.004043f0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4e9c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404048
push 1
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, 1
mov edx, dword [0x4a3d44]
call fcn.004065d0
add esp, 4
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
test edx, edx
je 0x4a4da7
cmp eax, dword [edx - 4]
jb 0x4a4dac
call fcn.00403fac
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*8], ecx
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
test edx, edx
je 0x4a4dc3
cmp eax, dword [edx - 4]
jb 0x4a4dc8
call fcn.00403fac
mov cl, byte [ebp + 8]
mov byte [edx + eax*8 + 4], cl
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [0x4adc64]
mov edx, dword [edx]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x14], ecx
push 0x4a4ed0
push 0
lea eax, [ebp - 0x10]
push eax
fld qword [ebp + 0xc]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 3
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
cmp byte [ebp + 8], 1
sete al
mov ecx, 0x4a4ee0
mov edx, 0x4a4ef0
call fcn.00489068
mov ecx, dword [ebp - 0x34]
cmp byte [ebp + 8], 0
sete al
mov edx, 0x4a4f00
call fcn.00489068
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4a4f0c
call fcn.0040cff8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4ad828]
mov eax, dword [eax]
mov ecx, 0x4a4f28
mov edx, 0x4a4f40
call fcn.0048bcb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4ea3
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404fd0
lea eax, [ebp - 0x10]
call fcn.004056d8
ret
Function at 0x40b550
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x544780]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b71b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b579
mov eax, 0x7000000
jmp 0x40b581
test eax, eax
je 0x40b6f6
mov dword [esp + 0x14], eax
mov ecx, dword [0x544780]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call sym.runtime.uint32tofloat64
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x517b80]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40b70e
cmp edx, 0x21
jae 0x40b702
movsd qword [esp + 0x18], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call sym.runtime.uint64tofloat64
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4b77e8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4b7828]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b6d1
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4b7860]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicIndexU
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicExtendIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.fastexprand