joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414ec0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4cbe30], 0
push esi
mov esi, 0x4ca498
jne 0x414eda
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00414e70
mov dword [0x4c7948], 0x270
mov dword [0x4ca494], esi
mov ecx, 0xe3
nop
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x414ef0
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x414f25
mov ecx, dword [esi]
mov eax, dword [0x4ca498]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

Function at 0x414f90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4c7948]
jne 0x414f9d
call fcn.00414ec0
mov eax, dword [0x4ca494]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ca494], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x414fe0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4c7948]
jne 0x414fee
call fcn.00414ec0
mov ecx, dword [0x4ca494]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4ca494], 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 0x415035
fadd qword [0x4c1ec0]
fmul qword [0x4c1f00]
pop ecx
ret
Function at 0x417fd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4c7968]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
push esi
push edi
push eax
call fcn.00490f24
add esp, 4
mov dword [0x4ca088], eax
test eax, eax
jne 0x417ff9
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4c7a54]
push 0x403c90
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4cb558]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4c7a54], eax
call edi
cmp dword [0x4cc518], 0
jne 0x41803b
mov ebx, 1
jmp 0x4180eb
mov edx, dword [0x4c7a54]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xec], 0
call esi
cmp byte [0x4cb6b6], 0
mov ecx, dword [0x4c7a54]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x41808b
mov eax, dword [0x4cb558]
push 0x403af0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4cb6b6], cl
mov byte [0x4ccffd], 1
call esi
mov ecx, dword [0x4cc518]
push 0
mov esi, 1
add dword [0x4cb6cc], esi
push 0
push esi
mov dword [0x4cd01c], eax
mov dword [0x4cd018], eax
call fcn.00427490
sub dword [0x4cb6cc], esi
cmp byte [0x4cb6b6], 0
mov ebx, eax
je 0x4180e4
mov edx, dword [0x4cb558]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4180e4
mov byte [0x4cb6b6], 0
mov byte [0x4ccffd], 0
mov ebp, dword [0x4c7a54]
cmp dword [ebp + 0x104], 0
je 0x418145
mov eax, dword [ebp + 0x104]
cmp dword [eax + 8], 6
jne 0x418110
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 0x418126
push eax
call fcn.00491536
add esp, 4
mov ecx, dword [ebp + 0x104]
push ecx
call fcn.0049152b
mov dword [ebp + 0x104], 0
mov ebp, dword [0x4c7a54]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4cbd60]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xec], 1
push 0x4a4930
mov ecx, 0x42
mov esi, ebp
mov edi, 0x4ca198
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], SysStringLen
call fcn.0047a5f0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x4181d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub esp, 0x124
push ebx
xor ebx, ebx
push esi
push edi
mov dword [eax + 0xa9c], ecx
cmp byte [0x4cd20f], bl
jne 0x41836f
cmp byte [eax + 0xae4], bl
je 0x41836f
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4cbd60]
push ebx
push 1
mov dword [0x4cdd9c], eax
call fcn.00401280
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004937a4
mov eax, dword [0x4c7a54]
inc dword [0x4cb6cc]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x13a], dx
mov ecx, 0x42
mov esi, 0x4ca198
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4c7a54], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4cc518
call fcn.00417ed0
mov dword [0x4cd008], ebx
mov dword [0x4cd00c], ebx
cmp dword [0x4cb700], ebx
je 0x418295
mov eax, dword [0x4c8b88]
cmp eax, ebx
je 0x418289
mov eax, dword [eax]
cmp eax, ebx
jne 0x41828e
mov eax, 0x4a48a0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xa90]
mov edi, dword [0x4c795c]
mov dword [0x4c795c], ebx
mov byte [0x4cd20f], 1
mov byte [esp + 0xf], 1
mov byte [0x4c8f18], bl
cmp ecx, ebx
je 0x4182d5
call fcn.004012f0
test eax, eax
je 0x4182d5
cmp byte [0x4c8f18], bl
jne 0x4182d5
mov byte [esp + 0xf], bl
mov byte [0x4c8f18], 1
cmp byte [esp + 0xf], bl
je 0x41832e
mov dword [esp + 0x18], ebx
call fcn.00445ca0
mov dword [esp + 0x10], eax
mov eax, dword [0x4cdd9c]
cdq
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esi + 0xa90], ebx
lea ecx, [esp + 0x10]
sete al
lea ebx, [esi + 0xa5c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], edx
push eax
push 2
push ecx
call fcn.004724b0
xor ebx, ebx
cmp eax, 3
jne 0x41832e
mov byte [esp + 0xf], bl
mov byte [0x4cd20f], bl
cmp byte [esp + 0xf], bl
jne 0x418361
cmp dword [ebp + 0xc], 0xffffffff
jle 0x418361
lea edx, [esp + 0x30]
push edx
call fcn.00403960
add esp, 4
mov dword [0x4c795c], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
call fcn.004183b0
cmp byte [0x4c8f18], bl
jne 0x4183a4
cmp ecx, 6
jne 0x4183a4
mov edx, dword [0x4cb4f0]
cmp word [edx], bx
je 0x41838f
mov eax, dword [ebp + 0x10]
mov dword [0x4cdd9c], eax
pop edi
pop esi
mov byte [0x4c8f18], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push edx
push ecx
push eax
call fcn.004183b0
int3
Function at 0x4188e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push esi
push 0xa
push str._AUTOHOTKEY_SCRIPT_
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41898a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x41898a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41898a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 8], eax
test eax, eax
je 0x41898a
push 0x44
call fcn.00492048
add esp, 4
test eax, eax
je 0x418954
mov esi, eax
call fcn.004170f0
mov ecx, eax
jmp 0x418956
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
push 0xc
mov eax, 0xfde9
lea edx, [esp + 0xc]
call fcn.00474d50
mov ecx, dword [0x4ccfe0]
inc dword [0x4cc478]
mov dword [0x4cb4e8], ecx
mov eax, 3
pop esi
add esp, 0x10
ret 8
mov edx, dword [esp + 0x1c]
push edx
push str.Could_not_extract_script_from_EXE.
mov ecx, 0x4cc518
call fcn.00430bd0
pop esi
add esp, 0x10
ret 8
Function at 0x41ec30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4c7978]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
push esi
mov word [esp + 0xc], ax
push edi
lea ebx, [esp + 0x10]
mov eax, ebp
mov word [esp + 0x12], cx
mov dword [esp + 0x14], 0x90028
mov dword [esp + 0x18], 0x3e003c
mov dword [esp + 0x1c], 0x3d003a
mov dword [esp + 0x20], 0x2d002b
mov dword [esp + 0x24], 0x2f002a
mov dword [esp + 0x28], 0x7e0021
mov dword [esp + 0x2c], 0x7c0026
mov dword [esp + 0x30], 0x5b005e
mov dword [esp + 0x34], 0x3f002e
mov dword [esp + 0x38], 0x7b
call fcn.00409e00
test eax, eax
je 0x41ecb9
cmp eax, ebp
jbe 0x41ecd3
sub eax, 2
jmp 0x41ecd3
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ecc0
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 2]
mov edi, eax
cmp eax, ebp
jbe 0x41ecf4
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x41eced
cmp eax, 9
jne 0x41ecf4
sub edi, 2
cmp edi, ebp
ja 0x41ece0
mov esi, edi
sub esi, ebp
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x41ed25
cmp byte [esp + 0x4c], 0
je 0x41ed19
mov ecx, dword [esp + 0x40]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.00430bd0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov ebx, dword [esp + 0x44]
push esi
push ebp
push ebx
call fcn.004937a4
add esp, 0xc
xor ecx, ecx
mov eax, edi
pop edi
mov word [ebx + esi*2], cx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x431140
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4004
call fcn.0049bf10
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
jne 0x431166
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x634]
test ebx, ebx
je 0x431170
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43117d
mov ecx, dword [eax + 0x270]
movzx eax, word [eax + 0x274]
cmp dword [ebp + 0xc], 0
je 0x431244
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0x4cb4e8]
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.004772c0
mov esi, dword [ebp + 0x14]
add esp, 0x10
cmp word [esi], 0
lea edi, [esp + eax*2 + 0x10]
je 0x4311dc
lea eax, [esp + 0x10]
mov edx, edi
push esi
sub edx, eax
sar edx, 1
mov esi, 0x2000
push str._____Specifically:__s_n
sub esi, edx
call fcn.004772c0
mov esi, dword [ebp + 0x14]
add esp, 8
mov edi, dword [ebp + 0xc]
cmp edi, 3
jne 0x431202
mov edx, dword [ebp + 8]
push 0x4a9684
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00430790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 2
jne 0x431244
test ebx, ebx
jne 0x431223
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43123a
mov ecx, dword [ebp + 0x10]
push esi
push 1
push ecx
mov ecx, ebx
call fcn.00430920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
push esi
push edx
call fcn.00430bd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431660
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 0x431687
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x431691
xor edx, edx
mov word [esp + 0x120], dx
mov esi, dword [0x4ccfb8]
xor eax, eax
mov word [esp + 0x20], ax
test esi, esi
je 0x431748
cmp byte [esi + 0x12], 0
je 0x4316e9
mov ecx, dword [esi]
push ecx
call fcn.004723b0
add esp, 4
sub eax, 0
je 0x4316cd
dec eax
je 0x4316c6
mov eax, str.Object
jmp 0x4316d2
mov edx, dword [esi]
mov eax, dword [edx + 4]
jmp 0x4316d2
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
push 0x4acc20
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00477300
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4316a6
cmp word [esp + 0x20], si
je 0x431748
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431700
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x431736
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4a8fa4
push edi
call fcn.004937a4
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x431748
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x431748
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4ca088]
cmp byte [eax + 0xf8], 0
je 0x431767
cmp byte [0x4ccffd], 0
mov dword [esp + 0x14], 1
je 0x43176f
mov dword [esp + 0x14], 0
mov eax, dword [0x4cb6cc]
mov dword [esp + 0x18], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x43188d
mov dword [esp + 0x18], 0x4a48a0
xor ebp, ebp
cmp dword [0x4cb68c], 0
mov edi, 0x4a6b58
je 0x4317a2
mov edi, 0x4a6b50
cmp dword [0x4cb688], 0
mov esi, 0x4a6b58
je 0x4317b5
mov esi, 0x4a6b50
push 1
call fcn.00413960
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00413d80
mov ecx, dword [0x4cb6c8]
mov edx, dword [0x4cb6cc]
push eax
mov eax, dword [0x4cb6d0]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [0x4ccfc0]
push ecx
mov ecx, dword [0x4ccfc4]
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.004772c0
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.00409af0
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431842
sub eax, edx
sar eax, 1
cmp dword [0x4cbd70], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x431867
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.004772c0
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 0x43178f
Function at 0x437cb0
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.00444b00
mov edi, eax
test edi, edi
je 0x437cde
mov esi, dword [esp + 0x1c]
push edi
call fcn.0047bfa0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x437d29
mov ecx, dword [0x4c7a54]
test byte [ecx + 0x100], 1
jne 0x437d0c
mov edx, dword [0x4cbd60]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7324
push edx
call fcn.0047a5f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x4a48a0
push 0
push 0x4a7324
call fcn.00430520
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 0x437d61
cmp ebp, dword [0x4cc4e4]
je 0x437d61
mov esi, edi
call fcn.0047c4e0
test al, al
jne 0x437d61
mov eax, dword [0x4cc4e4]
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 0x437d9f
mov edx, dword [0x4cbd60]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4930
push edx
call fcn.0047a5f0
mov eax, dword [0x4c7a54]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x437d9f
push 1
push eax
call fcn.00401430
add esp, 8
test bl, bl
je 0x437db3
mov ecx, dword [0x4cc4e4]
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 0x438ae0
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.00432a60
mov dword [esp + 0x10], eax
test eax, eax
jne 0x438b15
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.00430920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x438b1f
jmp dword [eax*4 + 0x438d10]
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x438b36
call fcn.00456780
jmp 0x438b3c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4cbd60]
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.00456780
mov ebx, eax
test ebx, ebx
je 0x438bb0
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x438bb0
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 [0x4cbd60]
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 [0x4cbd60]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4930
push eax
call fcn.0047a5f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx ecx, word [ebx]
push ecx
call fcn.00492c6d
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x438bed.67
movzx edx, byte [eax + 0x438d40]
jmp dword [edx*4 + 0x438d24]
mov esi, 0x40
jmp 0x438c1c
mov esi, 0x4000
jmp 0x438c1c
mov esi, 0x20
jmp 0x438c1c
mov esi, 0x8000
jmp 0x438c1c
mov esi, 0x80
jmp 0x438c1c
mov esi, 0x100
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x438c2c
call fcn.00456780
jmp 0x438c32
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x438bb0
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x438bb0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x438b84
mov ecx, dword [0x4cbd60]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4930
push ecx
call fcn.0047a5f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [ebx], 0
je 0x438cac
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.00415450
fmul qword [0x4c1ee8]
call fcn.0049f490
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x438cb3
mov byte [esp + 0xf], 1
xor edi, edi
mov ebx, dword [ebp + 0xc]
call fcn.00456780
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x438cce
test esi, esi
jne 0x438b93
jmp 0x438cd6
test esi, esi
je 0x438bb0
cmp byte [esp + 0xf], 0
jne 0x438cf4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x438b93
push 1
push 0x64
call fcn.00401430
add esp, 8
jmp 0x438cb3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x439580
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4cb498]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.00444b00
mov edi, eax
test edi, edi
je 0x4395a6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [eax + 1]
jmp 0x4395ab
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.0047a5f0
cmp eax, 1
je 0x4395c9
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x43965b
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 0x4395f2
mov edi, dword [esi + 0xc]
jmp 0x4395f4
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x43960c
test byte [edi + 0x15], 8
je 0x439607
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x439611
mov eax, 0x4cd208
lea edx, [ebp + ebp]
mov dword [eax], edx
cmp byte [esi + 0x17], 0
jne 0x439622
mov edi, dword [esi + 0xc]
jmp 0x439624
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x43963c
test byte [edi + 0x15], 8
je 0x439637
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x439641
mov eax, 0x4cd208
test dword [eax], 0xfffffffe
jne 0x439698
push 0
push 1
mov ecx, esi
call fcn.00401280
xor ecx, ecx
mov word [eax], cx
jmp 0x439698
push 0
push 1
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], dl
jne 0x439673
mov edi, dword [esi + 0xc]
jmp 0x439675
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x43968d
test byte [edi + 0x15], 8
je 0x439688
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x439692
mov eax, 0x4cd208
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x4396a1
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4396c1
cmp dword [0x4cc508], 0
je 0x4396c1
mov ecx, 0x4cc4fc
call fcn.004047e0
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 0x43a450
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.0049bf10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
mov esi, dword [0x4cb498]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x43a504
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.0047a5f0
test eax, eax
jne 0x43a4a2
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 0x43a4c5
push eax
push 1
mov ecx, esi
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], 0
jne 0x43a4ce
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x43a4f1
cmp dword [0x4cc508], 0
je 0x43a4f1
mov ecx, 0x4cc4fc
call fcn.004047e0
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 0x43a511
mov eax, 0x4a48a0
push 1
push 0
push edi
push eax
push esi
call fcn.0047a5f0
pop edi
pop esi
pop ebp
add esp, 0x10000
ret