joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465dcf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 0x210
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push 0
push 0
push 0x14b
push ebx
push dword [ecx + 8]
call sub.user32.dll_SendDlgItemMessageW
mov dword [ebp - 0x214], 0x6f006e
mov dword [ebp - 0x210], 0x65006e
mov word [ebp - 0x20c], 0
mov ecx, dword [ebp - 4]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x143
push ebx
push dword [ecx + 8]
call sub.user32.dll_SendDlgItemMessageW
mov dword [ebp - 0x214], 0x650052
mov dword [ebp - 0x210], 0x640065
mov word [ebp - 0x20c], 0
mov ecx, dword [ebp - 4]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x143
push ebx
push dword [ecx + 8]
call sub.user32.dll_SendDlgItemMessageW
mov dword [ebp - 0x214], 0x750054
mov dword [ebp - 0x210], 0x65006b
mov dword [ebp - reloc.gdi32.dll_AbortDoc], 0x79
mov ecx, dword [ebp - 4]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x143
push ebx
push dword [ecx + 8]
call sub.user32.dll_SendDlgItemMessageW
mov ecx, dword [ebp - 4]
push 0
push dword [ebp + 0xc]
push 0x14e
push ebx
push dword [ecx + 8]
call sub.user32.dll_SendDlgItemMessageW
pop ebx
leave
ret 8

Function at 0x46cd3a
Capabilities:
Get graphical window text

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 0x420
push ebx
mov ecx, dword [ebp - 4]
push 0x108
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push dword [ecx + 8]
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 4]
mov edx, dword [eax - 8]
push dword [edx + 4]
push dword [edx + 0x14]
push dword [edx + 0x18]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0056d94e
mov eax, dword [ebp - 4]
mov edx, dword [eax - 8]
push dword [edx + 4]
push dword [edx + 0x14]
push 1
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x108
call fcn.0056d91e
mov eax, dword [ebp - 4]
mov edx, dword [eax - 8]
push dword [edx + 4]
push dword [edx + 0x14]
push 2
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x108
call fcn.0056d91e
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
push dword [ecx + 4]
call fcn.0056d812
mov ecx, dword [ebp - 4]
mov edx, dword [ecx - 8]
mov ebx, dword [edx + 0x14]
inc ebx
cmp ebx, eax
jne 0x46ce0f
cmp word [ebp - 0x214], 0
je 0x46ce0f
cmp word [ebp - 0x424], 0
je 0x46ce0f
mov word [ebp - 0x214], 0
push dword [edx + 4]
inc eax
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
push eax
call fcn.0046cca2
pop ebx
leave
ret
Function at 0x47ce6d
Capabilities:
Hide graphical window

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, dword [ebp - 4]
push 0x1d4d
push dword [ecx + 8]
call sub.user32.dll_GetDlgItem
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
push dword [ecx + 8]
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
sub eax, edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esi
push ebx
call sub.user32.dll_SetFocus
mov ecx, dword [ebp - 4]
push 0x1d4e
push dword [ecx + 8]
call sub.user32.dll_GetDlgItem
lea ebx, [ebp - 0x28]
push ebx
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x24]
sub eax, edi
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x28]
push eax
push 0x2176
push dword [ecx + 8]
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
push dword [ecx + 8]
call sub.user32.dll_ScreenToClient
xor edi, edi
mov dword [0x5d0944], edi
mov dword [0x5d0940], edi
mov eax, dword [ebp - 0x2c]
mov edi, 0x1d4d
add eax, 3
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0x3c6ed0
mov ecx, dword [ebp - 4]
push edi
push dword [ecx + 8]
call sub.user32.dll_GetDlgItem
mov edx, esi
add edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x44]
mov ebx, eax
jle 0x47cf72
push 0
push ebx
call sub.user32.dll_ShowWindow
jmp 0x47cfbf
inc dword [0x5d0940]
sub edx, dword [ebp - 0x40]
mov dword [0x5d0948], edx
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push esi
push dword [ebp - 0x34]
push ebx
call sub.user32.dll_MoveWindow
push 5
push ebx
call sub.user32.dll_ShowWindow
mov ecx, dword [ebp - 4]
push dword [ecx + 8]
mov ecx, dword [0x5cc7d0]
mov eax, dword [ebp - 0x48]
push 1
push edi
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0043e56e
add esi, dword [ebp - 8]
add dword [ebp - 0x48], 0x210
inc edi
cmp edi, 0x1d64
jle 0x47cf50
mov ecx, dword [ebp - 4]
push 0x1d4d
push dword [ecx + 8]
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4896fe
Capabilities:
Get graphical window text

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 0x42c
push ebx
mov byte [0x5e2e84], 0
mov byte [0x5e2e84], 1
mov ebx, dword [ebp - 4]
push dword [ebx + 8]
call sub.user32.dll_GetParent
mov dword [ebx - 8], eax
push 0x108
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push dword [ebx + 8]
call sub.user32.dll_GetWindowTextW
call fcn.0048a21f
push eax
lea eax, [ebp - 8]
push eax
sub eax, 4
push eax
call fcn.0048a27b
mov eax, dword [0x5d25b4]
mov ebx, dword [ebp - 8]
add ebx, dword [ebp - 0xc]
push ebx
add eax, dword [0x5d25b8]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, [ebp - 0xe]
push eax
call fcn.004f8d04
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
call fcn.004159f1
test al, al
jne 0x4897f1
call fcn.0048a21f
push eax
call fcn.0048a2af
push eax
push dword [0x5d25b4]
push dword [0x5d25b8]
push dword [0x5d25bc]
push dword [0x5d25c0]
push dword [0x5d25c4]
push dword [0x5d25c8]
call fcn.0040e0c3
mov eax, dword [0x5d25b4]
push ebx
add eax, dword [0x5d25b8]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.004f91dc
call fcn.004f87b5
mov byte [0x5e2e8a], 0
call fcn.00452911
push 0
push 0
call fcn.00410616
push 2
call fcn.0048c71a
mov ecx, dword [ebp - 4]
push dword [ecx - 8]
call sub.user32.dll_SetFocus
push 0
call fcn.00446768
pop ebx
leave
ret
Function at 0x48d3cc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp byte [0x5cd534], 0
je 0x48d566
push 0
push 0
push 0xb0
push ebx
call sub.user32.dll_SendMessageW
mov edx, eax
shr eax, 0x10
and edx, 0xffff
cmp ax, dx
jne 0x48d566
push 0x108
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push ebx
call sub.user32.dll_GetWindowTextW
cmp word [ebp - 0x224], 0
je 0x48d566
push ebx
call sub.user32.dll_GetParent
push eax
lea eax, [ebp - 8]
push eax
sub eax, 4
push eax
call fcn.0048a27b
mov eax, dword [ebp - 8]
push 0
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x210
sub eax, 0x211
push eax
lea eax, [ebp - 2]
push eax
call fcn.004718ee
mov al, byte [ebp - 0x435]
cmp al, 0xff
je 0x48d48a
cmp al, 0xfe
je 0x48d48a
cmp al, 0xfa
jne 0x48d566
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00415e67
mov dword [ebp - 0x10], 0
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0056e571
mov dword [ebp - 0x14], eax
imul edi, dword [ebp - 0x10], reloc.gdi32.dll_AbortDoc
cmp word [edi + 0x5d2684], 0
je 0x48d566
lea edx, reloc.gdi32.dll_AbortDoc
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
push edx
call fcn.00415c57
xor esi, esi
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00415e67
lea edx, [esi + esi]
mov cx, word [ebp + edx - 0x224]
test cx, cx
jne 0x48d50f
mov al, 1
jmp 0x48d526
cmp word [ebp + edx - 0x646], cx
jne 0x48d524
inc esi
cmp esi, 0x107
ja 0x48d524
jbe 0x48d4fb
mov al, 0
test al, al
je 0x48d559
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push ebx
call sub.user32.dll_SetWindowTextW
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0056e571
push eax
push dword [ebp - 0x14]
push 0xb1
push ebx
call sub.user32.dll_SendMessageW
jmp 0x48d566
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x7f
jle 0x48d4b6
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x48f5de
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 8
push ebx
push esi
push dword [0x5cbb00]
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x48f7dc
push 9
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.0040e0c3
mov ecx, dword [ebp - 4]
lea eax, [ecx - 5]
push eax
call fcn.004456e9
mov ebx, dword [ebp - 4]
mov eax, dword [ebx - 0xc]
add eax, dword [ebx - 0x10]
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
call fcn.0040df99
test al, al
jne 0x48f650
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.0040e0c3
push dword [0x5d254c]
call sub.user32.dll_GetClipboardData
mov dword [ebx - 0x14], eax
test eax, eax
mov esi, ebx
je 0x48f7dc
push eax
call sub.kernel32.dll_GlobalWire
mov dword [esi - 0x18], eax
lea eax, [esi - 0x1c]
push eax
sub eax, 4
push eax
sub eax, 4
push eax
sub eax, 4
push eax
sub eax, 4
push eax
call fcn.00445867
test al, al
je 0x48f6e1
mov eax, dword [esi - 0x1c]
mov edx, esi
cmp eax, 1
je 0x48f6a8
cmp eax, 2
je 0x48f6bf
cmp eax, 3
je 0x48f704
test eax, eax
je 0x48f704
jmp 0x48f6d6
mov eax, dword [0x5e8c68]
mov dword [edx - 0x2c], eax
mov ecx, esi
mov edx, dword [esi - 0x2c]
cmp dword [esi - 0x24], edx
jle 0x48f704
mov dword [ecx - 0x24], edx
jmp 0x48f704
mov eax, dword [0x5e8c6c]
mov dword [edx - 0x28], eax
mov ecx, esi
mov edx, dword [esi - 0x28]
cmp dword [esi - 0x20], edx
jle 0x48f704
mov dword [ecx - 0x20], edx
jmp 0x48f704
mov eax, dword [edx - 0xc]
add eax, dword [edx - 0x10]
mov dword [edx - 0x20], eax
jmp 0x48f6ea
mov eax, dword [esi - 0xc]
add eax, dword [esi - 0x10]
mov dword [esi - 0x20], eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
mov dword [esi - 0x24], eax
mov eax, dword [esi - 0x20]
mov dword [esi - 0x28], eax
mov eax, dword [esi - 0x24]
mov dword [esi - 0x2c], eax
mov eax, dword [esi - 0x28]
mov dword [ebp - 8], eax
mov esi, dword [esi - 0x20]
jmp 0x48f7c3
mov edx, dword [ebp - 4]
mov eax, dword [edx - 0x2c]
mov dword [ebp - 0xc], eax
mov ebx, dword [edx - 0x24]
jmp 0x48f7b7
rol dword [0x5cb780], 1
test byte [0x5cb780], 1
je 0x48f746
rol dword [0x5cb784], 1
test byte [0x5cb784], 1
je 0x48f746
call fcn.0040f884
mov ecx, dword [ebp - 4]
cmp byte [ecx - 5], 0
je 0x48f773
push esi
push ebx
call fcn.0040df99
test al, al
jne 0x48f773
mov ecx, dword [ebp - 4]
mov byte [ecx - 5], al
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.0040e0c3
test ebx, ebx
mov eax, dword [ebp - 4]
jne 0x48f792
mov ecx, dword [eax - 0x18]
push esi
push ebx
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.004f91dc
jmp 0x48f7a3
mov edx, dword [eax - 0x18]
push esi
push ebx
lea eax, [edx + 4]
push eax
push dword [edx + 2]
call fcn.004f8db9
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 0x18]
mov ax, word [ecx]
push esi
push ebx
push eax
call fcn.004f8c94
inc ebx
jo 0x48f7c0
cmp ebx, dword [ebp - 0xc]
jle 0x48f723
inc esi
jo 0x48f7cc
cmp esi, dword [ebp - 8]
jle 0x48f712
mov ecx, dword [ebp - 4]
push dword [ecx - 0x14]
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop esi
pop ebx
leave
ret
Function at 0x48fda4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push dword [0x5cbb00]
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x48fe30
push 0xd
call sub.user32.dll_GetClipboardData
mov esi, dword [ebp - 4]
mov dword [esi - 0x14], eax
test eax, eax
je 0x48fe2b
push eax
call sub.kernel32.dll_GlobalWire
mov dword [esi - reloc.gdi32.dll_AbortDoc], eax
push dword [esi - 0x14]
call sub.kernel32.dll_GlobalSize
mov dword [esi - reloc.gdi32.dll_AbortDoc], eax
mov dword [esi - reloc.gdi32.dll_AbortDoc], 0
mov edx, esi
cmp dword [esi - reloc.gdi32.dll_AbortDoc], 0
jl 0x48fe03
jg 0x48fe07
cmp dword [edx - reloc.gdi32.dll_AbortDoc], 0x7530
jae 0x48fe07
mov al, 1
jmp 0x48fe09
mov al, 0
mov byte [edx - 5], al
push dword [esi - 0x240]
push dword [esi - 0x244]
push dword [esi - 0x248]
call fcn.0048f7e0
push dword [esi - 0x14]
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop esi
pop ebx
ret

Function at 0x48fe33
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebp
sub esp, 0x244
push ebx
push 2
call fcn.00446768
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
sub eax, 4
push eax
call fcn.0048a27b
mov byte [ebp - 5], 1
cmp byte [ebp + 8], 0
je 0x48fe6e
push 0xd
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
jne 0x48ff67
push dword [0x5d254c]
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x48fe87
call fcn.0048f5de
jmp 0x48ff6c
push dword [0x5d2550]
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x48feb5
mov eax, dword [ebp - 0xc]
push 3
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
call fcn.00446227
jmp 0x48ff6c
push dword [0x5cbbd4]
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x48ff5c
push dword [0x5cbb00]
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x48ff4b
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x14], eax
mov ebx, eax
test eax, eax
je 0x48ff4b
push ebx
call sub.kernel32.dll_GlobalWire
mov dword [ebp - reloc.gdi32.dll_AbortDoc], eax
push dword [ebp - 0x14]
call sub.kernel32.dll_GlobalSize
mov dword [ebp - reloc.gdi32.dll_AbortDoc], eax
mov dword [ebp - reloc.gdi32.dll_AbortDoc], 0
mov bl, 0
push dword [ebp - 0x240]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0048fb13
test al, al
je 0x48ff3c
push dword [ebp - 0x240]
push dword [ebp - 0x244]
push dword [ebp - 0x248]
call fcn.0048f7e0
inc bl
push dword [ebp - 0x14]
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
mov al, bl
test al, al
jne 0x48ff6c
push 0xd
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x48ff6c
jmp 0x48ff67
push 0xd
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x48ff78
call fcn.0048fda4
call fcn.004f87b5
push 1
call fcn.0048c71a
push 0
call fcn.00446768
pop ebx
leave
ret 8
Function at 0x49423e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebp + 0xc]
mov edx, 2
push 0x596790
push ebx
lea eax, [eax + eax + 2]
call fcn.0056d024
xor esi, esi
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetTickCount
mov dword [0x5e2ec0], eax
mov byte [0x5e6274], 0
call sub.kernel32.dll_GetTickCount
mov edx, eax
cmp byte [0x5e6274], 0
je 0x49428f
mov ecx, 0x1f4
jmp 0x494294
mov ecx, 0x64
sub eax, dword [0x5e2ec0]
cmp eax, ecx
jbe 0x4942c8
mov dword [0x5e2ec0], edx
cmp byte [0x5e6274], 0
sete al
mov byte [0x5e6274], al
test al, al
je 0x4942bb
push 0x5f
jmp 0x4942bd
push 0x20
call fcn.0049413e
dec dword [0x5e2eb0]
call fcn.004941fa
mov di, ax
cmp ax, 0x1b
jne 0x4942dc
mov byte [ebp - 1], 1
jmp 0x494342
cmp ax, 8
je 0x4942e8
cmp ax, 9
jne 0x49431b
cmp esi, 0
jbe 0x494311
dec esi
push 8
call fcn.0049413e
push 2
push 0x596792
call fcn.004940b0
push 8
call fcn.0049413e
push 8
call fcn.0049413e
jmp 0x494313
xor esi, esi
mov word [ebx + esi*2], 0
jmp 0x494342
cmp esi, dword [ebp + 0xc]
ja 0x494342
cmp ax, 0x1f
jbe 0x494342
cmp ax, 9
je 0x494342
mov word [ebx + esi*2], ax
inc esi
cmp esi, dword [ebp + 0xc]
ja 0x49433c
mov word [ebx + esi*2], 0
push edi
call fcn.0049413e
cmp dword [0x5e2ea0], 0
jne 0x49434f
mov byte [ebp - 1], 1
cmp di, 0xd
je 0x49435f
cmp byte [ebp - 1], 0
je 0x494278
cmp esi, dword [ebp + 0xc]
ja 0x49436a
mov word [ebx + esi*2], 0
push 0x20
call fcn.0049413e
cmp byte [ebp - 1], 0
sete al
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x495b68
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebp, esp
add ebp, 8
sub esp, 0x854
push ebx
push dword [ebp + 8]
call fcn.0049529e
call fcn.00493f43
test al, al
jne 0x495ba0
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x10], al
jne 0x495ba0
mov ecx, dword [ebp - 4]
mov byte [ecx - 6], 1
jmp 0x495f3b
movzx edx, byte [ebp + 0xc]
jmp dword [edx*4 + 0x495bab]
pop ebx
leave
ret 8
Function at 0x49a85b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push edi
push dword [ebp + 0x14]
push esi
call fcn.00498eaf
test al, al
jne 0x49a889
push dword [ebp + 0xc]
push ebx
push dword [ebp + 0x14]
push esi
call fcn.00415c57
jmp 0x49a907
push 0
push dword [0x5e9db0]
push 0
push dword [0x5cbb04]
push 0x64
push 0x64
push 1
push 1
push 4
push 0x5a908c
push 0x57acda
push 0
call sub.user32.dll_CreateWindowExW
mov edi, eax
test eax, eax
je 0x49a910
mov dword [ebp - 8], 2
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
push esi
push pe_nt_image_headers32
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x20
call fcn.004170b4
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, [ebp - 8]
push eax
push 0x461
push edi
call sub.user32.dll_SendMessageA
mov eax, dword [ebp + 0xc]
inc eax
push eax
push ebx
push edi
call sub.user32.dll_GetWindowTextW
push edi
call sub.user32.dll_DestroyWindow
push dword [ebp + 0xc]
push ebx
call fcn.0056e571
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x49d526
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test edi, edi
je 0x49d587
push edi
call sub.user32.dll_GetWindowTextLengthW
mov dword [esi], eax
cmp eax, 0
jbe 0x49d581
inc dword [esi]
mov eax, dword [esi]
lea eax, [eax + eax + 6]
push eax
push ebx
call sub.mclib32.dll__ALLOCATE_8
cmp dword [ebx], 0
je 0x49d587
add dword [ebx], 4
mov ecx, dword [ebx]
mov eax, dword [esi]
mov dword [ecx - 4], eax
cmp dword [ebx], 0
je 0x49d587
mov eax, dword [esi]
inc eax
push eax
push dword [ebx]
push edi
call sub.user32.dll_GetWindowTextW
mov ecx, dword [ebx]
mov eax, dword [esi]
mov word [ecx + eax*2], 0
jmp 0x49d587
mov dword [ebx], 0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4a21d2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [esi + 1]
push eax
push ebx
push edi
call sub.user32.dll_GetWindowTextW
push esi
push ebx
call fcn.0056e571
test eax, eax
je 0x4a2288
push edi
push esi
push ebx
call fcn.004a215d
mov dword [ebp - 0xc], 0xa000d
mov dword [ebp - 8], 0x7d
push esi
push ebx
push 5
lea eax, [ebp - 0xc]
push eax
call fcn.00415c87
cmp eax, reloc.gdi32.dll_AbortDoc
push esi
push ebx
je 0x4a2232
push eax
push 3
call fcn.00415c6f
jmp 0x4a2214
call fcn.0056e571
mov edx, eax
lea esi, [eax + eax]
jmp 0x4a2248
sub esi, 2
dec edx
mov word [ebx + esi], 0
cmp edx, 0
jbe 0x4a225e
mov ax, word [ebx + esi - 2]
cmp ax, 0xd
je 0x4a223e
cmp ax, 0xa
je 0x4a223e
xor edi, edi
mov dword [ebp - 0x10], edi
mov esi, edi
jmp 0x4a227b
movzx ecx, word [ebx + edi]
cmp ecx, 0xa
je 0x4a2275
mov word [ebx + esi*2], cx
inc esi
add edi, 2
inc dword [ebp - 0x10]
cmp word [ebx + edi], 0
jne 0x4a2267
mov word [ebx + esi*2], 0
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4a228f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], 2
push dword [ebp + 0xc]
push ebx
call fcn.00498eaf
test al, al
je 0x4a231f
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
push ebx
push pe_nt_image_headers32
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x20
call fcn.004170b4
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, [ebp - 8]
push eax
push 0x461
push esi
call sub.user32.dll_SendMessageW
push 0x201
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push esi
call sub.user32.dll_GetWindowTextW
push pe_nt_image_headers32
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0056e571
test eax, eax
jne 0x4a2336
mov dword [ebp - 4], reloc.gdi32.dll_AbortDoc
lea eax, reloc.gdi32.dll_AbortDoc
push eax
jmp 0x4a2327
mov dword [ebp - 4], reloc.gdi32.dll_AbortDoc
push ebx
lea eax, [ebp - 8]
push eax
push 0x461
push esi
call sub.user32.dll_SendMessageW
pop esi
pop ebx
leave
ret 0xc
Function at 0x4a6669
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push edi
cmp dword [esi], 3
jl 0x4a6771
mov dword [ebp - 8], 0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0xc], edi
lea edx, [edi*8]
mov eax, dword [ebx + edx]
add eax, dword [ebx + edx + 0x10]
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fdiv dword [0x5b0a84]
fstp qword [ebp - 0x14]
mov eax, dword [ebx + edx + 4]
add eax, dword [ebx + edx + 0x14]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fdiv dword [0x5b0a84]
fstp qword [ebp - 0x1c]
fild dword [ebx + edx + 8]
fcomp qword [ebp - 0x14]
wait
fnstsw ax
test ah, 0x40
je 0x4a671e
fild dword [ebx + edx + 0xc]
fcomp qword [ebp - 0x1c]
wait
fnstsw ax
test ah, 0x40
je 0x4a671e
inc dword [ebp - 0xc]
mov eax, dword [esi]
sub eax, 2
mov dword [ebp - 0x28], eax
lea ecx, [edi + 1]
mov edx, ecx
shl ecx, 3
jmp 0x4a6715
lea eax, [ebx + ecx + 8]
push eax
sub eax, 8
push eax
mov eax, 8
call fcn.0056cfd2
add ecx, 8
inc edx
jo 0x4a671a
cmp edx, dword [ebp - 0x28]
jle 0x4a66fc
dec dword [esi]
jmp 0x4a671f
inc edi
rol dword [0x5cb780], 1
test byte [0x5cb780], 1
je 0x4a6742
rol dword [0x5cb784], 1
test byte [0x5cb784], 1
je 0x4a6742
call fcn.0040f884
mov eax, dword [esi]
sub eax, 3
cmp edi, eax
jle 0x4a6695
cmp dword [ebp - 0xc], 0
je 0x4a6771
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xa
jg 0x4a6771
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x2710
jbe 0x4a6690
pop edi
pop esi
pop ebx
leave
ret 0xc