joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe00
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
cmp eax, 0x80000000
je 0x40ffe1
mov edi, dword [ebp]
cmp edi, 0x80000000
je 0x40ffe1
mov edx, dword [0x4a85d0]
cmp edx, 2
jne 0x40fe75
movzx ebx, byte [esp + 0x24]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
call fcn.004101c0
add esp, 4
call fcn.00410640
cmp byte [esp + 0x24], 0
je 0x40ffe1
mov dword [esi], SysReAllocString
mov dword [ebp], CreateStatusWindowA
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x24], 0
je 0x40feca
cmp edx, 1
jne 0x40feb0
cmp dword [0x4a5b98], 0x80000000
jne 0x40fe9e
push 0x4a5b98
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4a5b98]
add dword [esi], eax
mov ecx, dword [0x4a5b9c]
add dword [ebp], ecx
jmp 0x40feef
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add dword [esi], eax
add dword [ebp], ecx
jmp 0x40feef
mov edx, dword [0x4a3440]
movzx eax, word [edx + 0xcc]
shr eax, 2
and eax, 3
cmp eax, 2
je 0x40feef
push eax
mov edi, ebp
mov ebx, esi
call fcn.0046fd80
add esp, 4
cmp dword [0x4a85d0], 1
jne 0x40ff08
mov eax, dword [esi]
mov dword [0x4a5b98], eax
mov ecx, dword [ebp]
mov dword [0x4a5b9c], ecx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov edi, eax
call ebx
mov ecx, dword [esi]
mov ebx, eax
mov eax, ecx
shl eax, 0x10
cdq
idiv edi
xor edx, edx
test ecx, ecx
setns dl
lea eax, [eax + edx*2 - 1]
mov dword [esi], eax
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
xor edx, edx
test ecx, ecx
setns dl
lea edx, [edx + edx - 1]
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [ebp], edx
test eax, eax
js 0x40ffcb
cmp eax, 0x64
jle 0x40ff63
mov dword [esp + 0x20], 0x64
jmp 0x40ff67
test eax, eax
je 0x40ffcb
cmp dword [0x4a85d0], 1
je 0x40ffcb
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
mov esi, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setns dl
mov ebx, eax
lea ebx, [ebx + edx*2 - 1]
mov eax, esi
shl eax, 0x10
cdq
idiv edi
mov ecx, eax
xor eax, eax
test esi, esi
setns al
lea ecx, [ecx + eax*2 - 1]
mov eax, ebx
call fcn.00450e30
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi]
push 0x8001
xor ecx, ecx
call fcn.0040fff0
add esp, 4
call fcn.00410640
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x410420
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 8
cmp dword [0x4a85d0], 1
push ebx
jne 0x4104e7
xor bl, bl
cmp dword [0x4a6da0], 0
mov byte [esp + 8], bl
je 0x410446
mov bl, 1
mov byte [esp + 8], bl
cmp dword [0x4a6da4], 0
je 0x410456
or bl, 2
mov byte [esp + 8], bl
test bl, bl
je 0x410471
mov al, byte [0x4a5b94]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.00408550
add esp, 8
mov edx, dword [0x4a5bac]
mov eax, dword [0x4a5ba8]
push 0x1c
push edx
push eax
call dword [0x4a94d4]
test bl, bl
je 0x410565
mov cl, byte [0x4a5b94]
and cl, bl
test cl, 1
je 0x4104ce
push 1
call fcn.00411020
mov dl, byte [esp + 0x18]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4a6c6f]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4a6c6f], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4a5a18], eax
mov edx, dword [esp + 8]
pop ebx
add esp, 8
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.00408550
mov eax, dword [0x4a6c68]
push 0
push eax
push 0x40e7c0
push 1
mov dword [0x4a5ba0], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4a6da8], eax
test eax, eax
je 0x410565
mov byte [0x4a6d90], 1
push 1
push 0x8000012f
mov dword [0x4a33a4], 0
call fcn.00401280
add esp, 8
cmp dword [0x4a6da8], 0
mov dword [0x4a33a4], 1
jne 0x410516
mov eax, dword [0x4a5bac]
mov ecx, dword [0x4a5ba8]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4a6d90], 0
jne 0x410565
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
pop ebx
add esp, 8
ret

Function at 0x410730
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4a7584]
test eax, eax
je 0x41081d
mov ecx, dword [0x4a7588]
imul ecx, ecx, 0x70
add eax, ecx
mov cl, byte [esp + 8]
mov byte [eax + 5], dl
mov dx, word [esp + 0xc]
mov byte [eax], cl
mov word [eax + 2], dx
push esi
mov byte [eax + 4], 0x69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x4a94cc]
mov dword [0x4a758c], eax
mov dword [esp + 4], ecx
fild dword [esp + 4]
jns 0x410783
fadd dword [0x49d6b8]
fdiv qword [0x49d6b0]
mov edx, dword [0x4a7588]
mov ecx, dword [0x4a7584]
mov dword [0x4a94cc], eax
imul edx, edx, 0x70
fstp dword [esp + 4]
fld dword [esp + 4]
fstp dword [edx + ecx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4107e2
mov edx, dword [0x4a7588]
mov eax, dword [0x4a7584]
imul edx, edx, 0x70
cmp esi, dword [0x4a7590]
je 0x4107db
push 0x64
lea ecx, [edx + eax + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4107f9
mov byte [edx + eax + 0xc], 0
jmp 0x4107f9
mov ecx, dword [0x4a7588]
mov edx, dword [0x4a7584]
imul ecx, ecx, 0x70
mov dword [ecx + edx + 0xc], 0x412f4e
mov eax, dword [0x4a7588]
inc eax
mov dword [0x4a7590], esi
mov dword [0x4a7588], eax
pop esi
cmp eax, dword [0x4a33a8]
jl 0x41081d
mov dword [0x4a7588], 0
pop ecx
ret
Function at 0x411670
Capabilities:
Log keystrokes

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
jmp 0x411680
cmp byte [eax*8 + 0x4a4164], bl
je 0x4116ac
inc eax
cmp eax, 0x6d
jl 0x411680
push ebp
movzx ebp, bl
push 2
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [edi], al
test al, al
je 0x4116c8
pop ebp
mov byte [edi + 1], 0
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [eax*8 + 0x4a4160]
dec esi
push esi
push eax
push edi
call fcn.004844d0
add esp, 0xc
mov byte [esi + edi], 0
mov eax, edi
pop edi
pop esi
ret
cmp byte [esp + 0x10], 0
je 0x4116e7
test bl, bl
je 0x4116e7
push ebp
push str.vk_02X
call fcn.0046eac0
add esp, 8
pop ebp
mov eax, edi
pop edi
pop esi
ret
pop ebp
mov byte [edi], 0
mov eax, edi
pop edi
pop esi
ret

Function at 0x411850
Capabilities:
Log keystrokes via polling

Disassembly:
cmp al, 0xa
jne 0x411857
mov al, 0xd
ret
push ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x411873
cmp al, 0xff
jne 0x411873
xor al, al
ret
test dl, 0x38
jne 0x411870
test esi, esi
je 0x4118be
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x41188b
or byte [esi], 8
jmp 0x4118ad
test dl, 2
je 0x41189c
mov cl, byte [esi]
test cl, 3
jne 0x41189c
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x4118ad
mov cl, byte [esi]
test cl, 0xc
jne 0x4118ad
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x4118be
mov cl, byte [esi]
test cl, 0x30
jne 0x4118be
or cl, 0x10
mov byte [esi], cl
ret

Function at 0x411ae0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
mov byte [esi], 0
test bl, bl
jne 0x411b0c
test di, di
jne 0x411aff
pop edi
pop ebp
mov eax, esi
pop ebx
ret
mov ecx, edi
call fcn.00411e50
mov byte [esp + 0x10], al
jmp 0x411b23
test di, di
jne 0x411b2c
mov eax, dword [esp + 0x10]
push eax
xor bl, bl
call fcn.00411bd0
add esp, 4
movzx edi, ax
mov bl, byte [esp + 0x10]
test di, di
je 0x411b58
cmp bl, 0x9c
jb 0x411b36
cmp bl, 0x9f
jbe 0x411b58
xor eax, eax
jmp 0x411b40
cmp word [eax*8 + 0x4a44cc], di
je 0x411b87
inc eax
cmp eax, 0xd
jl 0x411b40
mov byte [esi], 0
cmp byte [esi], 0
jne 0x411af9
xor eax, eax
lea ebx, [ebx]
cmp byte [eax*8 + 0x4a4164], bl
je 0x411ba2
inc eax
cmp eax, 0x6d
jl 0x411b60
movzx eax, bl
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [esi], al
test al, al
je 0x411bbd
mov byte [esi + 1], 0
jmp 0x411bc0
mov ecx, dword [eax*8 + 0x4a44c8]
lea edi, [ebp - 1]
push edi
push ecx
push esi
call fcn.004844d0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x411b53
mov edx, dword [eax*8 + 0x4a4160]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.004844d0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x411bc0
mov byte [esi], 0
cmp byte [esi], 0
mov eax, esi
jne 0x411bcb
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
ret
Function at 0x412110
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4a3394]
jne 0x41211e
call fcn.00411ff0
mov ecx, dword [0x4a5bbc]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a5bbc], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x412165
fadd qword [0x49d678]
fmul qword [0x49d6c0]
pop ecx
ret

Function at 0x412ba0
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x412ba9
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x412bca
cmp dword [0x4a8cd0], 0
je 0x412bca
mov dword [esp + 4], 1
mov ecx, 0x4a8cc4
jmp fcn.00403f00
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x412bde
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x414f00
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4a33b0]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.00481849
xor ebx, ebx
add esp, 4
mov dword [0x4a5840], eax
cmp eax, ebx
jne 0x414f33
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4a3440]
push 0x403400
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a6c70]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4a3440], eax
call edi
cmp dword [ebp], ebx
jne 0x414f74
mov dword [esp + 0x14], 1
jmp 0x41501e
mov edx, dword [0x4a3440]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xc8], bl
call esi
mov ecx, dword [0x4a3440]
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xbc], 0x64
cmp byte [0x4a6dc3], bl
jne 0x414fc2
mov eax, dword [0x4a6c70]
push 0x403300
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4a6dc3], cl
mov byte [ebp + 0x5d9], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4a6ddc], esi
push ebx
push esi
mov dword [ebp + 0x5f4], eax
mov dword [ebp + 0x5f0], eax
call fcn.00423f80
sub dword [0x4a6ddc], esi
mov dword [esp + 0x14], eax
cmp byte [0x4a6dc3], bl
je 0x415018
mov edx, dword [0x4a6c70]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x415018
mov byte [0x4a6dc3], bl
mov byte [ebp + 0x5d9], bl
mov eax, dword [0x4a3440]
cmp dword [eax + 0xdc], ebx
lea ecx, [eax + 0xdc]
je 0x41504a
mov eax, dword [eax + 0xe0]
push eax
push ecx
call fcn.0042d450
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a3440]
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, 0x4a5930
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a7474]
push 0x495870
push ecx
mov byte [eax + 0xc8], 1
mov dword [eax + 0xbc], ebx
mov word [eax + 0xc9], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.004715e0
mov edx, dword [0x4a4538]
cmp word [edx], bx
jne 0x415129
cmp dword [0x4a8574], ebx
jne 0x415129
cmp dword [0x4a6da0], ebx
jne 0x415129
cmp dword [0x4a6da4], ebx
jne 0x415129
cmp byte [0x4a6d93], bl
jne 0x415129
mov ecx, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
push ebx
and ecx, 7
add ecx, 2
push 0x4a8ce0
xor eax, eax
call fcn.00415170
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x415170
Capabilities:
Set current directory

Disassembly:
sub esp, 0x48c
push ebx
push ebp
mov ebp, dword [esp + 0x498]
xor ebx, ebx
push esi
push edi
mov dword [ebp + 0x594], ecx
cmp eax, ebx
je 0x415196
mov byte [esp + 0x17], 1
cmp byte [eax], bl
je 0x41519a
mov byte [esp + 0x17], bl
cmp eax, ebx
je 0x415203
cmp byte [eax], bl
je 0x415203
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0xa0]
call fcn.0046eac0
mov edx, dword [0x4a92a0]
mov ecx, dword [0x4a6c70]
add esp, 8
push 0x10000
push edx
mov eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x4a6c70]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4151fc
mov eax, dword [0x4a6c70]
push eax
mov byte [0x4a6c6c], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.00409890
cmp dword [ebp + 0x590], ebx
je 0x415335
cmp byte [0x4a951a], bl
jne 0x415335
mov esi, dword [0x4a7474]
cmp byte [esi + 0x17], bl
jne 0x415229
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x415236
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x41524f
test byte [esi + 0x15], 4
je 0x41524a
mov eax, esi
call fcn.0042d7f0
mov eax, dword [esi + 8]
jmp 0x41525f
cmp al, 2
jne 0x41525a
call fcn.00401000
jmp 0x41525f
mov eax, 0x4a857d
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004844d0
mov eax, dword [0x4a3440]
inc dword [0x4a6ddc]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xa3], bl
mov ecx, 0x3a
mov esi, 0x4a5930
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4a3440], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4a8ce0
call fcn.00414e00
mov dword [0x4a92c0], ebx
mov dword [0x4a92c4], ebx
cmp dword [0x4a6e08], ebx
je 0x4152c6
push 0x4a7478
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [0x4a33a4]
mov ecx, dword [ebp + 0x590]
mov dword [0x4a33a4], ebx
mov byte [0x4a951a], 1
call fcn.00401210
test eax, eax
jne 0x4152f6
mov edx, dword [esp + 0x4a4]
push edx
push ebp
call fcn.00415360
mov byte [0x4a951a], bl
cmp byte [esp + 0x17], bl
je 0x415310
mov eax, dword [esp + 0x4a4]
push eax
push ebp
call fcn.00415360
lea ecx, [esp + 0x18]
push ecx
call fcn.004031c0
add esp, 4
pop edi
mov dword [0x4a33a4], esi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x48c
ret 8
mov eax, dword [esp + 0x4a4]
mov edx, dword [0x4a3440]
push eax
push ebp
mov dword [0x4a33a4], ebx
mov byte [edx + 0xd4], bl
call fcn.00415360
int3
Function at 0x41b1f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4a3367]
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 0x41b25b
mov dl, byte [ebp]
test dl, dl
je 0x41b25b
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41b2ae
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41b247
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41b241
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b260
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41b280
mov al, byte [edi]
cmp al, 0x20
je 0x41b27b
cmp al, 9
jne 0x41b280
dec edi
cmp edi, ebp
ja 0x41b271
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41b2b5
cmp byte [esp + 0x30], 0
je 0x41b2a3
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042d280
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41b280
dec edi
jmp 0x41b26d
push esi
push ebp
push ebx
call fcn.004844d0
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42a2d0
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4a6ddc]
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4a33b0]
jl 0x42a2f9
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
mov esi, dword [0x4a7474]
cmp byte [esi + 0x17], 0
jne 0x42a308
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42a315
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42a32e
test byte [esi + 0x15], 4
je 0x42a329
mov eax, esi
call fcn.0042d7f0
mov eax, dword [esi + 8]
jmp 0x42a33e
cmp al, 2
jne 0x42a339
call fcn.00401000
jmp 0x42a33e
mov eax, 0x4a857d
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004844d0
mov eax, dword [0x4a3440]
inc dword [0x4a6ddc]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xa3], 0
mov ecx, 0x3a
mov esi, 0x4a5930
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4a3440], eax
push edi
mov eax, 0x4a8ce0
mov dword [esi + 0x2c], edi
call fcn.00414e00
mov dword [0x4a92c0], edi
mov dword [0x4a92c4], edi
cmp dword [0x4a6e08], edi
je 0x42a3aa
push 0x4a7478
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xca], 0
jne 0x42a3c5
mov byte [esi + 0xca], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4a92cc], edi
je 0x42a3d5
cmp dword [0x4a92c8], edi
jne 0x42a3de
cmp byte [esi + 0xca], 0
je 0x42a416
cmp byte [esi + 0xca], 0
mov byte [esi + 0xc8], 0
jne 0x42a416
cmp dword [0x4a92cc], edi
jge 0x42a3fe
mov dword [esi + 0xbc], eax
jmp 0x42a416
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb8], eax
mov edx, dword [0x4a92cc]
mov dword [esi + 0xbc], edx
mov eax, dword [0x4a925c]
mov ebp, dword [0x4a9260]
mov ecx, dword [0x4a9294]
mov edx, dword [0x4a9298]
mov edi, eax
mov dword [0x4a9260], eax
mov eax, dword [esp + 0xa4]
mov ebx, ecx
mov dword [esp + 0x14], edx
mov dword [0x4a9298], ecx
mov dword [0x4a925c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0xa0]
push 0
push 0xffffffffffffffff
push 0
push ecx
mov dword [0x4a92d4], eax
mov dword [0x4a92d0], eax
mov dword [0x4a9294], eax
call fcn.00456a30
mov esi, eax
cmp esi, 1
jne 0x42a48a
mov edx, dword [esp + 0xa0]
push edx
call fcn.00428a10
mov esi, eax
mov eax, dword [0x4a3440]
mov ecx, dword [eax + 0xa0]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov dword [0x4a6df8], ecx
mov dword [0x4a925c], edi
mov dword [0x4a9294], ebx
mov dword [0x4a9260], ebp
mov dword [0x4a9298], edx
call fcn.004031c0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
Function at 0x42d6c0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.0048dcd0
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42d7df
test ebx, ebx
jne 0x42d6f8
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x368]
test ebx, ebx
je 0x42d702
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42d70f
mov ecx, dword [eax + 0x164]
movzx eax, word [eax + 0x168]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4a6c60]
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.0046eac0
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42d75c
push ebp
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.0046eac0
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42d78b
call fcn.00481d42
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00483b9d
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 0x42d7dd
test ebx, ebx
jne 0x42d7b0
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x368]
test ebx, ebx
je 0x42d7cf
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042cfd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042d280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42daf0
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 0x42db1f
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42db27
mov byte [esp + 0xa0], 0
push 0x7f
lea edx, [esp + 0x25]
push ebp
push edx
mov byte [esp + 0x2c], 0
call fcn.0048a9d0
mov esi, dword [0x4a9278]
add esp, 0xc
cmp esi, ebp
je 0x42db6e
cmp byte [esi + 0x11], 0
je 0x42db67
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
push 0x4997c0
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0046eb00
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebp
jne 0x42db46
cmp byte [esp + 0x20], 0
je 0x42dbbd
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42db80
sub eax, edx
cmp eax, 0x7b
jbe 0x42dbae
mov esi, 0x7f
sub esi, eax
push esi
lea ebx, [esp + eax + 0x24]
push 0x49726c
push ebx
call fcn.004844d0
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x42dbbd
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42dbbd
mov byte [eax - 1], 0
mov edx, dword [0x4a5840]
cmp byte [edx + 0xd4], 0
je 0x42dbdd
cmp byte [0x4a92b9], 0
mov dword [esp + 0x14], 1
je 0x42dbe1
mov dword [esp + 0x14], ebp
mov eax, dword [0x4a6ddc]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42dcec
mov dword [esp + 0x10], 0x4957f9
mov dword [esp + 0x18], ebp
cmp dword [0x4a6da4], ebp
mov ebp, 0x4969f8
je 0x42dc15
mov ebp, 0x4969f4
cmp dword [0x4a6da0], 0
mov esi, 0x4969f8
je 0x42dc28
mov esi, 0x4969f4
push 1
call fcn.00411020
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.004113b0
mov ecx, dword [0x4a6ddc]
mov edx, dword [0x4a6de0]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4a6dd8]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4a9280]
push ecx
mov ecx, dword [0x4a9284]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push ebp
push esi
lea edx, [esp + 0xcc]
push edx
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.0046eac0
mov esi, dword [esp + 0x50]
add edi, eax
mov eax, esi
sub eax, edi
add esp, 0x34
add eax, 0xfffe
push eax
push edi
call fcn.00408ca0
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dcb0
sub eax, ecx
add edi, eax
cmp dword [0x4a7584], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42dcce
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.0046eac0
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 0x42dc03