joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4816cc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4816e3
add esp, 0xfffffff0
call fcn.00403e90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004246e8
mov eax, dword [0x5d0800]
cmp word [eax + 2], 0
jne 0x48170b
mov eax, dword [0x5d0800]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00482e4c
mov eax, dword [0x5d0a7c]
cmp word [eax + 2], 0
jne 0x481725
mov eax, dword [0x5d0a7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00483044
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4185d0]
call fcn.00403afc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4185d0]
call fcn.00403afc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42742c]
call fcn.0042faf8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4818ac
mov eax, dword [0x5d0590]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fec8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4835f4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5d0590]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e668
test eax, eax
je 0x48181a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a504
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e690
test eax, eax
je 0x48182e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404bcc
mov eax, dword [0x5d01a8]
cmp byte [eax], 0
jne 0x481862
mov eax, ebx
call fcn.004819d4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004837d0
mov eax, ebx
call fcn.00484194
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4818a2
call fcn.00403ee8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481c54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5d1bf4]
cmp dword [eax + 0x30], 0
je 0x481cfe
cmp dword [ebx + 0x94], 0
jne 0x481cf8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x481be4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x481cf8
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 0x481cbe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x481cf8
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.0041b2e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x481ccd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x482860
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 0x482895
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.00404a4c
jmp 0x4828a2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049b0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4839ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4839ed
mov eax, esi
call fcn.004697b0
test al, al
je 0x4839ed
mov eax, dword [ebx + 0x84]
call fcn.004694ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4839ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.004694ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4871d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x487206
mov eax, ebx
call fcn.00487c8c
cmp dword [ebx + 0x40], 0
je 0x4871ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x487277
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x487269
cmp dword [ebx + 8], 0
je 0x487228
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48723a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x487269
cmp dword [ebx + 8], 0
je 0x48721b
cmp eax, 3
je 0x48724d
dec eax
jne 0x48721b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48721b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48721b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x487295
cmp dword [ebx + 0x14], 0xcc
je 0x487295
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004872a0
pop ebx
ret
Function at 0x4a48d8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4a48ed
add esp, 0xfffffff0
call fcn.00403e90
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404e28
xor eax, eax
push ebp
push 0x4a49c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0049f6e4
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419a20
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419a20
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419a20
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419a20
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x30], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00419a48
push esi
lea edi, [esi + 0x44]
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 + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x56], 0
mov byte [esi + 0x57], 0
mov byte [esi + 0x58], 0
mov byte [esi + 0x59], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a49cf
lea eax, [ebp - 4]
call fcn.0040495c
ret
Function at 0x4b7064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b72c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4b70c7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004b6b7c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e070
cmp al, 1
jne 0x4b70c7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004b6e44
test al, al
je 0x4b7253
cmp dword [ebp - 8], 0
jge 0x4b70e5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004b6b7c
mov eax, dword [ebp - 0x210]
call fcn.00404c38
cmp ebx, eax
jge 0x4b712f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004b6b7c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5d0e20]
and eax, 0xff
bt dword [edx], eax
jae 0x4b712f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4b7143
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b7040
cmp ebx, dword [ebp - 8]
je 0x4b7245
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4b716f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d28
and eax, 0x7f
movzx eax, word [eax*2 + 0x5cb9b8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4b7232
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d28
and eax, 0x7f
movzx eax, word [eax*2 + 0x5cb9b8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004694ac
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d28
and eax, 0x7f
movzx eax, word [eax*2 + 0x5cb9b8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004694ac
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7239
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4b72a6
cmp dword [ebp - 8], 0
jge 0x4b725e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004b6b7c
mov eax, dword [ebp - 0x218]
call fcn.00404c38
cmp eax, dword [ebp - 8]
jg 0x4b7298
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004b6b7c
mov eax, dword [ebp - 0x21c]
call fcn.00404c38
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b7040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b72cb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404980
ret
Function at 0x4da8e8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
call fcn.00404e28
xor eax, eax
push ebp
push 0x4daa27
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00419a48
push 0x400
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404c38
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404e38
push eax
mov eax, ebx
call fcn.004296f0
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x24]
call fcn.00526700
add eax, 2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
call fcn.0052671c
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
sar edi, 1
jns 0x4da973
adc edi, 0
mov edx, dword [ebp - 0x10]
add edx, eax
add edx, 2
sar edx, 1
jns 0x4da982
adc edx, 0
sub edi, edx
mov edx, dword [ebp - 4]
sar edx, 1
jns 0x4da98e
adc edx, 0
mov ecx, dword [ebp - 0xc]
sar ecx, 1
jns 0x4da998
adc ecx, 0
sub edx, ecx
add edx, dword [ebp + 8]
mov dword [ebp - 8], edx
lea eax, [eax + edi + 2]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
sar eax, 1
jns 0x4da9b1
adc eax, 0
mov edx, dword [ebp - 0x14]
sar edx, 1
jns 0x4da9bb
adc edx, 0
sub eax, edx
add eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404c38
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404e38
push eax
mov eax, ebx
call fcn.004296f0
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov al, byte [ebp + 0xc]
push eax
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.004704dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4daa2e
lea eax, [ebp + 0x18]
call fcn.0040495c
ret
Function at 0x4f085c
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.00404e28
xor eax, eax
push ebp
push 0x4f0979
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x4f0963
cmp dword [eax + 0x408], 0
je 0x4f0963
cmp byte [ebx + 0x30c], 0
je 0x4f08e4
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x304]
cmp eax, 0x1f4
jb 0x4f08bd
lea eax, [ebx + 0x308]
call fcn.0040495c
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x304], eax
lea eax, [ebx + 0x308]
mov edx, dword [ebp - 4]
call fcn.00404c40
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x308]
call fcn.004049f4
mov eax, dword [ebp - 4]
call fcn.00404c38
test eax, eax
jle 0x4f0953
mov eax, dword [ebp - 4]
call fcn.00404c38
dec eax
jne 0x4f092a
mov eax, dword [ebp - 4]
call fcn.00404e38
push eax
mov eax, ebx
call fcn.004f1490
push eax
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.004694ac
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f0956
mov eax, dword [ebp - 4]
call fcn.00404e38
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.004694ac
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f0956
or eax, 0xffffffff
test eax, eax
jl 0x4f0963
mov edx, eax
mov eax, ebx
call fcn.004f149c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0980
lea eax, [ebp - 4]
call fcn.0040495c
ret
Function at 0x4f0984
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 ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f0ad4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x4f0aac
cmp dword [eax + 0x408], 0
je 0x4f0aac
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x304]
cmp eax, 0xc8
jbe 0x4f0aac
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x304], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00462be4
mov eax, dword [ebp - 0xc]
call fcn.00404c38
dec eax
jne 0x4f0a2c
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00462be4
mov eax, dword [ebp - 0x10]
call fcn.00404e38
push eax
mov eax, ebx
call fcn.004f1490
push eax
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.004694ac
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x4f0a5f
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00462be4
mov eax, dword [ebp - 0x14]
call fcn.00404e38
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x408]
call fcn.004694ac
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x4f0aac
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00462be4
mov edx, esi
mov eax, ebx
call fcn.004f149c
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00462be4
mov eax, dword [ebp - 4]
call fcn.00404c38
mov edx, eax
mov eax, ebx
call fcn.004f0b3c
mov eax, dword [ebp - 8]
call fcn.00404c38
push eax
mov eax, dword [ebp - 4]
call fcn.00404c38
pop edx
sub edx, eax
mov eax, ebx
call fcn.004f0b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0adb
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404980
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404980
ret
Function at 0x4f48e4
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.00526418
test al, al
je 0x4f49eb
mov eax, dword [esi + 4]
mov edx, dword [0x4e344c]
call fcn.00403cb8
test al, al
je 0x4f49eb
mov ebx, dword [esi + 4]
cmp byte [ebx + 0x30d], 0
je 0x4f4954
cmp byte [esi + 0x530], 0
jne 0x4f4954
push 0xffffffffffffffec
mov eax, esi
call fcn.004694ac
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.004694ac
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4f498a
cmp byte [ebx + 0x30d], 0
jne 0x4f498a
cmp byte [esi + 0x530], 0
je 0x4f498a
push 0xffffffffffffffec
mov eax, esi
call fcn.004694ac
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.004694ac
push eax
call sub.user32.dll_SetWindowLongA
mov al, byte [ebx + 0x30d]
mov byte [esi + 0x530], al
mov al, byte [esi + 0x531]
cmp al, byte [ebx + 0x30f]
je 0x4f49eb
cmp byte [ebx + 0x30d], 0
je 0x4f49eb
cmp byte [ebx + 0x30e], 0
je 0x4f49cd
mov eax, esi
call fcn.004694ac
xor edx, edx
call fcn.00526454
mov byte [esi + 0x531], 0
jmp 0x4f49eb
mov eax, esi
call fcn.004694ac
mov dl, byte [ebx + 0x30f]
call fcn.00526454
mov al, byte [ebx + 0x30f]
mov byte [esi + 0x531], 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.004694ac
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, esi
call fcn.00462b04
call fcn.00526418
test al, al
je 0x4f4a8c
test ebx, ebx
je 0x4f4a8c
cmp byte [ebx + 0x30e], 0
je 0x4f4a8c
cmp byte [ebx + 0x30d], 0
je 0x4f4a8c
mov eax, dword [0x5d09f4]
mov eax, dword [eax]
call fcn.00482ba0
xor edi, edi
xor ebp, ebp
call sub.kernel32.dll_GetTickCount_1
sub eax, ebp
cmp eax, 5
jbe 0x4f4a74
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
add edi, 0xa
xor eax, eax
mov al, byte [ebx + 0x30f]
cmp edi, eax
jle 0x4f4a66
mov edi, eax
mov eax, esi
call fcn.004694ac
mov edx, edi
call fcn.00526454
mov eax, dword [0x5d09f4]
mov eax, dword [eax]
call fcn.00482ba0
xor eax, eax
mov al, byte [ebx + 0x30f]
cmp edi, eax
jl 0x4f4a42
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5218c8
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.005225ac
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.00521848
pop ecx
call fcn.00526418
test al, al
je 0x521970
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x521970
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.004694ac
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.004694ac
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x521959
mov eax, dword [edi]
call fcn.004694ac
xor edx, edx
call fcn.00526454
jmp 0x521970
mov eax, dword [edi]
call fcn.004694ac
mov edx, dword [edi]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.00526454
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.004694ac
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.00462b04
mov eax, dword [edi]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x521a09
cmp byte [ebx + 0x60], 0
je 0x521a09
call fcn.00526418
test al, al
je 0x521a09
mov eax, dword [0x5d09f4]
mov eax, dword [eax]
call fcn.00482ba0
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 5
jbe 0x5219f9
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x5219eb
mov ebx, eax
mov eax, dword [edi]
call fcn.004694ac
mov edx, ebx
call fcn.00526454
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x5219c3
mov eax, dword [edi]
call fcn.00522aec
mov eax, dword [edi]
call fcn.004694ac
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52dd70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417b60]
call fcn.00405518
xor eax, eax
push ebp
push 0x52deb4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5cb9dc], 0
jne 0x52ddc3
mov ecx, dword [0x5d01f4]
mov dl, 1
mov eax, dword [0x40849c]
call fcn.0040d728
call fcn.004042f8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403390
mov eax, ebx
call fcn.0040522c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x52dec4
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406624
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040523c
test eax, eax
jle 0x52de5b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x52de54
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c00
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404bcc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409384
test eax, eax
jne 0x52de54
mov ebx, 0x15
jmp 0x52de60
mov ebx, 0x10
jmp 0x52de60
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5cb9dc]
call fcn.0052dc6c
mov eax, dword [ebp - 8]
call fcn.0052dc6c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040663c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52debb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404980
lea eax, [ebp - 0x10]
mov edx, dword [0x417b60]
call fcn.004055e8
ret

Function at 0x52f130
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, ecx
push esp
xor eax, eax
mov al, dl
mov eax, dword [eax*4 + 0x5cba0c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDList
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x106
call fcn.00404bcc
add esp, 0x10c
pop ebx
ret

Function at 0x52f6f4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
mov word [esp], 0
push 0x105
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404be4
add esp, 0x20c
pop ebx
ret

Function at 0x52f728
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040495c
mov word [esp + 4], 0
push esp
push esi
mov eax, dword [0x5d1668]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation_1
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x52f772
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404be4
add esp, 0x210
pop esi
pop ebx
ret