joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58f644
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405a90
xor eax, eax
push ebp
push 0x58f762
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x58f735
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00405aa0
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x58f712
test byte [ebp - 0x14c], 0x10
jne 0x58f6f5
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00405880
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0040a120
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x58f6b8
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x58f71e
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58f73c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x59554c
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
movzx eax, byte [ebx + 4]
sub al, 1
jb 0x59555b
je 0x595560
jmp 0x595584
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x59557f
lea eax, [ebx + 8]
push eax
movzx eax, byte [ebx + 0xc]
push eax
mov eax, dword [0x639cd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x5ac6fc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x5ac718
cmp dword [esi + 4], 0
je 0x5ac745
test byte [ebx + 0x55], 1
jne 0x5ac737
mov eax, ebx
call fcn.0045a6d0
test eax, eax
jne 0x5ac737
mov edx, esi
mov eax, ebx
call fcn.00460920
jmp 0x5ac839
mov edx, esi
mov eax, ebx
call fcn.0045be94
jmp 0x5ac839
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
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 edx, edx
push ebp
push 0x5ac832
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045e79c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.004579a4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.005ac6fc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045e79c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac839
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 0x5af7a4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405a90
xor eax, eax
push ebp
push 0x5af7f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405aa0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x5af7d9
test al, 1
jne 0x5af7dd
xor ebx, ebx
jmp 0x5af7df
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5af7fc
lea eax, [ebp - 4]
call fcn.00405610
ret
Function at 0x5b2bf8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x5b2c29
movzx eax, byte [ebx]
cmp al, byte [str.1.1.2]
jne 0x5b2c29
cmp dword [ebp + 8], 0x38
je 0x5b2c33
mov eax, 0xfffffffa
jmp 0x5b2df9
lea eax, [esi + 0x18]
call fcn.00405610
cmp dword [esi + 0x20], 0
jne 0x5b2c4d
mov dword [esi + 0x20], 0x5b2b08
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x5b2c5a
mov dword [esi + 0x24], 0x5b2b00
cmp dword [ebp - 4], 0xffffffff
jne 0x5b2c67
mov dword [ebp - 4], 6
test edi, edi
jge 0x5b2c74
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x5b2ca8
cmp dword [ebp + 0x14], 9
jg 0x5b2ca8
cmp dword [ebp - 8], 8
jne 0x5b2ca8
cmp edi, 8
jl 0x5b2ca8
cmp edi, 0xf
jg 0x5b2ca8
cmp dword [ebp - 4], 0
jl 0x5b2ca8
cmp dword [ebp - 4], 9
jg 0x5b2ca8
cmp dword [ebp + 0x10], 0
jl 0x5b2ca8
cmp dword [ebp + 0x10], 2
jle 0x5b2cb2
mov eax, 0xfffffffe
jmp 0x5b2df9
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.005b2b14
mov ebx, eax
test ebx, ebx
jne 0x5b2cd3
mov eax, 0xfffffffc
jmp 0x5b2df9
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.005b2b14
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.005b2b14
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.005b2b14
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.005b2b14
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x5b2d9e
cmp dword [ebx + 0x38], 0
je 0x5b2d9e
cmp dword [ebx + 0x3c], 0
je 0x5b2d9e
cmp dword [ebx + 8], 0
jne 0x5b2db9
lea eax, [esi + 0x18]
mov edx, 0x638808
call fcn.00405874
mov eax, esi
call fcn.005b31a8
mov eax, 0xfffffffc
jmp 0x5b2df9
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.005b2e2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5b34ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x5b34d5
cmp dword [ebx + 0x64], 0
jne 0x5b34d5
cmp dword [ebx + 0x6c], 0
jne 0x5b34d5
mov esi, edi
jmp 0x5b3561
cmp esi, 0xffffffff
jne 0x5b34e0
dec esi
jmp 0x5b3561
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x5b3561
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.005b2af0
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x5b3529
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x5b352e
mov word [edx], 0
dec eax
test eax, eax
jne 0x5b350f
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x5b3555
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x5b355a
mov word [edx], 0
dec eax
test eax, eax
jne 0x5b353b
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x5b35bf
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.005b3224
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x5b35aa
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x5b35bf
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5b34b5
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5bf3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x5bf3b5
add esp, 0xfffffff0
call fcn.00404a10
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405a90
xor eax, eax
push ebp
push 0x5bf490
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.005ba614
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041b7b4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041b7b4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041b7b4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041b7b4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041b7dc
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bf497
lea eax, [ebp - 4]
call fcn.00405610
ret
Function at 0x5c4ecc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c4fc8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x5c4fe0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00405664
push 0xffffffffffffffff
mov ecx, 0x5c4ff0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x5c500c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00619220
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5c5028
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0061910c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5c503c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0061910c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5c5054
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0061910c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x5c5070
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00619220
mov byte [ebx + 0x44], al
mov ecx, 0x5c5084
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.005ba160
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c4fcf
lea eax, [ebp - 4]
call fcn.00405610
ret

Function at 0x5e11d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x5e120c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x5e11e7
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x5e11f6
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x5e1205
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x5e1b68
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x451f10]
call fcn.00404838
test al, al
je 0x5e1baa
mov eax, dword [0x639cd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x5e1baa
mov edx, dword [0x639cd4]
xor edx, edx
call fcn.0046d580
push 0
mov eax, dword [0x639cd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x5ffe44
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
xor ebx, ebx
call fcn.00618c10
test al, al
je 0x5fff4f
mov eax, dword [esi + 4]
mov edx, dword [0x5fe058]
call fcn.00404838
test al, al
je 0x5fff4f
mov ebx, dword [esi + 4]
cmp byte [ebx + 0x341], 0
je 0x5ffeb4
cmp byte [esi + 0x560], 0
jne 0x5ffeb4
push 0xffffffffffffffec
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x5ffeea
cmp byte [ebx + 0x341], 0
jne 0x5ffeea
cmp byte [esi + 0x560], 0
je 0x5ffeea
push 0xffffffffffffffec
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
movzx eax, byte [ebx + 0x341]
mov byte [esi + 0x560], al
movzx eax, byte [esi + 0x561]
cmp al, byte [ebx + 0x343]
je 0x5fff4f
cmp byte [ebx + 0x341], 0
je 0x5fff4f
cmp byte [ebx + 0x342], 0
je 0x5fff2f
mov eax, esi
call fcn.0045e79c
xor edx, edx
call fcn.00618c4c
mov byte [esi + 0x561], 0
jmp 0x5fff4f
mov eax, esi
call fcn.0045e79c
movzx edx, byte [ebx + 0x343]
call fcn.00618c4c
movzx eax, byte [ebx + 0x343]
mov byte [esi + 0x561], al
push 0x51
push 0
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, esi
call fcn.004565cc
call fcn.00618c10
test al, al
je 0x60000d
test ebx, ebx
je 0x60000d
cmp byte [ebx + 0x342], 0
je 0x60000d
cmp byte [ebx + 0x341], 0
je 0x60000d
mov eax, dword [0x639cd4]
mov eax, dword [eax]
call fcn.00475bd8
xor edi, edi
xor ebp, ebp
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebp
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x5fffcf
cmp eax, 5
jbe 0x5ffff6
jmp 0x5fffd1
jle 0x5ffff6
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
add edi, 0xa
movzx eax, byte [ebx + 0x343]
cmp edi, eax
jle 0x5fffe8
mov edi, eax
mov eax, esi
call fcn.0045e79c
mov edx, edi
call fcn.00618c4c
mov eax, dword [0x639cd4]
mov eax, dword [eax]
call fcn.00475bd8
movzx eax, byte [ebx + 0x343]
cmp edi, eax
jl 0x5fffae
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6065c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x606738
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x398]
test eax, eax
je 0x606708
cmp dword [eax + 0x438], 0
je 0x606708
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x338]
cmp eax, 0xc8
jbe 0x606708
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x338], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004566ac
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x60663d
sub eax, 4
mov eax, dword [eax]
dec eax
jne 0x60667b
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004566ac
mov eax, dword [ebp - 0x14]
call fcn.00405aa0
push eax
mov eax, ebx
call fcn.00607220
push eax
push 0x18f
mov eax, dword [ebx + 0x398]
mov eax, dword [eax + 0x438]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x6066ae
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004566ac
mov eax, dword [ebp - 0x18]
call fcn.00405aa0
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x398]
mov eax, dword [eax + 0x438]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x606708
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004566ac
mov edx, esi
mov eax, ebx
call fcn.0060722c
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004566ac
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x6066dd
sub eax, 4
mov eax, dword [eax]
mov edx, eax
mov eax, ebx
call fcn.006068d8
mov eax, dword [ebp - 8]
test eax, eax
je 0x6066f2
sub eax, 4
mov eax, dword [eax]
mov edx, esi
test edx, edx
je 0x6066fd
sub edx, 4
mov edx, dword [edx]
sub eax, edx
mov edx, eax
mov eax, ebx
call fcn.006068f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60673f
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405634
lea eax, [ebp - 0xc]
call fcn.00405610
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405634
ret
Function at 0x606748
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405a90
xor eax, eax
push ebp
push 0x60686e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x398]
test eax, eax
je 0x606858
cmp dword [eax + 0x438], 0
je 0x606858
cmp byte [ebx + 0x340], 0
je 0x6067d0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x338]
cmp eax, 0x1f4
jb 0x6067a9
lea eax, [ebx + 0x33c]
call fcn.00405610
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x338], eax
lea eax, [ebx + 0x33c]
mov edx, dword [ebp - 4]
call fcn.004058dc
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x33c]
call fcn.004056a8
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x6067de
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x606848
mov eax, edx
test eax, eax
je 0x6067ed
sub eax, 4
mov eax, dword [eax]
dec eax
jne 0x60681f
mov eax, dword [ebp - 4]
call fcn.00405aa0
push eax
mov eax, ebx
call fcn.00607220
push eax
push 0x18f
mov eax, dword [ebx + 0x398]
mov eax, dword [eax + 0x438]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
jmp 0x60684b
mov eax, dword [ebp - 4]
call fcn.00405aa0
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x398]
mov eax, dword [eax + 0x438]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
jmp 0x60684b
or eax, 0xffffffff
test eax, eax
jl 0x606858
mov edx, eax
mov eax, ebx
call fcn.0060722c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606875
lea eax, [ebp - 4]
call fcn.00405610
ret
Function at 0x613c58
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
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 dword [ebp - 4], eax
lea edi, [ebp - 4]
mov eax, dword [edi]
call fcn.00614960
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00613b78
pop ecx
call fcn.00618c10
test al, al
je 0x613d01
mov eax, dword [edi]
mov eax, dword [eax + 0x268]
cmp byte [eax + 0x60], 0
je 0x613d01
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x268]
cmp byte [eax + 0x61], 0
je 0x613ce9
mov eax, dword [edi]
call fcn.0045e79c
xor edx, edx
call fcn.00618c4c
jmp 0x613d01
mov eax, dword [edi]
call fcn.0045e79c
mov edx, dword [edi]
mov edx, dword [edx + 0x268]
movzx edx, byte [edx + 0x62]
call fcn.00618c4c
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.004565cc
mov eax, dword [edi]
mov ebx, dword [eax + 0x268]
cmp byte [ebx + 0x61], 0
je 0x613d9a
cmp byte [ebx + 0x60], 0
je 0x613d9a
call fcn.00618c10
test al, al
je 0x613d9a
mov eax, dword [0x639cd4]
mov eax, dword [eax]
call fcn.00475bd8
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 5
jbe 0x613d8a
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x268]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x613d7c
mov ebx, eax
mov eax, dword [edi]
call fcn.0045e79c
mov edx, ebx
call fcn.00618c4c
mov eax, dword [edi]
mov eax, dword [eax + 0x268]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x613d54
mov eax, dword [edi]
call fcn.00614e9c
mov eax, dword [edi]
call fcn.0045e79c
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret