joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4145e0
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x41463d
je 0x41463a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41464e.286
movzx eax, byte [eax + 0x4146e8]
jmp dword [eax*4 + 0x41469c]
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.0x41464e.286
movzx edx, byte [eax + 0x414748]
jmp dword [edx*4 + 0x414720]
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_MapVirtualKeyA]
test ebx, 0x100
je 0x414690
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x414698
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

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

Disassembly:
mov dword [0x4ad218], eax
mov edx, 1
mov eax, 0x4ad218
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, 0x4adbd4
jl 0x4147a0
mov dword [0x4aa8e8], 1
mov dword [0x4aebb0], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4aebb0], 0
push esi
mov esi, 0x4ad218
jne 0x4147fa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00414790
mov dword [0x4aa8e8], 0x270
mov dword [0x4ad214], 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 0x414810
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 0x414845
mov ecx, dword [esi]
mov eax, dword [0x4ad218]
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 0x4148b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4aa8e8]
jne 0x4148bd
call fcn.004147e0
mov eax, dword [0x4ad214]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ad214], 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 0x414900
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4aa8e8]
jne 0x41490e
call fcn.004147e0
mov ecx, dword [0x4ad214]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4ad214], 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 0x414955
fadd qword [0x4a3f38]
fmul qword [0x4a3f78]
pop ecx
ret
Function at 0x4178a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4aa908]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
push esi
push edi
push eax
call fcn.00488777
add esp, 4
mov dword [0x4acea0], eax
test eax, eax
jne 0x4178c9
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4aa988]
push 0x403c40
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ae2d8]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4aa988], eax
call edi
cmp dword [0x4af278], 0
jne 0x41790b
mov ebx, 1
jmp 0x4179bb
mov edx, dword [0x4aa988]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], 0
call esi
cmp byte [0x4ae436], 0
mov ecx, dword [0x4aa988]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
jne 0x41795b
mov eax, dword [0x4ae2d8]
push 0x403aa0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4ae436], cl
mov byte [0x4af895], 1
call esi
mov ecx, dword [0x4af278]
push 0
mov esi, 1
add dword [0x4ae44c], esi
push 0
push esi
mov dword [0x4af8b4], eax
mov dword [0x4af8b0], eax
call fcn.00426660
sub dword [0x4ae44c], esi
cmp byte [0x4ae436], 0
mov ebx, eax
je 0x4179b4
mov edx, dword [0x4ae2d8]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4179b4
mov byte [0x4ae436], 0
mov byte [0x4af895], 0
mov ebp, dword [0x4aa988]
cmp dword [ebp + 0xe4], 0
je 0x417a15
mov eax, dword [ebp + 0xe4]
cmp dword [eax + 8], 6
jne 0x4179e0
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0xe4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4179f6
push eax
call fcn.004883b8
add esp, 4
mov ecx, dword [ebp + 0xe4]
push ecx
call fcn.00488118
mov dword [ebp + 0xe4], 0
mov ebp, dword [0x4aa988]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xcc], 1
push 0x49b8e8
mov ecx, 0x3a
mov esi, ebp
mov edi, 0x4acf90
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [ebp + 0xcc], 1
mov dword [ebp + 0xc0], 0
mov word [ebp + 0xcd], 1
mov dword [ebp + 0x2c], CreateStatusWindowA
call fcn.004780a0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x417aa0
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, 0xa4
push ebx
xor ebx, ebx
push esi
push edi
mov dword [eax + 0x5d4], ecx
cmp byte [0x4afab7], bl
jne 0x417c3c
cmp byte [eax + 0x61c], bl
je 0x417c3c
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4aeae0]
push ebx
push 1
mov dword [0x4b0508], eax
call fcn.00401270
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0048adb0
mov eax, dword [0x4aa988]
inc dword [0x4ae44c]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], bl
mov ecx, 0x3a
mov esi, 0x4acf90
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4aa988], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4af278
call fcn.004177a0
mov dword [0x4af8a0], ebx
mov dword [0x4af8a4], ebx
cmp dword [0x4ae480], ebx
je 0x417b62
mov eax, dword [0x4ababc]
cmp eax, ebx
je 0x417b56
mov eax, dword [eax]
cmp eax, ebx
jne 0x417b5b
mov eax, 0x49b8cd
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x5c8]
mov edi, dword [0x4aa8fc]
mov dword [0x4aa8fc], ebx
mov byte [0x4afab7], 1
mov byte [esp + 0xf], 1
mov byte [0x4abe78], bl
cmp ecx, ebx
je 0x417ba2
call fcn.004012e0
test eax, eax
je 0x417ba2
cmp byte [0x4abe78], bl
jne 0x417ba2
mov byte [esp + 0xf], bl
mov byte [0x4abe78], 1
cmp byte [esp + 0xf], bl
je 0x417bfb
mov dword [esp + 0x18], ebx
call fcn.00444000
mov dword [esp + 0x10], eax
mov eax, dword [0x4b0508]
cdq
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [esi + 0x5c8], ebx
mov dword [esp + 0x20], eax
sete dl
lea eax, [esp + 0x10]
lea ebx, [esi + 0x594]
mov dword [esp + 0x28], 1
push edx
push 2
push eax
call fcn.00470350
xor ebx, ebx
cmp eax, 3
jne 0x417bfb
mov byte [esp + 0xf], bl
mov byte [0x4afab7], bl
cmp byte [esp + 0xf], bl
jne 0x417c2e
cmp dword [ebp + 0xc], 0xffffffff
jle 0x417c2e
lea ecx, [esp + 0x30]
push ecx
call fcn.00403910
add esp, 4
mov dword [0x4aa8fc], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.00417c80
cmp byte [0x4abe78], bl
jne 0x417c71
cmp ecx, 6
jne 0x417c71
mov ecx, dword [0x4ae270]
cmp byte [ecx], bl
je 0x417c5c
mov edx, dword [ebp + 0x10]
mov dword [0x4b0508], edx
pop edi
pop esi
mov byte [0x4abe78], 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.00417c80
int3
Function at 0x418190
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_FindResourceA]
mov esi, eax
test esi, esi
je 0x41823a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x41823a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41823a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 8], eax
test eax, eax
je 0x41823a
push 0x44
call fcn.004897e5
add esp, 4
test eax, eax
je 0x418204
mov esi, eax
call fcn.00416970
mov ecx, eax
jmp 0x418206
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
push 0xc
mov eax, 0xfde9
lea edx, [esp + 0xc]
call fcn.00472990
mov ecx, dword [0x4af878]
inc dword [0x4af1f8]
mov dword [0x4ae268], 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, 0x4af278
call fcn.0042fd40
pop esi
add esp, 0x10
ret 8
Function at 0x41e0a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4aa3b3]
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 dword [esp + 0x1e], 0x7b3f2e
mov edi, ebp
test ebp, ebp
je 0x41e10a
mov dl, byte [ebp]
test dl, dl
je 0x41e10a
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41e15e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41e0f6
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41e0f0
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e110
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41e130
mov al, byte [edi]
cmp al, 0x20
je 0x41e12b
cmp al, 9
jne 0x41e130
dec edi
cmp edi, ebp
ja 0x41e121
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41e165
cmp byte [esp + 0x30], 0
je 0x41e153
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042fd40
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41e130
dec edi
jmp 0x41e11d
push esi
push ebp
push ebx
call fcn.0048adb0
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x430290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004
call fcn.004946e0
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
jne 0x4302b6
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x374]
test ebx, ebx
je 0x4302c0
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x4302cd
mov ecx, dword [eax + 0x170]
movzx eax, word [eax + 0x174]
cmp dword [ebp + 0xc], 0
je 0x43038b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0x4ae268]
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.00474f40
mov esi, dword [ebp + 0x14]
add esp, 0x10
cmp byte [esi], 0
lea edi, [esp + eax + 0x10]
je 0x430323
push esi
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00474f40
mov esi, dword [ebp + 0x14]
add esp, 8
mov edi, dword [ebp + 0xc]
cmp edi, 3
jne 0x430349
mov eax, dword [ebp + 8]
push 0x49e264
push 0
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0042f910
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp edi, 2
jne 0x43038b
test ebx, ebx
jne 0x43036a
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x430381
mov edx, dword [ebp + 0x10]
push esi
push 1
push edx
mov ecx, ebx
call fcn.0042faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
push esi
push eax
call fcn.0042fd40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4307a0
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 ebx, ebx
cmp eax, ebx
je 0x4307cf
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4307d6
mov byte [esp + 0xa0], bl
mov esi, dword [0x4af850]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x43087b
cmp byte [esi + 0x12], bl
je 0x430829
mov edx, dword [esi]
push edx
call fcn.00470250
add esp, 4
sub eax, ebx
je 0x43080d
dec eax
je 0x430806
mov eax, str.Object
jmp 0x430812
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x430812
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x49fe6c
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00474f80
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x4307e8
cmp byte [esp + 0x20], bl
je 0x43087b
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x430840
sub eax, edx
cmp eax, 0x7b
jbe 0x43086d
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x49de50
push ebp
call fcn.0048adb0
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x43087b
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x43087b
mov byte [eax - 1], bl
mov edx, dword [0x4acea0]
cmp byte [edx + 0xd8], bl
je 0x430899
mov dword [esp + 0x14], 1
cmp byte [0x4af895], bl
je 0x43089d
mov dword [esp + 0x14], ebx
mov eax, dword [0x4ae44c]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x4309ac
mov dword [esp + 0x10], 0x49b8cd
mov dword [esp + 0x18], ebx
mov ebp, 0x49cb38
cmp dword [0x4ae40c], ebx
je 0x4308d1
mov ebp, 0x49cb34
mov esi, 0x49cb38
cmp dword [0x4ae408], ebx
je 0x4308e3
mov esi, 0x49cb34
push 1
call fcn.00413440
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00413860
mov ecx, dword [0x4ae44c]
mov edx, dword [0x4ae450]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4ae448]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4af858]
push ecx
mov ecx, dword [0x4af85c]
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.00474f40
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.00409940
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x430970
sub eax, ecx
add edi, eax
cmp dword [0x4aeaf0], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x43098e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00474f40
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 0x4308bf
Function at 0x4366b0
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.00442f90
mov edi, eax
test edi, edi
je 0x4366de
mov esi, dword [esp + 0x1c]
push edi
call fcn.00479ac0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x436729
mov ecx, dword [0x4aa988]
test byte [ecx + 0xe0], 1
jne 0x43670c
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf30
push edx
call fcn.004780a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x49b8cd
push 0
push 0x49cf30
call fcn.0042f6a0
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 0x436761
cmp ebp, dword [0x4af260]
je 0x436761
mov esi, edi
call fcn.00479fa0
test al, al
jne 0x436761
mov eax, dword [0x4af260]
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 0x43679f
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8e8
push edx
call fcn.004780a0
mov eax, dword [0x4aa988]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43679f
push 1
push eax
call fcn.00401420
add esp, 8
test bl, bl
je 0x4367b3
mov ecx, dword [0x4af260]
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 0x4374c0
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.00431b50
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4374f5
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x4374ff
jmp dword [eax*4 + 0x4376ec]
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x437515
call fcn.00454260
jmp 0x43751b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4aeae0]
call fcn.00401130
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
call fcn.00454260
mov ebx, eax
test ebx, ebx
je 0x43758f
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43758f
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 [0x4aeae0]
push 0x18
push 0
push esi
call fcn.00401130
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8e8
push eax
call fcn.004780a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx ecx, byte [ebx]
push ecx
call fcn.0048a69b
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x4375c9.67
movzx edx, byte [eax + 0x43771c]
jmp dword [edx*4 + 0x437700]
mov esi, 0x40
jmp 0x4375f8
mov esi, 0x4000
jmp 0x4375f8
mov esi, 0x20
jmp 0x4375f8
mov esi, 0x8000
jmp 0x4375f8
mov esi, 0x80
jmp 0x4375f8
mov esi, 0x100
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x437607
call fcn.00454260
jmp 0x43760d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x43758f
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43758f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x437563
mov ecx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8e8
push ecx
call fcn.004780a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx], 0
je 0x437686
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.00414da0
fmul qword [0x4a3f68]
call fcn.004969b0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x437690
mov byte [esp + 0xf], 1
xor edi, edi
lea ecx, [ecx]
mov ebx, dword [ebp + 0xc]
call fcn.00454260
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x4376ab
test esi, esi
jne 0x437572
jmp 0x4376b3
test esi, esi
je 0x43758f
cmp byte [esp + 0xf], 0
jne 0x4376d1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x437572
push 1
push 0x64
call fcn.00401420
add esp, 8
jmp 0x437690
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437f20
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4ae218]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.00442f90
mov edi, eax
test edi, edi
je 0x437f46
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebp, [eax + 1]
jmp 0x437f4b
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.004780a0
cmp eax, 1
je 0x437f69
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x437fee
push ebp
push 0
push 1
call fcn.00401270
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x437f8e
mov edi, dword [esi + 0xc]
jmp 0x437f90
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x437fa8
test byte [edi + 0x15], 8
je 0x437fa3
mov eax, edi
call fcn.004011b0
lea eax, [edi + 0xc]
jmp 0x437fad
mov eax, 0x4afab0
mov dword [eax], ebp
cmp byte [esi + 0x17], 0
jne 0x437fba
mov edi, dword [esi + 0xc]
jmp 0x437fbc
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x437fd4
test byte [edi + 0x15], 8
je 0x437fcf
mov eax, edi
call fcn.004011b0
lea eax, [edi + 0xc]
jmp 0x437fd9
mov eax, 0x4afab0
cmp dword [eax], 0
jne 0x43802a
push 0
push 1
mov ecx, esi
call fcn.00401270
mov byte [eax], 0
jmp 0x43802a
push 0
push 1
call fcn.00401270
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x438005
mov edi, dword [esi + 0xc]
jmp 0x438007
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x43801f
test byte [edi + 0x15], 8
je 0x43801a
mov eax, edi
call fcn.004011b0
lea eax, [edi + 0xc]
jmp 0x438024
mov eax, 0x4afab0
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x438033
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x438055
cmp dword [0x4af904], 0
je 0x438055
push 1
mov ecx, 0x4af8f8
call fcn.004048f0
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 0x438de0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.004946e0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
mov esi, dword [0x4ae218]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x438e94
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.004780a0
test eax, eax
jne 0x438e32
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401270
push eax
push ebx
call ebp
test eax, eax
jne 0x438e53
push eax
push 1
mov ecx, esi
call fcn.00401270
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x438e5c
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x438e81
cmp dword [0x4af904], 0
je 0x438e81
push 1
mov ecx, 0x4af8f8
call fcn.004048f0
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x8000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x438ea1
mov eax, 0x49b8cd
push 1
push 0
push edi
push eax
push esi
call fcn.004780a0
pop edi
pop esi
pop ebp
add esp, 0x8000
ret