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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
movzx edi, bl
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
movsx esi, al
neg esi
sbb esi, esi
add esi, 2
cmp ebp, 1
je 0x4181bb
cmp ebp, 2
jne 0x418291
cmp esi, ebp
je 0x418291
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x4181ec
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.00416490
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.00416490
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4db710]
sete al
mov byte [esp + 0x10], al
test al, al
je 0x418242
push 1
push 0xffffffffffffffff
mov dword [0x4d6a1c], 0
call fcn.004014c0
add esp, 8
mov dword [0x4d6a1c], 1
cmp bl, 0x14
jne 0x418291
cmp ebp, 2
jne 0x418291
push 0x14
call edi
test al, 1
je 0x418291
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.00416490
add esp, 0x18
cmp byte [esp + 0x10], 0
je 0x418291
push 1
push 0xffffffffffffffff
mov dword [0x4d6a1c], 0
call fcn.004014c0
add esp, 8
mov dword [0x4d6a1c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x418950
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4da83c], 0
je 0x418968
cmp byte [esp + 8], 0
jne 0x418968
mov al, byte [0x4da709]
pop ecx
ret
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
mov byte [esp + 0xb], 0
call esi
mov ecx, 0x8000
test cx, ax
je 0x41898a
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x4189a0
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x4189b6
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x4189cc
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x4189e2
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x4189f8
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x418a0b
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
pop esi
test dx, ax
je 0x418a1f
or byte [esp + 3], 0x80
cmp dword [0x4da83c], 0
je 0x418a9f
push ebx
mov bl, byte [esp + 7]
not bl
and bl, byte [0x4da709]
cmp byte [0x4da72e], 0
je 0x418a58
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x4d95f0]
cmp eax, 0x14
jae 0x418a58
mov al, byte [0x4da72e]
not al
and bl, al
test bl, bl
je 0x418a9e
mov cl, byte [0x4da70b]
mov al, bl
not al
and byte [0x4da709], al
and byte [0x4da70a], al
and cl, al
mov al, cl
mov byte [0x4da70b], cl
mov ecx, 0x4da730
call fcn.00418ab0
mov eax, dword [0x4d9610]
test eax, eax
je 0x418a9e
test byte [eax + 8], bl
je 0x418a9e
mov dword [0x4d9610], 0
pop ebx
mov al, byte [esp + 3]
pop ecx
ret
Function at 0x418f40
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x418f7e
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
push eax
call edi
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x418f7e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x418f7e
push 0
push eax
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
pop edi
pop esi
add esp, 0x34
ret

Function at 0x418f90
Capabilities:
Get keyboard layout

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x284
push ebx
push ebp
xor ebp, ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov ebx, eax
test ebx, ebx
je 0x41903f
xor eax, eax
jmp 0x418fc0
movzx ecx, word [eax + str.SYSTEMCurrentControlSetControlKeyboard_Layouts_]
mov word [esp + eax + 0xc], cx
add eax, 2
test cx, cx
jne 0x418fc0
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
je 0x41902d
lea edx, [esp + 8]
push edx
push 1
push 0
lea eax, [esp + 0x18]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41902d
push esi
push edi
lea edi, [esp + 0x10]
lea esi, [esp + 0x8c]
mov ecx, str.Layout_File
call fcn.004815b0
pop edi
pop esi
test eax, eax
je 0x41902d
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebp, eax
cmp dword [esp + 0x290], ebx
je 0x41903f
push 0
push ebx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, ebp
pop ebp
pop ebx
add esp, 0x284
ret

Function at 0x419240
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x114
push ebp
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebp, eax
mov al, byte [esp + 0x11c]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x41933c
push ebx
push esi
push 0x100
lea edx, [esp + 0x24]
push 0
push edx
call fcn.004a4a80
mov ebx, dword [sym.imp.USER32.dll_ToUnicodeEx]
add esp, 0xc
push ebp
xor esi, esi
push esi
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push 0x6e
call ebx
cmp eax, 2
jne 0x41929f
movzx esi, word [esp + 0x10]
movzx ecx, byte [esp + 0x124]
push ebp
push 0
push 2
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call ebx
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x4192d8
push ebp
push 0
push 2
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push 0x6e
call ebx
test si, si
je 0x41931c
push edi
push 1
push ebp
lea edi, [esp + 0x1b]
call fcn.00419510
add esp, 8
mov byte [esp + 0x12], al
pop edi
test al, al
je 0x41931c
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x20]
call fcn.00418ab0
movzx eax, byte [esp + 0xe]
push ebp
push 0
push 2
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push eax
call ebx
cmp dword [esp + 0x1c], 0
pop esi
pop ebx
je 0x419332
movzx eax, word [esp + 8]
pop ebp
add esp, 0x114
ret
xor eax, eax
pop ebp
add esp, 0x114
ret
push ebp
movzx ecx, al
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
pop ebp
add esp, 0x114
ret
Function at 0x419eb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4dafe4], 0
push esi
mov esi, 0x4d9648
jne 0x419eca
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
call fcn.00419e60
mov dword [0x4d6a08], 0x270
mov dword [0x4d9644], 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 0x419ee0
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 0x419f15
mov ecx, dword [esi]
mov eax, dword [0x4d9648]
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 0x419f80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4d6a08]
jne 0x419f8d
call fcn.00419eb0
mov eax, dword [0x4d9644]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d9644], 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 0x419fd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4d6a08]
jne 0x419fde
call fcn.00419eb0
mov ecx, dword [0x4d9644]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4d9644], 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 0x41a025
fadd qword [0x4cfde0]
fmul qword [0x4cfe30]
pop ecx
ret
Function at 0x41e770
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4d6a28]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
push esi
push edi
push eax
call fcn.0049a1ae
add esp, 4
mov dword [0x4d9238], eax
test eax, eax
jne 0x41e799
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4d6b14]
push 0x403ed0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4da70c]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4d6b14], eax
call edi
cmp dword [0x4db728], 0
jne 0x41e7db
mov ebx, 1
jmp 0x41e8f3
mov edx, dword [0x4d6b14]
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov byte [edx + 0xec], 0
call esi
cmp byte [0x4da869], 0
mov ecx, dword [0x4d6b14]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x41e82b
mov eax, dword [0x4da70c]
push 0x403d30
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4da869], cl
mov byte [0x4dc20d], 1
call esi
mov dword [0x4dc234], eax
mov dword [0x4dc230], eax
mov eax, dword [0x4db6a4]
mov esi, 1
add dword [0x4da880], esi
cmp eax, dword [0x4db6a8]
jne 0x41e860
call fcn.0040565f
mov eax, dword [0x4db6a4]
cmp eax, dword [0x4db6a0]
jb 0x41e875
mov edx, dword [0x4dbd5c]
mov dword [eax], edx
mov eax, dword [0x4db6a4]
add eax, 0xc
push 0
mov dword [0x4db6a4], eax
push 0
mov dword [eax], 0
mov dword [eax + 4], str.Auto_execute
mov dword [eax + 8], 0
mov ecx, dword [0x4db728]
push esi
call fcn.00430aa0
mov ebx, eax
mov eax, dword [0x4db6a4]
sub eax, 0xc
mov dword [0x4db6a4], eax
cmp eax, dword [0x4db6a0]
jb 0x41e8c4
mov eax, dword [eax]
mov dword [0x4db6b4], eax
mov dword [0x4dbd5c], eax
sub dword [0x4da880], esi
cmp byte [0x4da869], 0
je 0x41e8ec
mov eax, dword [0x4da70c]
push 0xb
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41e8ec
mov byte [0x4da869], 0
mov byte [0x4dc20d], 0
mov ebp, dword [0x4d6b14]
cmp dword [ebp + 0x104], 0
je 0x41e94d
mov eax, dword [ebp + 0x104]
cmp dword [eax + 8], 6
jne 0x41e918
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 0x41e92e
push eax
call fcn.0049a24d
add esp, 4
mov ecx, dword [ebp + 0x104]
push ecx
call fcn.0049a242
mov dword [ebp + 0x104], 0
mov ebp, dword [0x4d6b14]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4daf14]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xec], 1
push 0x4b09bc
mov ecx, 0x42
mov esi, ebp
mov edi, 0x4d9348
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], closesocket
call fcn.004833e0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x41ebf0
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 [0x4dc443], bl
jne 0x41edf2
cmp byte [ecx + 0xae4], bl
je 0x41edf2
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4daf14]
push ebx
push 1
mov dword [0x4dcff4], eax
call fcn.00401280
push 0x7f
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0049d114
mov eax, dword [0x4d6b14]
inc dword [0x4da880]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x142], dx
mov ecx, 0x42
mov esi, 0x4d9348
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4d6b14], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4db728
call fcn.0041e670
mov dword [0x4dc220], ebx
mov dword [0x4dc224], ebx
cmp dword [0x4da8b4], ebx
je 0x41ecb6
mov eax, dword [0x4d7d34]
cmp eax, ebx
je 0x41ecaa
mov eax, dword [eax]
cmp eax, ebx
jne 0x41ecaf
mov eax, 0x4b09ac
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov eax, dword [0x4db6a4]
mov edi, dword [0x4d6a1c]
mov dword [0x4d6a1c], ebx
mov byte [0x4dc443], 1
cmp eax, dword [0x4db6a8]
jne 0x41ece0
call fcn.0040565f
mov eax, dword [0x4db6a4]
cmp eax, dword [0x4db6a0]
jb 0x41ecf5
mov ecx, dword [0x4dbd5c]
mov dword [eax], ecx
mov eax, dword [0x4db6a4]
mov esi, dword [esp + 0x14]
add eax, 0xc
mov dword [0x4db6a4], 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 [0x4d80d4], bl
cmp ecx, ebx
je 0x41ed37
call fcn.00401300
test eax, eax
je 0x41ed37
cmp byte [0x4d80d4], bl
jne 0x41ed37
mov byte [esp + 0x13], bl
mov byte [0x4d80d4], 1
cmp byte [esp + 0x13], bl
je 0x41ed90
mov dword [esp + 0x20], ebx
call fcn.0044f0e0
mov dword [esp + 0x18], eax
mov eax, dword [0x4dcff4]
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.0047ae10
xor ebx, ebx
cmp eax, 3
jne 0x41ed90
mov byte [esp + 0x13], bl
mov eax, dword [0x4db6a4]
sub eax, 0xc
mov dword [0x4db6a4], eax
cmp eax, dword [0x4db6a0]
jb 0x41edb1
mov eax, dword [eax]
mov dword [0x4db6b4], eax
mov dword [0x4dbd5c], eax
mov byte [0x4dc443], bl
cmp byte [esp + 0x13], bl
jne 0x41ede4
cmp dword [ebp + 8], 0xffffffff
jle 0x41ede4
lea ecx, [esp + 0x38]
push ecx
call fcn.00403b80
add esp, 4
mov dword [0x4d6a1c], 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.0041ee40
cmp byte [0x4d80d4], bl
jne 0x41ee28
cmp eax, 6
jne 0x41ee28
mov ecx, dword [0x4da698]
cmp word [ecx], bx
je 0x41ee13
mov edx, dword [ebp + 0xc]
mov dword [0x4dcff4], edx
pop edi
pop esi
mov byte [0x4d80d4], 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.0041ee40
int3
Function at 0x42b320
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10004
call fcn.004a7e90
mov eax, dword [esp + 0x10008]
push esi
push edi
push eax
push ecx
push 0x4b98f0
mov esi, 0x8001
lea edi, [esp + 0x14]
call fcn.00480070
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b390
test al, 0x10
je 0x42b390
lea eax, [esi + esi + 0x204]
call fcn.0047d080
mov dword [ebx], eax
test eax, eax
je 0x42b390
lea ecx, [esi + esi + 2]
push ecx
mov edx, edi
push edx
push eax
call fcn.004a3cc0
add esp, 0xc
pop edi
mov dword [ebx + 4], esi
pop esi
add esp, 0x10004
ret 4
pop edi
mov dword [ebx], 0x4b09ac
pop esi
add esp, 0x10004
ret 4
Function at 0x43aa30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4004
call fcn.004a7e90
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0xc], ecx
test ebx, ebx
jne 0x43aa58
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43aa62
movzx edx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43aa6f
mov edx, dword [ecx + 0x270]
movzx eax, word [ecx + 0x274]
cmp dword [ebp + 8], 0
je 0x43ab5f
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [0x4db62c]
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.00480070
mov esi, dword [ebp + 0x10]
add esp, 0x10
cmp word [esi], 0
lea edi, [esp + eax*2 + 0x10]
je 0x43aad0
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.00480070
mov esi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [ebp + 8]
cmp edi, 3
jne 0x43aaf6
mov edx, dword [esp + 0xc]
push 0x4b7438
push 0
push edx
lea esi, [esp + 0x1c]
call fcn.0043a040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4db6e8], 0
je 0x43ab13
push str.stderr
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4db6a0
call fcn.0040880c
cmp dword [0x4db6e8], 2
je 0x43ab27
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp edi, 2
jne 0x43ab5f
test ebx, ebx
jne 0x43ab3e
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43ab55
mov edx, dword [ebp + 0xc]
push esi
push 1
push edx
mov ecx, ebx
call fcn.0043a200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push esi
push eax
call fcn.0043a4e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x441b30
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.0041c430
mov dword [esp + 0x10], eax
test eax, eax
jne 0x441b65
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0043a200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x441b6f
jmp dword [eax*4 + 0x441d60]
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x441b86
call fcn.0045f6e0
jmp 0x441b8c
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4daf14]
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.0045f6e0
mov ebx, eax
test ebx, ebx
je 0x441c00
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x441c00
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 [0x4daf14]
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 [0x4daf14]
push 1
push 0
push 0xffffffffffffffff
push 0x4b09bc
push eax
call fcn.004833e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx ecx, word [ebx]
push ecx
call fcn.0049c6d3
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x441c3d.67
movzx edx, byte [eax + 0x441d90]
jmp dword [edx*4 + 0x441d74]
mov esi, 0x40
jmp 0x441c6c
mov esi, 0x4000
jmp 0x441c6c
mov esi, 0x20
jmp 0x441c6c
mov esi, 0x8000
jmp 0x441c6c
mov esi, 0x80
jmp 0x441c6c
mov esi, 0x100
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x441c7c
call fcn.0045f6e0
jmp 0x441c82
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x441c00
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x441c00
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
jmp 0x441bd4
mov ecx, dword [0x4daf14]
push 1
push 0
push 0xffffffffffffffff
push 0x4b09bc
push ecx
call fcn.004833e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [ebx], 0
je 0x441cfc
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.0041a410
fmul qword [0x4cfe08]
call fcn.004aab50
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x441d03
mov byte [esp + 0xf], 1
xor edi, edi
mov ebx, dword [ebp + 0xc]
call fcn.0045f6e0
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x441d1e
test esi, esi
jne 0x441be3
jmp 0x441d26
test esi, esi
je 0x441c00
cmp byte [esp + 0xf], 0
jne 0x441d44
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x441be3
push 1
push 0x64
call fcn.004014c0
add esp, 8
jmp 0x441d03
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x442620
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4da648]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.0044df10
mov edi, eax
test edi, edi
je 0x442646
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [eax + 1]
jmp 0x44264b
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.004833e0
cmp eax, 1
je 0x442669
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x4426fb
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 0x442692
mov edi, dword [esi + 0xc]
jmp 0x442694
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x4426ac
test byte [edi + 0x15], 8
je 0x4426a7
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x4426b1
mov eax, 0x4dc43c
lea edx, [ebp + ebp]
mov dword [eax], edx
cmp byte [esi + 0x17], 0
jne 0x4426c2
mov edi, dword [esi + 0xc]
jmp 0x4426c4
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x4426dc
test byte [edi + 0x15], 8
je 0x4426d7
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x4426e1
mov eax, 0x4dc43c
test dword [eax], 0xfffffffe
jne 0x442738
push 0
push 1
mov ecx, esi
call fcn.00401280
xor ecx, ecx
mov word [eax], cx
jmp 0x442738
push 0
push 1
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], dl
jne 0x442713
mov edi, dword [esi + 0xc]
jmp 0x442715
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x44272d
test byte [edi + 0x15], 8
je 0x442728
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x442732
mov eax, 0x4dc43c
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x442741
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x442761
cmp dword [0x4dc284], 0
je 0x442761
mov ecx, 0x4dc278
call fcn.00405180
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 0x4434f0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004a7e90
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push esi
mov esi, dword [0x4da648]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x4435a4
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.004833e0
test eax, eax
jne 0x443542
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 0x443565
push eax
push 1
mov ecx, esi
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], 0
jne 0x44356e
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x443591
cmp dword [0x4dc284], 0
je 0x443591
mov ecx, 0x4dc278
call fcn.00405180
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 0x4435b1
mov eax, 0x4b09ac
push 1
push 0
push edi
push eax
push esi
call fcn.004833e0
pop edi
pop esi
pop ebp
add esp, 0x10000
ret