joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5573d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5573ff
test edi, 0x40000
je 0x557419
test bl, bl
jne 0x5574a8
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5574a8
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x55744c
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x557468
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x55747e
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x55748f
cmp byte [esp + 2], 0
je 0x5574a8
cmp byte [esp + 2], 0
je 0x5574a0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5574a8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x557758
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x55777e
mov eax, esp
push eax
push 0x557720
call sub.user32.dll_EnumWindows
jmp 0x557791
mov eax, esp
push eax
push 0x557700
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x557854
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5578a4]
test bl, 4
je 0x557868
or si, 1
test bl, 8
je 0x557871
or si, 4
test bl, 1
je 0x55787a
or si, 8
test bl, 2
je 0x557883
or si, 0x10
test bl, 0x10
je 0x55788c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55789c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5578a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5578e4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5578c3
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5578d3
or bx, 4
test esi, 0x20000000
je 0x5578df
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x557938
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.005578e8
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x5600a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5600b2
add esp, 0xfffffff0
call fcn.004059fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0049e09c
mov eax, dword [0x5ee224]
mov dword [eax + 4], ebx
mov dword [eax], 0x5604e0
mov eax, dword [0x5ee230]
mov dword [eax + 4], ebx
mov dword [eax], 0x5604ec
mov eax, ebx
call fcn.005604f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
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 + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x55b340
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4bcd38]
call fcn.004c2c04
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4bcd38]
call fcn.004c2c04
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4bcd38]
call fcn.004c2c04
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4bcd38]
call fcn.004c2c04
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4bcd38]
call fcn.004c2c04
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.00560ae8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x560904
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x560904
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x560904
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x560904
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x560904
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x56022f
call fcn.00405a54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5606a4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56084f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x560830
mov dl, 1
mov eax, dword [0x471ed8]
call fcn.00492cf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407044
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x56081f
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.004f5294
test al, al
je 0x560812
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x560860
lea eax, [ebp - 0x394]
call fcn.0041e870
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x560812
xor eax, eax
push ebp
push 0x56080b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5608d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5607f4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407f5c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x5607f4
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407f5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560812
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x560715
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00492c2c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560856
lea eax, [ebp - 0x3a0]
call fcn.00407044
ret

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

Disassembly:
push ecx
mov eax, dword [0x5f4328]
cmp byte [eax + 0xb1], 0
jne 0x56147a
cmp dword [0x5f4348], 0
jne 0x56143a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5ed3e4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5f4348], eax
cmp dword [0x5f4344], 0
jne 0x561455
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5f4344], eax
cmp dword [0x5f434c], 0
jne 0x56147a
push esp
push 0
push 0
mov eax, dword [0x5ed3e0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5f434c], eax
pop edx
ret
Function at 0x561744
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x56175b
add esp, 0xfffffff0
call fcn.004059fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0049e09c
mov eax, dword [0x5ee0f0]
cmp byte [eax], 0
jne 0x561788
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5ee3e8]
cmp word [eax + 2], 0
jne 0x5617a2
mov eax, dword [0x5ee3e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005638f0
mov eax, dword [0x5ee50c]
cmp word [eax + 2], 0
jne 0x5617bc
mov eax, dword [0x5ee50c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00563af4
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4bcd38]
call fcn.004c2c04
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x563f70
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x4c1510]
call fcn.004cb9cc
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x5619a0
mov eax, dword [0x5ee2b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004cbdc8
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x564230
mov dl, 1
mov eax, dword [0x46e744]
call fcn.0040545c
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5ee2b4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041e5bc
test eax, eax
je 0x5618d0
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041e3c4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041e5a0
test eax, eax
je 0x5618e8
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407f5c
push ebx
push 0x5632cc
call fcn.00557838
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x5ee0f0]
cmp byte [eax], 0
jne 0x561939
mov eax, ebx
call fcn.00561b60
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00564478
mov eax, ebx
call fcn.005650a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x561996
call fcn.00405a54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x561e98
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x561f44
cmp dword [ebx + 0x98], 0
jne 0x561f3e
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x561dd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x561f3e
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x561f04
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x561f3e
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.0048ee18
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x561f13
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x562164
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5f4328]
cmp dword [eax + 0x178], 0
je 0x5622c9
test bl, bl
jne 0x562217
cmp dword [esi + 0xa0], 0
jne 0x56220c
mov eax, esi
call fcn.00564ef4
push eax
push 0x562070
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x5621dd
mov eax, dword [0x5f4328]
cmp byte [eax + 0xd7], 0
je 0x5621dd
mov eax, dword [esi + 0xdc]
call fcn.00409120
mov edi, eax
cmp edi, 0
jl 0x5621dd
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5621c6
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x56220c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0048ee18
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5621ec
inc dword [esi + 0xa0]
jmp 0x5622c9
cmp dword [esi + 0xa0], 0
jle 0x5622c9
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x5622c9
cmp dword [esi + 0x48], 0
je 0x562274
mov eax, dword [0x5f4328]
cmp byte [eax + 0xd7], 0
je 0x562274
mov eax, dword [esi + 0xdc]
call fcn.00409120
mov edi, eax
cmp edi, 0
jl 0x562274
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x56225d
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5622a3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0048ee18
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x562283
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x554138]
call fcn.00409334
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x562ee8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x562f45
cmp byte [ebx + 0xd7], 0
jne 0x562f45
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004071cc
mov eax, dword [esi]
test eax, eax
je 0x562f32
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x562f52
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407424
jmp 0x562f52
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407424
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x564660
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x5646ce
mov eax, esi
call fcn.004ef1ec
test al, al
je 0x5646ce
mov eax, dword [ebx + 0x88]
call fcn.004eee38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5646ce
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5646c2
push 0
mov eax, dword [ebx + 0x88]
call fcn.004eee38
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.004e5eb4
jmp 0x5646ce
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00564498
pop esi
pop ebx
ret
Function at 0x56de94
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffcc
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [0x5ee724]
cmp eax, dword [edx]
je 0x56dec3
push ebx
push esi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete al
neg al
sbb ebp, ebp
jmp 0x56dfb2
xor ebp, ebp
mov dword [esp], esi
mov eax, dword [0x5ee148]
mov eax, dword [eax]
mov dword [esp + 4], eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
test ebx, ebx
jbe 0x56dfb2
mov eax, ebx
xor edx, edx
cmp edx, 0
jne 0x56def2
cmp eax, 0x64
jbe 0x56df06
jmp 0x56def4
jle 0x56df06
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
jmp 0x56df12
mov eax, ebx
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
push 0x40
mov eax, dword [esp + 0xc]
push eax
push 0
lea eax, [esp + 0xc]
push eax
push 2
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 0xffffffff
je 0x56dfb2
dec eax
je 0x56df3b
dec eax
je 0x56df40
dec eax
je 0x56df49
jmp 0x56df5b
or ebp, 0xffffffff
jmp 0x56dfb2
xor eax, eax
call fcn.0049d3c4
jmp 0x56df5b
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call sub.user32.dll_PeekMessageW
cmp ebx, 0xffffffff
je 0x56dfaa
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, esi
sub eax, edi
xor edx, edx
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x56df82
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x56df96
jmp 0x56df86
pop edx
pop eax
jle 0x56df96
mov eax, esi
sub eax, edi
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x56dfa2
mov eax, ebx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
sub ebx, eax
mov edi, esi
test ebx, ebx
ja 0x56dee2
mov eax, ebp
add esp, 0x34
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x56e040
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0049dfa4
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
pop ebx
ret

Function at 0x574be0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x574be9
mov eax, dword [ebp - 4]
push ebx
xor edx, edx
mov dword [ebp - 0x10004], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x574c62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xfffe]
push eax
push 0x7fff
call sub.kernel32.dll_GetCurrentDirectoryW
mov ecx, eax
lea edx, [ebp - 0xfffe]
mov eax, ebx
call fcn.004071cc
lea edx, [ebp - 0x10004]
mov eax, dword [ebx]
call fcn.00574ef4
mov edx, dword [ebp - 0x10004]
mov eax, ebx
call fcn.00407424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574c69
lea eax, [ebp - 0x10004]
call fcn.00407044
ret
Function at 0x574d74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x574dee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathW
test eax, eax
jbe 0x574dd0
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00407f5c
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.00574ef4
jmp 0x574dd5
call fcn.00425aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574df5
lea eax, [ebp - 0x210]
call fcn.00407044
ret

Function at 0x574dfc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x574e84
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push 0
mov eax, ebx
call fcn.00407ea0
push eax
lea eax, [ebp - 0x210]
call fcn.00574d74
mov eax, dword [ebp - 0x210]
call fcn.00407ea0
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
jbe 0x574e66
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00407f5c
jmp 0x574e6b
call fcn.00425aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574e8b
lea eax, [ebp - 0x210]
call fcn.00407044
ret

Function at 0x5750d0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57517e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x575168
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x575161
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x57511a
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x57513a
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, 0x57519c
call fcn.0040810c
mov eax, dword [ebp - 0xc]
call fcn.00407ea0
jmp 0x575141
mov eax, ebx
call fcn.00407ea0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575168
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575185
lea eax, [ebp - 0xc]
call fcn.00407044
ret

Function at 0x5751c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x575234
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
test eax, eax
je 0x5751e4
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x575206
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, 0x575250
call fcn.0040810c
mov eax, dword [ebp - 4]
call fcn.00407ea0
mov ebx, eax
jmp 0x57520f
mov eax, ebx
call fcn.00407ea0
mov ebx, eax
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57523b
lea eax, [ebp - 4]
call fcn.00407044
ret
Function at 0x575530
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5755ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
test eax, eax
je 0x57555b
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x57557d
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 0x57560c
call fcn.0040810c
mov eax, dword [ebp - 8]
call fcn.00407ea0
mov ebx, eax
jmp 0x575586
mov eax, ebx
call fcn.00407ea0
mov ebx, eax
mov eax, esi
test eax, eax
je 0x575591
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x5755b3
lea eax, [ebp - 0xc]
mov ecx, esi
mov edx, 0x57560c
call fcn.0040810c
mov eax, dword [ebp - 0xc]
call fcn.00407ea0
mov esi, eax
jmp 0x5755bc
mov eax, esi
call fcn.00407ea0
mov esi, eax
cmp byte [ebp - 1], 1
cmc
sbb eax, eax
push eax
push esi
push ebx
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5755f5
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004070a4
ret

Function at 0x5758dc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57598d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
test eax, eax
je 0x575902
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x575924
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, 0x5759a8
call fcn.0040810c
mov eax, dword [ebp - 4]
call fcn.00407ea0
mov ebx, eax
jmp 0x57592d
mov eax, ebx
call fcn.00407ea0
mov ebx, eax
mov eax, esi
test eax, eax
je 0x575938
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x57595a
lea eax, [ebp - 8]
mov ecx, esi
mov edx, 0x5759a8
call fcn.0040810c
mov eax, dword [ebp - 8]
call fcn.00407ea0
mov esi, eax
jmp 0x575963
mov eax, esi
call fcn.00407ea0
mov esi, eax
push esi
push ebx
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575994
lea eax, [ebp - 8]
mov edx, 2
call fcn.004070a4
ret

Function at 0x578688
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], 0x80
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x5786b9
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x80
call fcn.00407f5c
jmp 0x5786c8
mov eax, ebx
mov edx, dword [0x5ee5ac]
mov edx, dword [edx]
call fcn.00407424
pop esp
in eax, dx
invalid
invalid
add esp, 0x104
pop ebx
ret