joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404700
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4ae298], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x404718
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x404765
cmp ebx, 0xffffffff
jne 0x404732
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404727
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x404765
push edi
lea edi, [ebx + 1]
mov esi, 0x4ae28c
call fcn.00404780
pop edi
test eax, eax
jne 0x40474f
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4ae298]
push ebx
push ebp
push eax
mov esi, eax
call fcn.0048a520
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4ae28c
jmp fcn.004047f0

Function at 0x4049d0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x108
test esi, esi
je 0x4049e0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x404aaf
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.00487b4d
add esp, 0xc
test eax, eax
je 0x404aa6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00487791
add esp, 8
test eax, eax
je 0x404aa6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00487791
add esp, 8
test eax, eax
je 0x404aa6
lea edx, [esp]
push str.Native
push edx
call fcn.00487791
add esp, 8
test eax, eax
je 0x404aa6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00487791
add esp, 8
test eax, eax
je 0x404aa6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.00487791
add esp, 8
test eax, eax
je 0x404a9c
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.00487791
add esp, 8
test eax, eax
jne 0x404ab3
test esi, esi
je 0x404aa6
mov dword [esi], 1
xor eax, eax
add esp, 0x108
ret
mov byte [esp], 0
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x108
ret

Function at 0x404ad0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ecx + 0x18], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
jne 0x404b5a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
mov eax, dword [0x4ad2ec]
push eax
call ebx
test eax, eax
jne 0x404b4f
mov eax, dword [0x4a98e8]
cmp eax, 0xffffffff
je 0x404b1f
test eax, eax
je 0x404b66
call esi
mov ecx, dword [0x4a98e8]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x404b66
push 1
push 0x8000012f
mov dword [0x4a98ec], 0
call fcn.004013c0
mov edx, dword [0x4ad2ec]
add esp, 8
push edx
mov dword [0x4a98ec], 1
call ebx
test eax, eax
je 0x404b00
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
xor al, al
cmp dword [0x4ad41c], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408d44
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4ad420], 0
je 0x408d53
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408f60
test al, al
jne 0x408d96
cmp byte [ebp + 0xc], al
jne 0x408d96
push 0x4ac1f8
push 0
push 0
push 0x409050
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4adb1c], eax
test eax, eax
je 0x408e27
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
movzx ebx, byte [ebp + 8]
xor eax, eax
xor esi, esi
cmp byte [ebp + 0xc], al
sete al
mov edi, eax
mov ecx, dword [0x4ac1f8]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x408dcc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x408da6
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x1f], 0
call edi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, eax
cmp byte [ebp + 8], 0
je 0x408e33
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x408e9a
cmp dword [esp + 0x2c], 0
je 0x408e42
mov byte [esp + 0x1f], 1
call fcn.00409370
test al, al
jne 0x408e42
cmp byte [ebp + 0xc], al
jne 0x408f2e
mov byte [ebp + 8], al
jmp 0x408de1
call fcn.00409390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x408e7e
call fcn.00409370
test al, al
jne 0x408e9a
cmp byte [ebp + 0xc], 0
jne 0x408f27
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4ad41c], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
je 0x408ed2
test byte [esp + 0x1e], 1
jne 0x408eeb
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4adb14], eax
jmp 0x408eeb
mov ecx, dword [0x4adb1c]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408eb2
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408e42
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408de1
mov edx, dword [0x4adb1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4adb1c], 0
call fcn.00409390
jmp 0x408e52
test byte [esp + 0x1e], 1
je 0x408eeb
mov eax, dword [0x4adb14]
push eax
call edi
mov dword [0x4adb14], 0
cmp dword [0x4ad420], 0
je 0x408f0d
test byte [esp + 0x1e], 2
jne 0x408f27
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4adb18], eax
jmp 0x408f27
test byte [esp + 0x1e], 2
je 0x408f27
mov ecx, dword [0x4adb18]
push ecx
call edi
mov dword [0x4adb18], 0
cmp byte [esp + 0x1f], 0
je 0x408f60
fldz
sub esp, 8
fstp qword [esp]
mov dword [0x4a98ec], 0
push 0
push 0
push 0x10000
push str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
call fcn.00479130
add esp, 0x18
mov dword [0x4a98ec], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a970
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x80c
cmp byte [0x4aeab0], 0
push ebx
push ebp
mov ebp, dword [esp + 0x81c]
push esi
push edi
jne 0x40aae0
cmp dword [0x4adb38], 0
jne 0x40a9a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4adb38], eax
mov ebx, 1
add dword [0x4aeab4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4aeab4]
mov esi, dword [0x4a9900]
mov ecx, eax
sub ecx, dword [0x4adb38]
mov dword [0x4adb3c], eax
cmp edx, dword [0x4a98fc]
jbe 0x40a9d8
cmp ecx, esi
jb 0x40aa3c
xor edx, edx
cmp ecx, esi
jbe 0x40a9f5
mov dword [0x4aeab4], 0
mov dword [0x4adb38], eax
test edx, edx
jne 0x40aae0
mov esi, dword [esp + 0x820]
mov cl, byte [esi + 0xf]
push 0
mov byte [0x4ae8a5], cl
mov ecx, dword [ebp]
add byte [ebp + 0x16], bl
push 0
push str.call
push ecx
xor eax, eax
xor edx, edx
call fcn.0046c9f0
dec byte [ebp + 0x16]
add esp, 0x10
test eax, eax
jne 0x40aaae
mov byte [ebp + 0x1b], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80c
ret 8
push ecx
push edx
push str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
mov esi, 0x800
lea edi, [esp + 0x24]
call fcn.00474600
add esp, 0xc
call fcn.004098d0
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0
mov eax, edi
push 4
push eax
mov byte [0x4aeab0], bl
mov dword [0x4a98ec], 0
call fcn.00479130
add esp, 0x18
cmp eax, 7
jne 0x40aa95
push 0
push 4
push 0x4ae2a8
call fcn.00417530
mov eax, dword [0x4adb3c]
mov dword [0x4a98ec], ebx
mov byte [0x4aeab0], 0
mov edx, ebx
jmp 0x40a9de
cmp byte [ebp + 0x1b], 0
je 0x40aae0
mov byte [ebp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, 0x3e8
ja 0x40aae0
movzx edx, word [esi + 4]
mov eax, dword [0x4ad2ec]
push 0
push edx
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80c
ret 8
Function at 0x410440
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov cl, byte [esp + 4]
sub esp, 0x34
cmp dword [0x4adbc0], 2
push ebx
push ebp
push esi
sete bl
push edi
mov esi, eax
test bl, bl
je 0x41047d
lea eax, [esp + 0x14]
test cl, cl
jns 0x41046c
mov byte [esp + 0x14], 0x30
lea eax, [esp + 0x15]
push 0xa
push eax
movzx eax, cl
push eax
call fcn.00487422
add esp, 0xc
jmp 0x41049d
push 1
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x54]
push edx
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x410553
test esi, esi
jle 0x410553
mov ebp, esi
cmp dword [0x4adbc0], 0
jne 0x41050a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4ae8dc]
mov ecx, dword [0x4a9978]
cmp eax, dword [ecx + 0xb8]
jbe 0x41050a
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x410503
push 1
push 0xffffffffffffffff
mov dword [0x4a98ec], 0
call fcn.004013c0
add esp, 8
mov dword [0x4a98ec], 1
call esi
mov dword [0x4ae8dc], eax
test bl, bl
je 0x410519
lea eax, [esp + 0x14]
call fcn.00410560
jmp 0x41052a
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
push eax
call fcn.0040eae0
add esp, 4
cmp dword [0x4adbc0], 2
jne 0x41053e
mov ecx, dword [0x4a9978]
mov esi, dword [ecx + 0x60]
jmp 0x410547
mov edx, dword [0x4a9978]
mov esi, dword [edx + 0x5c]
call fcn.00412410
dec ebp
jne 0x4104a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x4172b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4a98f8]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
push esi
push edi
push eax
call fcn.00487b67
xor ebx, ebx
add esp, 4
mov dword [0x4abec0], eax
cmp eax, ebx
jne 0x4172dd
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4a9978]
push 0x403b80
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ad2ec]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4a9978], eax
call edi
cmp dword [0x4ae2a8], ebx
jne 0x41731e
mov ebp, 1
jmp 0x4173c7
mov edx, dword [0x4a9978]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], bl
call esi
mov ecx, dword [0x4a9978]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
cmp byte [0x4ad44a], bl
jne 0x41736c
mov eax, dword [0x4ad2ec]
push 0x4039f0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4ad44a], cl
mov byte [0x4ae8c1], 1
call esi
mov ecx, dword [0x4ae2a8]
push ebx
mov esi, 1
add dword [0x4ad460], esi
push ebx
push esi
mov dword [0x4ae8dc], eax
mov dword [0x4ae8d8], eax
call fcn.00426330
sub dword [0x4ad460], esi
mov ebp, eax
cmp byte [0x4ad44a], bl
je 0x4173c1
mov edx, dword [0x4ad2ec]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4173c1
mov byte [0x4ad44a], bl
mov byte [0x4ae8c1], bl
mov eax, dword [0x4a9978]
cmp dword [eax + 0xe4], ebx
lea esi, [eax + 0xe4]
je 0x417410
mov eax, dword [esi]
cmp dword [eax + 8], 6
jne 0x4173ec
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x4173fe
push eax
call fcn.004877a8
add esp, 4
mov ecx, dword [esi]
push ecx
call fcn.00487508
mov eax, dword [0x4a9978]
add esp, 4
mov dword [esi], ebx
mov edx, dword [0x4adaf4]
push 1
push ebx
push 0xffffffffffffffff
mov byte [eax + 0xcc], 1
mov esi, eax
push 0x49b8d8
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa8], ebx
mov byte [eax + 0xd8], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xc8], 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 + 0xe4], ebx
mov dword [eax + 0xe0], ebx
mov ecx, 0x3a
mov edi, 0x4abfb0
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [eax + 0xcc], 1
mov dword [eax + 0xc0], ebx
mov word [eax + 0xcd], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.00477500
mov eax, dword [0x4aaab4]
cmp word [eax], bx
jne 0x4174e7
cmp dword [0x4adb64], ebx
jne 0x4174e7
cmp dword [0x4ad41c], ebx
jne 0x4174e7
cmp dword [0x4ad420], ebx
jne 0x4174e7
cmp byte [0x4ad42a], bl
jne 0x4174e7
neg ebp
sbb ebp, ebp
and ebp, 5
push ebx
inc ebp
push ebp
push 0x4ae2a8
call fcn.00417530
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x417530
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 [0x4aeac3], bl
jne 0x4176cc
cmp byte [eax + 0x618], bl
je 0x4176cc
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4adaf4]
push ebx
push 1
mov dword [0x4af514], eax
call fcn.00401210
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0048a520
mov eax, dword [0x4a9978]
inc dword [0x4ad460]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], bl
mov ecx, 0x3a
mov esi, 0x4abfb0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4a9978], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4ae2a8
call fcn.004171b0
mov dword [0x4ae8c8], ebx
mov dword [0x4ae8cc], ebx
cmp dword [0x4ad494], ebx
je 0x4175f2
mov eax, dword [0x4aaaac]
cmp eax, ebx
je 0x4175e6
mov eax, dword [eax]
cmp eax, ebx
jne 0x4175eb
mov eax, 0x49b871
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x5c8]
mov edi, dword [0x4a98ec]
mov dword [0x4a98ec], ebx
mov byte [0x4aeac3], 1
mov byte [esp + 0xf], 1
mov byte [0x4aae68], bl
cmp ecx, ebx
je 0x417632
call fcn.00401280
test eax, eax
je 0x417632
cmp byte [0x4aae68], bl
jne 0x417632
mov byte [esp + 0xf], bl
mov byte [0x4aae68], 1
cmp byte [esp + 0xf], bl
je 0x41768b
mov dword [esp + 0x18], ebx
call fcn.00443e80
mov dword [esp + 0x10], eax
mov eax, dword [0x4af514]
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.0046fa40
xor ebx, ebx
cmp eax, 3
jne 0x41768b
mov byte [esp + 0xf], bl
mov byte [0x4aeac3], bl
cmp byte [esp + 0xf], bl
jne 0x4176be
cmp dword [ebp + 0xc], 0xffffffff
jle 0x4176be
lea ecx, [esp + 0x30]
push ecx
call fcn.00403860
add esp, 4
mov dword [0x4a98ec], 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.00417710
cmp byte [0x4aae68], bl
jne 0x417701
cmp ecx, 6
jne 0x417701
mov ecx, dword [0x4ad288]
cmp byte [ecx], bl
je 0x4176ec
mov edx, dword [ebp + 0x10]
mov dword [0x4af514], edx
pop edi
pop esi
mov byte [0x4aae68], 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.00417710
int3
Function at 0x417be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xa
push str._AUTOHOTKEY_SCRIPT_
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
call edi
mov esi, eax
test esi, esi
jne 0x417c21
push 0xa
push str._AHK_WITH_ICON_
push eax
call edi
mov esi, eax
test esi, esi
je 0x417c85
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x417c85
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x417c85
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x417c85
mov ecx, dword [esp + 0x20]
push 0xc
mov eax, 0xfde9
lea edx, [esp + 0x10]
call fcn.00472080
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x600]
inc dword [0x4ae20c]
mov dword [0x4ac234], ecx
mov eax, 3
pop edi
pop esi
add esp, 0x10
ret 0xc
fldz
mov edx, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push 0
push edx
push 0
push str.Could_not_extract_script_from_EXE.
call fcn.00479130
add esp, 0x18
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
Function at 0x42fff0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004
call fcn.00493cb0
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x4300eb
test ebx, ebx
jne 0x430020
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x374]
test ebx, ebx
je 0x43002a
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x430037
mov ecx, dword [eax + 0x170]
movzx eax, word [eax + 0x174]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0x4ac234]
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.00474600
mov esi, dword [ebp + 0x14]
add esp, 0x10
cmp byte [esi], 0
lea edi, [esp + eax + 0x10]
je 0x430083
push esi
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00474600
mov esi, dword [ebp + 0x14]
add esp, 8
mov edi, dword [ebp + 0xc]
cmp edi, 3
jne 0x4300a9
mov eax, dword [ebp + 8]
push 0x49e244
push 0
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0042f650
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 0x4300eb
test ebx, ebx
jne 0x4300ca
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x4300e1
mov edx, dword [ebp + 0x10]
push esi
push 1
push edx
mov ecx, ebx
call fcn.0042f7e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
push esi
push eax
call fcn.0042fa80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x437110
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.004318d0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x437145
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042f7e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x43714f
jmp dword [eax*4 + 0x43733c]
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x437165
call fcn.00453ec0
jmp 0x43716b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4adaf4]
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
call fcn.00453ec0
mov ebx, eax
test ebx, ebx
je 0x4371df
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4371df
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 [0x4adaf4]
push 0x18
push 0
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4adaf4]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d8
push eax
call fcn.00477500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx ecx, byte [ebx]
push ecx
call fcn.00489e15
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x437219.67
movzx edx, byte [eax + 0x43736c]
jmp dword [edx*4 + 0x437350]
mov esi, 0x40
jmp 0x437248
mov esi, 0x4000
jmp 0x437248
mov esi, 0x20
jmp 0x437248
mov esi, 0x8000
jmp 0x437248
mov esi, 0x80
jmp 0x437248
mov esi, 0x100
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x437257
call fcn.00453ec0
jmp 0x43725d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x4371df
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4371df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x4371b3
mov ecx, dword [0x4adaf4]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d8
push ecx
call fcn.00477500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx], 0
je 0x4372d6
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.004147b0
fmul qword [0x4a3ea8]
call fcn.00495ea0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x4372e0
mov byte [esp + 0xf], 1
xor edi, edi
lea ecx, [ecx]
mov ebx, dword [ebp + 0xc]
call fcn.00453ec0
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x4372fb
test esi, esi
jne 0x4371c2
jmp 0x437303
test esi, esi
je 0x4371df
cmp byte [esp + 0xf], 0
jne 0x437321
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x4371c2
push 1
push 0x64
call fcn.004013c0
add esp, 8
jmp 0x4372e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437b70
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4ad238]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.00442e00
mov edi, eax
test edi, edi
je 0x437b96
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebp, [eax + 1]
jmp 0x437b9b
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.00477500
cmp eax, 1
je 0x437bb9
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x437c3e
push ebp
push 0
push 1
call fcn.00401210
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x437bde
mov edi, dword [esi + 0xc]
jmp 0x437be0
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x437bf8
test byte [edi + 0x15], 8
je 0x437bf3
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x437bfd
mov eax, 0x4aeabc
mov dword [eax], ebp
cmp byte [esi + 0x17], 0
jne 0x437c0a
mov edi, dword [esi + 0xc]
jmp 0x437c0c
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x437c24
test byte [edi + 0x15], 8
je 0x437c1f
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x437c29
mov eax, 0x4aeabc
cmp dword [eax], 0
jne 0x437c7a
push 0
push 1
mov ecx, esi
call fcn.00401210
mov byte [eax], 0
jmp 0x437c7a
push 0
push 1
call fcn.00401210
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x437c55
mov edi, dword [esi + 0xc]
jmp 0x437c57
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x437c6f
test byte [edi + 0x15], 8
je 0x437c6a
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x437c74
mov eax, 0x4aeabc
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x437c83
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x437ca5
cmp dword [0x4ae298], 0
je 0x437ca5
push 1
mov ecx, 0x4ae28c
call fcn.004047f0
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 0x438a40
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.00493cb0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
mov esi, dword [0x4ad238]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x438af4
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.00477500
test eax, eax
jne 0x438a92
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401210
push eax
push ebx
call ebp
test eax, eax
jne 0x438ab3
push eax
push 1
mov ecx, esi
call fcn.00401210
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x438abc
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x438ae1
cmp dword [0x4ae298], 0
je 0x438ae1
push 1
mov ecx, 0x4ae28c
call fcn.004047f0
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 0x438b01
mov eax, 0x49b871
push 1
push 0
push edi
push eax
push esi
call fcn.00477500
pop edi
pop esi
pop ebp
add esp, 0x8000
ret