joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415900
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4a73b0]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.00485629
xor ebx, ebx
add esp, 4
mov dword [0x4a98e0], eax
cmp eax, ebx
jne 0x415933
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4a7440]
push 0x4038f0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4aad20]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4a7440], eax
call edi
cmp dword [ebp], ebx
jne 0x415974
mov dword [esp + 0x14], 1
jmp 0x415a1e
mov edx, dword [0x4a7440]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xc8], bl
call esi
mov ecx, dword [0x4a7440]
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xbc], 0x64
cmp byte [0x4aae74], bl
jne 0x4159c2
mov eax, dword [0x4aad20]
push 0x4037f0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4aae74], cl
mov byte [ebp + 0x601], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4aae8c], esi
push ebx
push esi
mov dword [ebp + 0x61c], eax
mov dword [ebp + 0x618], eax
call fcn.004251a0
sub dword [0x4aae8c], esi
mov dword [esp + 0x14], eax
cmp byte [0x4aae74], bl
je 0x415a18
mov edx, dword [0x4aad20]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x415a18
mov byte [0x4aae74], bl
mov byte [ebp + 0x601], bl
mov eax, dword [0x4a7440]
cmp dword [eax + 0xdc], ebx
lea ecx, [eax + 0xdc]
je 0x415a4a
mov eax, dword [eax + 0xe0]
push eax
push ecx
call fcn.0042ee80
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a7440]
add esp, 8
push 1
push ebx
mov byte [eax + 0xc8], 1
mov esi, eax
push 0xffffffffffffffff
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa0], ebx
mov dword [eax + 0xa4], ebx
mov byte [eax + 0xd4], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xc4], bl
mov dword [eax + 0x48], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xdc], ebx
mov byte [eax + 0xe4], bl
mov ecx, 0x3a
mov edi, 0x4a99d0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ab51c]
push 0x49987c
push ecx
mov byte [eax + 0xc8], 1
mov dword [eax + 0xbc], ebx
mov word [eax + 0xc9], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.004753c0
mov edx, dword [0x4a8554]
cmp word [edx], bx
jne 0x415b29
cmp dword [0x4ac61c], ebx
jne 0x415b29
cmp dword [0x4aae50], ebx
jne 0x415b29
cmp dword [0x4aae54], ebx
jne 0x415b29
cmp byte [0x4aae70], bl
jne 0x415b29
mov edx, dword [esp + 0x14]
neg edx
sbb edx, edx
push ebx
and edx, 7
add edx, 2
push 0x4acd80
xor eax, eax
call fcn.00415b70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x415f30
Capabilities:
Set current directory

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x5e8]
xor ebx, ebx
mov byte [edi + 0x174], 1
mov word [edi + 0x600], 0
cmp eax, ebx
je 0x41613f
cmp byte [eax], bl
je 0x41613f
cmp dword [0x4acce0], ebx
jne 0x415f77
call fcn.0046fc90
mov dword [0x4acce0], eax
cmp eax, ebx
je 0x415fc3
mov ecx, dword [0x4acce4]
cmp dword [ecx + 8], 0x14
jae 0x415f95
call fcn.0046fc90
mov ecx, dword [0x4acce4]
mov dword [ecx + 0xc], eax
cmp eax, ebx
je 0x415fc3
mov eax, dword [ecx + 4]
add dword [ecx + 8], 0xffffffec
lea edx, [eax + 0x14]
mov dword [0x4acce8], eax
mov dword [ecx + 4], edx
cmp eax, ebx
je 0x415fc3
mov dword [eax], vtable.Label.0
mov dword [eax + 4], 0x499831
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x415fc5
xor eax, eax
mov dword [edi + 0x374], eax
cmp eax, ebx
je 0x41613f
mov eax, 0x49b744
cmp byte [0x4aae43], bl
jne 0x415fe6
mov eax, dword [edi + 0x5e8]
push eax
push edi
call fcn.00416290
cmp eax, 1
jne 0x41613f
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c0a0
test eax, eax
je 0x41613f
mov eax, dword [edi]
push edi
call fcn.00422710
test eax, eax
je 0x41613f
mov eax, dword [edi]
mov esi, edi
call fcn.004227d0
cmp dword [edi + 8], ebx
je 0x41603c
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [eax + 0x14], ecx
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [edi + 8]
mov dword [edi], ecx
cmp dword [edi + 0x1c], ebx
jle 0x41606f
mov edx, dword [edi + 0x18]
mov ebp, dword [edx + ebx*4]
cmp byte [ebp + 0x3d], 0
jne 0x416067
mov eax, dword [ebp + 0x1c]
push ebp
lea esi, [ebp + 0x28]
push edi
call fcn.0042f390
mov eax, dword [ebp + 0x20]
push ebp
lea esi, [ebp + 0x30]
push edi
call fcn.0042f390
inc ebx
cmp ebx, dword [edi + 0x1c]
jl 0x416041
xor ebx, ebx
cmp dword [edi + 0x160], ebx
je 0x416098
call fcn.0041f150
test eax, eax
je 0x41613f
mov eax, dword [edi + 0x160]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x160], ebx
mov eax, dword [0x4ab624]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
inc dword [edi + 0x170]
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c0a0
test eax, eax
je 0x41613f
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c0a0
test eax, eax
je 0x41613f
mov ecx, dword [edi + 0x374]
mov edx, dword [edi + 4]
push ebx
push ebx
mov dword [ecx + 8], edx
mov eax, dword [edi]
push ebx
push eax
mov ecx, edi
call fcn.00422830
test eax, eax
je 0x41613f
mov ecx, dword [edi]
push ecx
push edi
call fcn.00422b60
test eax, eax
je 0x41613f
push 3
push ebx
push str.ErrorLevel
mov ecx, edi
call fcn.00420bc0
mov dword [0x4ab51c], eax
cmp eax, ebx
je 0x41613f
push 1
push ebx
push 0xffffffffffffffff
push 0x49987c
push eax
call fcn.004753c0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x10]
call fcn.00412640
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
Function at 0x41bed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4a7367]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov word [esp + 0x1e], 0x3f2e
mov byte [esp + 0x20], 0
mov edi, ebp
test ebp, ebp
je 0x41bf3b
mov dl, byte [ebp]
test dl, dl
je 0x41bf3b
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41bf8e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41bf27
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41bf21
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bf40
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41bf60
mov al, byte [edi]
cmp al, 0x20
je 0x41bf5b
cmp al, 9
jne 0x41bf60
dec edi
cmp edi, ebp
ja 0x41bf51
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41bf95
cmp byte [esp + 0x30], 0
je 0x41bf83
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042ecb0
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41bf60
dec edi
jmp 0x41bf4d
push esi
push ebp
push ebx
call fcn.00488410
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42bad0
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4aae8c]
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4a73b0]
jl 0x42baf9
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
mov esi, dword [0x4ab51c]
cmp byte [esi + 0x17], 0
jne 0x42bb08
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42bb15
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42bb2e
test byte [esi + 0x15], 4
je 0x42bb29
mov eax, esi
call fcn.0042f230
mov eax, dword [esi + 8]
jmp 0x42bb3e
cmp al, 2
jne 0x42bb39
call fcn.00401000
jmp 0x42bb3e
mov eax, 0x4ac626
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00488410
mov eax, dword [0x4a7440]
inc dword [0x4aae8c]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xa3], 0
mov ecx, 0x3a
mov esi, 0x4a99d0
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor ebx, ebx
mov dword [0x4a7440], eax
push ebx
mov eax, 0x4acd80
mov dword [esi + 0x2c], ebx
call fcn.00415800
mov dword [0x4ad388], ebx
mov dword [0x4ad38c], ebx
cmp dword [0x4aaebc], ebx
je 0x42bbaa
push 0x4ab520
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xca], bl
jne 0x42bbc4
mov byte [esi + 0xca], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4ad394], ebx
je 0x42bbda
cmp dword [0x4ad390], ebx
jne 0x42bbe2
cmp byte [esi + 0xca], bl
je 0x42bc14
mov byte [esi + 0xc8], bl
cmp byte [esi + 0xca], bl
jne 0x42bc14
cmp dword [0x4ad394], ebx
jge 0x42bc00
mov dword [esi + 0xbc], eax
jmp 0x42bc14
call edi
mov dword [esi + 0xb8], eax
mov edx, dword [0x4ad394]
mov dword [esi + 0xbc], edx
mov eax, dword [0x4ad304]
mov ebx, dword [0x4ad308]
mov ecx, dword [0x4ad35c]
mov edx, dword [0x4ad360]
mov ebp, eax
mov dword [0x4ad308], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [0x4ad360], ecx
mov dword [0x4ad304], eax
call edi
mov esi, dword [esp + 0xa0]
mov ecx, dword [0x4a7440]
mov dword [0x4ad39c], eax
mov dword [0x4ad398], eax
mov dword [0x4ad35c], eax
mov dword [0x4ad0f0], esi
cmp byte [ecx + 0xd5], 0
je 0x42bcae
mov edx, dword [0x4accc0]
mov dword [edx*4 + 0x4ac680], esi
call edi
mov ecx, dword [0x4accc0]
mov dword [ecx*4 + 0x4aa628], eax
inc ecx
mov dword [0x4accc0], ecx
cmp ecx, 0x190
jl 0x42bcae
mov dword [0x4accc0], 0
push 0
push 0xffffffffffffffff
push 0
push esi
call fcn.00459d40
mov esi, eax
cmp esi, 1
jne 0x42bcd0
mov eax, dword [esp + 0xa0]
push eax
call fcn.0042a210
mov esi, eax
mov ecx, dword [0x4a7440]
mov edx, dword [ecx + 0xa0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x4aaeac], edx
lea edx, [esp + 0x18]
push edx
mov dword [0x4ad304], ebp
mov dword [0x4ad35c], eax
mov dword [0x4ad308], ebx
mov dword [0x4ad360], ecx
call fcn.004036a0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
Function at 0x42f100
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.00491c90
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42f21f
test ebx, ebx
jne 0x42f138
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x370]
test ebx, ebx
je 0x42f142
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42f14f
mov ecx, dword [eax + 0x16c]
movzx eax, word [eax + 0x170]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4aacb8]
push esi
push edi
push edx
movzx eax, ax
push eax
push ecx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.00472750
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42f19c
push ebp
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00472750
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42f1cb
call fcn.00485b37
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00487adf
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 2
jne 0x42f21d
test ebx, ebx
jne 0x42f1f0
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x370]
test ebx, ebx
je 0x42f20f
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042ea00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042ecb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42f530
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
cmp eax, ebp
je 0x42f55f
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42f567
mov byte [esp + 0xa0], 0
push 0x7f
lea edx, [esp + 0x25]
push ebp
push edx
mov byte [esp + 0x2c], 0
call fcn.0048e990
mov esi, dword [0x4ad340]
add esp, 0xc
cmp esi, ebp
je 0x42f5cf
cmp byte [esi + 0x11], 0
je 0x42f5c8
mov eax, dword [esi]
push eax
call fcn.0046de00
add esp, 4
sub eax, ebp
je 0x42f5ac
dec eax
je 0x42f5a5
mov eax, str.Object
jmp 0x42f5b1
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
jmp 0x42f5b1
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
push 0x49d888
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00472790
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebp
jne 0x42f586
cmp byte [esp + 0x20], 0
je 0x42f61d
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f5e0
sub eax, edx
cmp eax, 0x7b
jbe 0x42f60e
mov esi, 0x7f
sub esi, eax
push esi
lea ebx, [esp + eax + 0x24]
push 0x49b2b4
push ebx
call fcn.00488410
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x42f61d
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42f61d
mov byte [eax - 1], 0
mov eax, dword [0x4a98e0]
cmp byte [eax + 0xd4], 0
je 0x42f63c
cmp byte [0x4ad381], 0
mov dword [esp + 0x14], 1
je 0x42f640
mov dword [esp + 0x14], ebp
mov eax, dword [0x4aae8c]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42f74c
mov dword [esp + 0x10], 0x499831
mov dword [esp + 0x18], ebp
cmp dword [0x4aae54], ebp
mov ebp, 0x49aa00
je 0x42f674
mov ebp, 0x49a9fc
cmp dword [0x4aae50], 0
mov esi, 0x49aa00
je 0x42f687
mov esi, 0x49a9fc
push 1
call fcn.00411590
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00411920
mov ecx, dword [0x4aae88]
mov edx, dword [0x4aae8c]
push eax
mov eax, dword [0x4aae90]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [0x4ad348]
push edx
mov edx, dword [0x4ad34c]
lea eax, [esp + 0x38]
push eax
push ecx
push edx
push ebp
push esi
lea eax, [esp + 0xcc]
push eax
push str.Window:__s_r_nKeybd_hook:__s_r_nMouse_hook:__s_r_nEnabled_Timers:__u_of__u___s__r_nInterrupted_threads:__d_s_r_nPaused_threads:__d_of__d___d_layers__r_nModifiers__GetKeyState___now____s_r_n
mov esi, 0xfffe
call fcn.00472750
mov esi, dword [esp + 0x50]
add edi, eax
mov ecx, esi
sub ecx, edi
add esp, 0x34
add ecx, 0xfffe
push ecx
push edi
call fcn.00409120
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42f710
sub eax, ecx
add edi, eax
cmp dword [0x4ab62c], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42f72e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00472750
add esp, 4
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
dec eax
mov dword [esp + 0x18], eax
jmp 0x42f662
Function at 0x435740
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.00442fc0
mov edi, eax
test edi, edi
je 0x43576e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00476dd0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4357b9
mov ecx, dword [0x4a7440]
cmp byte [ecx + 0xe4], 0
jne 0x43579c
mov edx, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49aee0
push edx
call fcn.004753c0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x499831
push 0
push 0x49aee0
call fcn.0042e740
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x4357f1
cmp ebp, dword [0x4acd28]
je 0x4357f1
mov esi, edi
call fcn.004772c0
test al, al
jne 0x4357f1
mov eax, dword [0x4acd28]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x43582f
mov edx, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push edx
call fcn.004753c0
mov eax, dword [0x4a7440]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43582f
push 1
push eax
call fcn.00401290
add esp, 8
test bl, bl
je 0x435843
mov ecx, dword [0x4acd28]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10
Function at 0x436670
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00430a00
mov ebx, eax
test ebx, ebx
jne 0x4366a3
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042ea00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4366af
jmp dword [eax*4 + 0x4368a8]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4366c9
push eax
call fcn.004537b0
add esp, 4
jmp 0x4366cf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4ab51c]
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004537b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436747
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436747
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4ab51c]
push 0x18
push 0
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push ecx
call fcn.004753c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx edx, byte [edi]
push edx
call fcn.00487cb5
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x436782.67
movzx eax, byte [eax + 0x4368d8]
jmp dword [eax*4 + 0x4368bc]
mov esi, 0x40
jmp 0x4367b1
mov esi, 0x4000
jmp 0x4367b1
mov esi, 0x20
jmp 0x4367b1
mov esi, 0x8000
jmp 0x4367b1
mov esi, 0x80
jmp 0x4367b1
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4367c4
push eax
call fcn.004537b0
add esp, 4
jmp 0x4367ca
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x436747
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436747
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43671b
mov edx, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push edx
call fcn.004753c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x436843
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00412c50
fmul qword [0x4a18f0]
call fcn.00493e80
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x436850
mov byte [esp + 0x13], 1
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebp + 0xc]
push eax
call fcn.004537b0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43686d
test esi, esi
jne 0x43672a
jmp 0x436871
test esi, esi
je case.0x436782.67
cmp byte [esp + 0x13], 0
jne 0x43688f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43672a
push 1
push 0x64
call fcn.00401290
add esp, 8
jmp 0x436850
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437100
Capabilities:
Get graphical window text
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4aac68]
push eax
mov eax, dword [esp + 0x18]
call fcn.00442fc0
mov ebp, eax
test ebp, ebp
je 0x437126
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebx, [eax + 1]
jmp 0x43712b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.004753c0
cmp eax, 1
je 0x437149
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x437252
cmp byte [edi + 0x17], 0
jne 0x43715c
mov esi, dword [edi + 0xc]
jmp 0x43715e
mov esi, edi
test byte [esi + 0x15], 8
je 0x43716b
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437184
test byte [esi + 0x15], 4
je 0x43717f
mov eax, esi
call fcn.0042f230
mov eax, dword [esi + 8]
jmp 0x437194
cmp al, 2
jne 0x43718f
call fcn.00401000
jmp 0x437194
mov eax, 0x4ac626
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x4371aa
mov esi, dword [edi + 0xc]
jmp 0x4371ac
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x4371c4
test byte [esi + 0x15], 8
je 0x4371bf
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x4371c9
mov eax, 0x4ad590
mov dword [eax], ebx
cmp byte [edi + 0x17], 0
jne 0x4371d6
mov esi, dword [edi + 0xc]
jmp 0x4371d8
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x4371f0
test byte [esi + 0x15], 8
je 0x4371eb
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x4371f5
mov eax, 0x4ad590
cmp dword [eax], 0
jne 0x4372c8
cmp byte [edi + 0x17], 0
jne 0x437209
mov esi, dword [edi + 0xc]
jmp 0x43720b
mov esi, edi
test byte [esi + 0x15], 8
je 0x437218
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437237
test byte [esi + 0x15], 4
je 0x43722c
mov eax, esi
call fcn.0042f230
mov eax, dword [esi + 8]
mov byte [eax], 0
jmp 0x4372c8
cmp al, 2
jne 0x437248
call fcn.00401000
mov byte [eax], 0
jmp 0x4372c8
mov eax, 0x4ac626
mov byte [eax], 0
jmp 0x4372c8
cmp byte [edi + 0x17], 0
jne 0x43725d
mov esi, dword [edi + 0xc]
jmp 0x43725f
mov esi, edi
test byte [esi + 0x15], 8
je 0x43726c
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437285
test byte [esi + 0x15], 4
je 0x437280
mov eax, esi
call fcn.0042f230
mov eax, dword [esi + 8]
jmp 0x437295
cmp al, 2
jne 0x437290
call fcn.00401000
jmp 0x437295
mov eax, 0x4ac626
mov byte [eax], 0
cmp byte [edi + 0x17], 0
jne 0x4372a3
mov esi, dword [edi + 0xc]
jmp 0x4372a5
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x4372bd
test byte [esi + 0x15], 8
je 0x4372b8
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x4372c2
mov eax, 0x4ad590
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x4372d1
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x4372f6
cmp dword [0x4ad3ec], 0
je 0x4372f6
pop edi
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4ad3e0
jmp fcn.00404400
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4