joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419500
Capabilities:
Log keystrokes via polling

Disassembly:
cmp si, 0xa
jne 0x419509
mov al, 0xd
ret
mov eax, dword [esp + 4]
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov bl, al
cmp cl, 0xff
jne 0x419566
cmp al, 0xff
jne 0x419566
cmp byte [esp + 0xc], 0
je 0x41956b
movzx eax, si
test eax, 0xffffff80
jne 0x41956b
push 0x103
push eax
call fcn.0049b42c
add esp, 8
test eax, eax
je 0x41956b
mov eax, esi
call fcn.0040eec0
mov bl, al
push 1
mov eax, esi
call fcn.004054d0
add esp, 4
test eax, eax
setne cl
test cl, 0x38
je 0x41956f
xor al, al
pop ebx
ret
test edi, edi
je 0x4195af
mov dl, cl
and dl, 6
cmp dl, 6
jne 0x419582
or byte [edi], 8
jmp 0x4195a0
test cl, 2
je 0x419591
mov al, byte [edi]
test al, 3
jne 0x419591
or al, 1
mov byte [edi], al
test cl, 4
je 0x4195a0
mov al, byte [edi]
test al, 0xc
jne 0x4195a0
or al, 4
mov byte [edi], al
test cl, 1
je 0x4195af
mov al, byte [edi]
test al, 0x30
jne 0x4195af
or al, 0x10
mov byte [edi], al
mov al, bl
pop ebx
ret

Function at 0x419ca0
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x419cfd
je 0x419cfa
sub eax, 0x1d
cmp eax, 0x36
ja case.0x419d0e.286
movzx eax, byte [eax + 0x419da8]
jmp dword [eax*4 + 0x419d5c]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0x13
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x419d0e.286
movzx edx, byte [eax + 0x419e08]
jmp dword [edx*4 + 0x419de0]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x5b
ret
mov al, 0x5c
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
mov al, 0x2c
ret
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
test ebx, 0x100
je 0x419d50
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x419d58
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

Function at 0x419e50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4d85e0], eax
mov edx, 1
mov eax, 0x4d85e0
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4d8f9c
jl 0x419e60
mov dword [0x4d5a08], 1
mov dword [0x4d9f7c], 1
pop edi
ret
Function at 0x41e600
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4d5a28]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
push esi
push edi
push eax
call fcn.0049995e
add esp, 4
mov dword [0x4d81d0], eax
test eax, eax
jne 0x41e629
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4d5b14]
push 0x403ea0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4d96a0]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4d5b14], eax
call edi
cmp dword [0x4da6c0], 0
jne 0x41e66b
mov ebx, 1
jmp 0x41e783
mov edx, dword [0x4d5b14]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xec], 0
call esi
cmp byte [0x4d97fc], 0
mov ecx, dword [0x4d5b14]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x41e6bb
mov eax, dword [0x4d96a0]
push 0x403d00
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4d97fc], cl
mov byte [0x4db1a5], 1
call esi
mov dword [0x4db1cc], eax
mov dword [0x4db1c8], eax
mov eax, dword [0x4da63c]
mov esi, 1
add dword [0x4d9814], esi
cmp eax, dword [0x4da640]
jne 0x41e6f0
call fcn.0040559f
mov eax, dword [0x4da63c]
cmp eax, dword [0x4da638]
jb 0x41e705
mov edx, dword [0x4dacf4]
mov dword [eax], edx
mov eax, dword [0x4da63c]
add eax, 0xc
push 0
mov dword [0x4da63c], eax
push 0
mov dword [eax], 0
mov dword [eax + 4], str.Auto_execute
mov dword [eax + 8], 0
mov ecx, dword [0x4da6c0]
push esi
call fcn.00430950
mov ebx, eax
mov eax, dword [0x4da63c]
sub eax, 0xc
mov dword [0x4da63c], eax
cmp eax, dword [0x4da638]
jb 0x41e754
mov eax, dword [eax]
mov dword [0x4da64c], eax
mov dword [0x4dacf4], eax
sub dword [0x4d9814], esi
cmp byte [0x4d97fc], 0
je 0x41e77c
mov eax, dword [0x4d96a0]
push 0xb
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41e77c
mov byte [0x4d97fc], 0
mov byte [0x4db1a5], 0
mov ebp, dword [0x4d5b14]
cmp dword [ebp + 0x104], 0
je 0x41e7dd
mov eax, dword [ebp + 0x104]
cmp dword [eax + 8], 6
jne 0x41e7a8
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0x104]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41e7be
push eax
call fcn.004999fd
add esp, 4
mov ecx, dword [ebp + 0x104]
push ecx
call fcn.004999f2
mov dword [ebp + 0x104], 0
mov ebp, dword [0x4d5b14]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4d9ea8]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xec], 1
push 0x4af9cc
mov ecx, 0x42
mov esi, ebp
mov edi, 0x4d82e0
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [ebp + 0xec], 1
mov dword [ebp + 0xe0], 0
mov word [ebp + 0xed], 1
mov dword [ebp + 0x2c], connect
call fcn.00482b90
mov eax, dword [0x4d6d3c]
cmp word [eax], 0
jne 0x41e875
cmp dword [0x4d9f14], 0
jne 0x41e875
cmp dword [0x4d97d0], 0
jne 0x41e875
cmp dword [0x4d97d4], 0
jne 0x41e875
cmp byte [0x4d97dd], 0
jne 0x41e875
neg ebx
sbb ebx, ebx
and ebx, 5
push 0
inc ebx
push ebx
mov ecx, 0x4da6c0
call fcn.0041eac0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x41eac0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [ecx + 0xa9c], eax
cmp byte [0x4db3db], bl
jne 0x41ecc2
cmp byte [ecx + 0xae4], bl
je 0x41ecc2
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4d9ea8]
push ebx
push 1
mov dword [0x4dbf8c], eax
call fcn.00401280
push 0x7f
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0049cb74
mov eax, dword [0x4d5b14]
inc dword [0x4d9814]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x142], dx
mov ecx, 0x42
mov esi, 0x4d82e0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4d5b14], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4da6c0
call fcn.0041e500
mov dword [0x4db1b8], ebx
mov dword [0x4db1bc], ebx
cmp dword [0x4d9844], ebx
je 0x41eb86
mov eax, dword [0x4d6d34]
cmp eax, ebx
je 0x41eb7a
mov eax, dword [eax]
cmp eax, ebx
jne 0x41eb7f
mov eax, 0x4af9bc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x4da63c]
mov edi, dword [0x4d5a1c]
mov dword [0x4d5a1c], ebx
mov byte [0x4db3db], 1
cmp eax, dword [0x4da640]
jne 0x41ebb0
call fcn.0040559f
mov eax, dword [0x4da63c]
cmp eax, dword [0x4da638]
jb 0x41ebc5
mov ecx, dword [0x4dacf4]
mov dword [eax], ecx
mov eax, dword [0x4da63c]
mov esi, dword [esp + 0x14]
add eax, 0xc
mov dword [0x4da63c], eax
mov dword [eax], ebx
mov dword [eax + 4], str.OnExit
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0xa90]
mov byte [esp + 0x13], 1
mov byte [0x4d70d4], bl
cmp ecx, ebx
je 0x41ec07
call fcn.00401300
test eax, eax
je 0x41ec07
cmp byte [0x4d70d4], bl
jne 0x41ec07
mov byte [esp + 0x13], bl
mov byte [0x4d70d4], 1
cmp byte [esp + 0x13], bl
je 0x41ec60
mov dword [esp + 0x20], ebx
call fcn.0044f050
mov dword [esp + 0x18], eax
mov eax, dword [0x4dbf8c]
cdq
mov dword [esp + 0x2c], edx
xor edx, edx
cmp dword [esi + 0xa90], ebx
mov dword [esp + 0x28], eax
sete dl
lea eax, [esp + 0x18]
lea ebx, [esi + 0xa5c]
mov dword [esp + 0x30], 1
push edx
push 2
push eax
call fcn.0047a5b0
xor ebx, ebx
cmp eax, 3
jne 0x41ec60
mov byte [esp + 0x13], bl
mov eax, dword [0x4da63c]
sub eax, 0xc
mov dword [0x4da63c], eax
cmp eax, dword [0x4da638]
jb 0x41ec81
mov eax, dword [eax]
mov dword [0x4da64c], eax
mov dword [0x4dacf4], eax
mov byte [0x4db3db], bl
cmp byte [esp + 0x13], bl
jne 0x41ecb4
cmp dword [ebp + 8], 0xffffffff
jle 0x41ecb4
lea ecx, [esp + 0x38]
push ecx
call fcn.00403b70
add esp, 4
mov dword [0x4d5a1c], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push esi
call fcn.0041ed10
cmp byte [0x4d70d4], bl
jne 0x41ecf8
cmp eax, 6
jne 0x41ecf8
mov ecx, dword [0x4d9630]
cmp word [ecx], bx
je 0x41ece3
mov edx, dword [ebp + 0xc]
mov dword [0x4dbf8c], edx
pop edi
pop esi
mov byte [0x4d70d4], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0041ed10
int3
Function at 0x425d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4d5a38]
push esi
mov eax, 0x20
push edi
mov word [esp + 8], ax
mov word [esp + 0xa], cx
mov dword [esp + 0xc], 0x90028
mov dword [esp + 0x10], 0x3e003c
mov dword [esp + 0x14], 0x3d003a
mov dword [esp + 0x18], 0x2d002b
mov dword [esp + 0x1c], 0x2f002a
mov dword [esp + 0x20], 0x7e0021
mov dword [esp + 0x24], 0x7c0026
mov dword [esp + 0x28], 0x5b005e
mov dword [esp + 0x2c], 0x3f002e
mov dword [esp + 0x30], 0x7b
mov edi, edx
test edx, edx
je 0x425e3d
movzx eax, word [edx]
test ax, ax
je 0x425e3d
lea esp, [esp]
movzx esi, ax
lea ecx, [esp + 8]
mov eax, 0x20
lea esp, [esp]
cmp si, ax
je 0x425ea3
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x425e20
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425e10
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425e42
sub eax, esi
sar eax, 1
lea edi, [edx + eax*2 - 2]
cmp edi, edx
jbe 0x425e74
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x425e6d
cmp eax, 9
jne 0x425e74
sub edi, 2
cmp edi, edx
ja 0x425e60
mov esi, edi
sub esi, edx
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x425eac
cmp byte [esp + 0x3c], 0
je 0x425e99
mov ecx, dword [esp + 0x38]
push edx
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0043a450
xor eax, eax
pop edi
pop esi
add esp, 0x2c
ret 8
cmp edi, edx
jbe 0x425e74
add edi, 0xfffffffe
jmp 0x425e55
push esi
push edx
push ebx
call fcn.0049cb74
add esp, 0xc
xor edx, edx
mov eax, edi
pop edi
mov word [ebx + esi*2], dx
pop esi
add esp, 0x2c
ret 8
Function at 0x42b1f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10004
call fcn.004a78d0
mov eax, dword [esp + 0x10008]
push esi
push edi
push eax
push ecx
push 0x4b88f0
mov esi, 0x8001
lea edi, [esp + 0x14]
call fcn.0047f800
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b260
test al, 0x10
je 0x42b260
lea eax, [esi + esi + 0x204]
call fcn.0047c820
mov dword [ebx], eax
test eax, eax
je 0x42b260
lea ecx, [esi + esi + 2]
push ecx
mov edx, edi
push edx
push eax
call fcn.004a3860
add esp, 0xc
pop edi
mov dword [ebx + 4], esi
pop esi
add esp, 0x10004
ret 4
pop edi
mov dword [ebx], 0x4af9bc
pop esi
add esp, 0x10004
ret 4
Function at 0x43a9a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4004
call fcn.004a78d0
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x43aacf
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x43a9d2
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43a9dc
movzx edx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43a9e9
mov edx, dword [ecx + 0x270]
movzx eax, word [ecx + 0x274]
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [0x4da5c4]
mov edx, dword [ecx + edx*4]
movzx eax, ax
push eax
push edx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.0047f800
mov esi, dword [ebp + 0x10]
add esp, 0x10
cmp word [esi], 0
lea edi, [esp + eax*2 + 0x10]
je 0x43aa40
lea ecx, [esp + 0x10]
mov eax, edi
push esi
sub eax, ecx
sar eax, 1
mov esi, 0x2000
push str._____Specifically:__s_n
sub esi, eax
call fcn.0047f800
mov esi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [ebp + 8]
cmp edi, 3
jne 0x43aa66
mov edx, dword [esp + 0xc]
push 0x4b6438
push 0
push edx
lea esi, [esp + 0x1c]
call fcn.00439fb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4da680], 0
je 0x43aa83
push str.stderr
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4da638
call fcn.0040874c
cmp dword [0x4da680], 2
je 0x43aa97
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 2
jne 0x43aacf
test ebx, ebx
jne 0x43aaae
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43aac5
mov edx, dword [ebp + 0xc]
push esi
push 1
push edx
mov ecx, ebx
call fcn.0043a170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push esi
push eax
call fcn.0043a450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43af10
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3d8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x43af37
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43af41
xor edx, edx
mov word [esp + 0x120], dx
mov esi, dword [0x4db160]
xor eax, eax
mov word [esp + 0x20], ax
test esi, esi
je 0x43aff8
cmp byte [esi + 0x12], 0
je 0x43af99
mov ecx, dword [esi]
push ecx
call fcn.0047a4b0
add esp, 4
sub eax, 0
je 0x43af7d
dec eax
je 0x43af76
mov eax, 0x4b95b8
jmp 0x43af82
mov edx, dword [esi]
mov eax, dword [edx + 4]
jmp 0x43af82
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
push 0x4ba490
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0047f840
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x43af56
cmp word [esp + 0x20], si
je 0x43aff8
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43afb0
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x43afe6
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4b5278
push edi
call fcn.0049cb74
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x43aff8
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x43aff8
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4d81d0]
cmp byte [eax + 0xf8], 0
je 0x43b017
cmp byte [0x4db1a5], 0
mov dword [esp + 0x14], 1
je 0x43b01f
mov dword [esp + 0x14], 0
mov eax, dword [0x4d9814]
mov dword [esp + 0x18], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x43b13d
mov dword [esp + 0x18], 0x4af9bc
xor ebp, ebp
cmp dword [0x4d97d4], 0
mov edi, 0x4b2e40
je 0x43b052
mov edi, 0x4b2e38
cmp dword [0x4d97d0], 0
mov esi, 0x4b2e40
je 0x43b065
mov esi, 0x4b2e38
push 1
call fcn.00418970
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00418d60
mov ecx, dword [0x4d9810]
mov edx, dword [0x4d9814]
push eax
mov eax, dword [0x4d9818]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [0x4db168]
push ecx
mov ecx, dword [0x4db16c]
push ebp
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push edi
mov edi, dword [esp + 0x414]
push esi
lea edx, [esp + 0x14c]
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.0047f800
lea esi, [edi + eax*2]
mov eax, esi
mov ebx, edi
sub eax, ebx
sar eax, 1
mov ecx, 0xfffe
add esp, 0x34
sub ecx, eax
push ecx
push esi
call fcn.0040ec00
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b0f2
sub eax, edx
sar eax, 1
cmp dword [0x4d9eb8], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x43b117
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
mov edx, edi
sub edx, ebx
sar edx, 1
mov esi, 0xfffe
push eax
sub esi, edx
call fcn.0047f800
add esp, 4
lea eax, [edi + eax*2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3d8
ret 4
lea ebp, [eax - 1]
jmp 0x43b03f
Function at 0x440c80
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x20]
call fcn.0044de80
mov edi, eax
test edi, edi
je 0x440ca9
mov esi, dword [esp + 0x18]
push edi
call fcn.004845a0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x440cf2
mov ecx, dword [0x4d5b14]
test byte [ecx + 0x100], 1
jne 0x440cd6
mov edx, dword [0x4d9ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b360c
push edx
call fcn.00482b90
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ebx, dword [esp + 0x14]
push 0x4af9bc
push 0
push 0x4b360c
call fcn.00439d00
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x440d2a
cmp ebp, dword [0x4da6a8]
je 0x440d2a
mov esi, edi
call fcn.00484ae0
test al, al
jne 0x440d2a
mov eax, dword [0x4da6a8]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x440d68
mov edx, dword [0x4d9ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9cc
push edx
call fcn.00482b90
mov eax, dword [0x4d5b14]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x440d68
push 1
push eax
call fcn.004014c0
add esp, 8
test bl, bl
je 0x440d7c
mov ecx, dword [0x4da6a8]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
Function at 0x441ac0
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 ebx, ecx
call fcn.0041c3f0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x441af5
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0043a170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x441aff
jmp dword [eax*4 + 0x441cf0]
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x441b16
call fcn.0045f650
jmp 0x441b1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4d9ea8]
call fcn.00401140
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
call fcn.0045f650
mov ebx, eax
test ebx, ebx
je 0x441b90
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x441b90
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 [0x4d9ea8]
push 0x18
push 0
push esi
call fcn.00401140
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4d9ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9cc
push eax
call fcn.00482b90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx ecx, word [ebx]
push ecx
call fcn.0049c133
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x441bcd.67
movzx edx, byte [eax + 0x441d20]
jmp dword [edx*4 + 0x441d04]
mov esi, 0x40
jmp 0x441bfc
mov esi, 0x4000
jmp 0x441bfc
mov esi, 0x20
jmp 0x441bfc
mov esi, 0x8000
jmp 0x441bfc
mov esi, 0x80
jmp 0x441bfc
mov esi, pe_nt_image_headers32
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x441c0c
call fcn.0045f650
jmp 0x441c12
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x441b90
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x441b90
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x441b64
mov ecx, dword [0x4d9ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9cc
push ecx
call fcn.00482b90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [ebx], 0
je 0x441c8c
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.0041a400
fmul qword [0x4cedc8]
call fcn.004aa430
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x441c93
mov byte [esp + 0xf], 1
xor edi, edi
mov ebx, dword [ebp + 0xc]
call fcn.0045f650
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x441cae
test esi, esi
jne 0x441b73
jmp 0x441cb6
test esi, esi
je 0x441b90
cmp byte [esp + 0xf], 0
jne 0x441cd4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x441b73
push 1
push 0x64
call fcn.004014c0
add esp, 8
jmp 0x441c93
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4425b0
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4d95e0]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.0044de80
mov edi, eax
test edi, edi
je 0x4425d6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [eax + 1]
jmp 0x4425db
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.00482b90
cmp eax, 1
je 0x4425f9
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x44268b
push ebp
push 0
push 1
call fcn.00401280
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x442622
mov edi, dword [esi + 0xc]
jmp 0x442624
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x44263c
test byte [edi + 0x15], 8
je 0x442637
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x442641
mov eax, 0x4db3d4
lea edx, [ebp + ebp]
mov dword [eax], edx
cmp byte [esi + 0x17], 0
jne 0x442652
mov edi, dword [esi + 0xc]
jmp 0x442654
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x44266c
test byte [edi + 0x15], 8
je 0x442667
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x442671
mov eax, 0x4db3d4
test dword [eax], 0xfffffffe
jne 0x4426c8
push 0
push 1
mov ecx, esi
call fcn.00401280
xor ecx, ecx
mov word [eax], cx
jmp 0x4426c8
push 0
push 1
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], dl
jne 0x4426a3
mov edi, dword [esi + 0xc]
jmp 0x4426a5
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x4426bd
test byte [edi + 0x15], 8
je 0x4426b8
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x4426c2
mov eax, 0x4db3d4
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x4426d1
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4426f1
cmp dword [0x4db21c], 0
je 0x4426f1
mov ecx, 0x4db210
call fcn.004050c0
pop edi
pop esi
pop ebp
pop ecx
ret 4
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4

Function at 0x443480
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004a78d0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
mov esi, dword [0x4d95e0]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x443534
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.00482b90
test eax, eax
jne 0x4434d2
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401280
push eax
push ebx
call ebp
test eax, eax
jne 0x4434f5
push eax
push 1
mov ecx, esi
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], 0
jne 0x4434fe
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x443521
cmp dword [0x4db21c], 0
je 0x443521
mov ecx, 0x4db210
call fcn.004050c0
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x443541
mov eax, 0x4af9bc
push 1
push 0
push edi
push eax
push esi
call fcn.00482b90
pop edi
pop esi
pop ebp
add esp, 0x10000
ret