joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cef90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x6b6b38], 0
push ebx
push esi
push edi
jne 0x4cf0ae
mov byte [0x6b6b38], 1
xor esi, esi
lea esp, [esp]
mov ecx, esi
xor eax, eax
and ecx, 1
mov edx, esi
or ecx, eax
je 0x4cefd0
shrd edx, eax, 1
shr eax, 1
xor edx, 0xd7870f42
xor eax, 0xc96c5795
jmp 0x4cefd6
shrd edx, eax, 1
shr eax, 1
mov ecx, edx
shrd edx, eax, 1
and ecx, 1
shr eax, 1
or ecx, 0
je 0x4ceff1
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
shrd edx, eax, 1
and ecx, 1
shr eax, 1
or ecx, 0
je 0x4cf00c
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
shrd edx, eax, 1
and ecx, 1
shr eax, 1
or ecx, 0
je 0x4cf027
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
shrd edx, eax, 1
and ecx, 1
shr eax, 1
or ecx, 0
je 0x4cf042
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
shrd edx, eax, 1
and ecx, 1
shr eax, 1
or ecx, 0
je 0x4cf05d
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
shrd edx, eax, 1
and ecx, 1
shr eax, 1
or ecx, 0
je 0x4cf078
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov ecx, edx
shrd edx, eax, 1
and ecx, 1
shr eax, 1
or ecx, 0
je 0x4cf093
xor edx, 0xd7870f42
xor eax, 0xc96c5795
mov dword [esi*8 + 0x6b6b40], edx
mov dword [esi*8 + 0x6b6b44], eax
inc esi
cmp esi, 0x100
jb 0x4cefb0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
not ebx
mov edi, dword [esp + 0x14]
not edx
test edi, edi
je 0x4cf0e9
mov esi, dword [esp + 0x10]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
shrd ebx, edx, 8
xor ecx, eax
shr edx, 8
xor ebx, dword [ecx*8 + 0x6b6b40]
xor edx, dword [ecx*8 + 0x6b6b44]
dec edi
jne 0x4cf0c6
pop edi
not ebx
not edx
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4e39f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4e3a10
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4e3a10
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4e3a10
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4f4850
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4f487f
push esi
call fcn.004f4a30
add esp, 4
cmp byte [esi + 0x40], 0
je 0x4f4878
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0x4f4902
mov eax, dword [esi + 0x1a8]
cmp byte [eax + 0x10], 0
je 0x4f48ed
mov eax, dword [esi + 8]
test eax, eax
je 0x4f48a5
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a8]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x4f48e8
cmp eax, 2
je 0x4f48ed
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4f4896
cmp eax, 3
je 0x4f48cd
cmp eax, 1
jne 0x4f4896
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x4f4896
mov eax, dword [esi + 0x128]
add eax, edi
mov dword [edx + 8], eax
jmp 0x4f4896
pop edi
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004f4930
add esp, 4
pop edi
pop esi
ret
cmp eax, 0xcc
je 0x4f4924
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.004f4930
add esp, 4
pop edi
pop esi
ret

Function at 0x4f4930
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 0xcc
je 0x4f495c
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
je 0x4f49e2
lea ebx, [esi + 0x78]
jmp 0x4f4970
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x4f49b6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4f4995
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x19c]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x4f49f8
cmp eax, dword [esi + 0x60]
jb 0x4f4977
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
jne 0x4f4970
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4f5b70
Capabilities:
Query environment variable

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov dword [edi + 4], 0
call fcn.00501d90
push 0x54
push edi
mov dword [esp + 0x14], eax
call fcn.00501d60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4f5bb7
push edi
call fcn.00501da0
mov ecx, dword [edi]
push edi
mov dword [ecx + 0x14], 0x38
mov ecx, dword [edi]
mov dword [ecx + 0x18], esi
mov eax, dword [edi]
mov eax, dword [eax]
call eax
add esp, 8
mov dword [esi], fcn.004f5800
mov dword [esi + 4], fcn.004f5690
mov dword [esi + 8], fcn.004f5760
mov dword [esi + 0xc], fcn.004f55e0
mov dword [esi + 0x10], 0x4f5ed0
mov dword [esi + 0x14], 0x4f5e60
mov dword [esi + 0x18], 0x4f5cc0
mov dword [esi + 0x1c], 0x4f5490
mov dword [esi + 0x20], 0x4f5340
mov dword [esi + 0x24], 0x4f5a70
mov dword [esi + 0x28], 0x4f5f40
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [esp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x4f5c9a
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], 0x78
push ecx
lea ecx, [esp + 0xc]
push ecx
push str._ld_c
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x4f5c9a
mov al, byte [esp + 0x10]
cmp al, 0x6d
je 0x4f5c89
cmp al, 0x4d
mov eax, dword [esp + 8]
jne 0x4f5c91
imul eax, dword [esp + 8], 0x3e8
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ecx
ret
Function at 0x4f9460
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
cmp dword [ebp + 0x4c], 1
mov ebx, dword [ebp + 0x1c0]
mov dword [esp + 0x1c], ebx
jne 0x4f9485
mov esi, 0x1fe
mov byte [ebx + 0x1c], 1
jmp 0x4f948b
xor esi, esi
mov byte [ebx + 0x1c], 0
push dword [ebp + 0x64]
mov ecx, dword [ebp + 4]
lea eax, [esi + 0x100]
push eax
push 1
push ebp
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], esi
call eax
xor ecx, ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
add esp, 0x10
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0x64], ecx
jle 0x4f95a0
push edi
lea ecx, [ecx]
mov edi, dword [ebx + ecx*4 + 0x20]
cdq
idiv edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4f94dd
mov eax, dword [ebx + 0x18]
add dword [eax + ecx*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov ebp, dword [eax + ecx*4]
lea eax, [edi + 0xfe]
lea ecx, [edi*2 - 2]
cdq
idiv ecx
xor esi, esi
mov edx, eax
lea esp, [esp]
cmp esi, edx
jle 0x4f9536
mov ecx, dword [esp + 0x10]
lea edi, [edi*2 - 2]
imul eax, ebx, 0x1fe
add ecx, 0xfe
add ecx, eax
lea ecx, [ecx]
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x4f9520
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x4f9500
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4f9581
mov ecx, 1
lea edx, [ebp - 1]
jmp 0x4f9560
movzx eax, byte [ebp]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebp + 0xff]
mov byte [ecx + ebp + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x4f9560
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax + 0x64]
mov eax, dword [esp + 0x1c]
jl 0x4f94c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x50e3e6
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x6b7340], 0
push ebx
push esi
mov esi, 0x6b7348
jne 0x50e412
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x6b7360], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x6b7340], 1
push dword [0x6b7360]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x50e4af
push 0x14
push 8
push dword [0x63d5dc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x50e4d9
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6b7344]
test eax, eax
je 0x50e454
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x6b7344], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x50e4de
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x6b7360]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x63d5dc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x50e4d9
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x410ff0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp al, 0xa
jne 0x410ff7
mov al, 0xd
ret
push ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x411013
cmp al, 0xff
jne 0x411013
xor al, al
ret
test esi, esi
je 0x411059
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x411026
or byte [esi], 8
jmp 0x411048
test dl, 2
je 0x411037
mov cl, byte [esi]
test cl, 3
jne 0x411037
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x411048
mov cl, byte [esi]
test cl, 0xc
jne 0x411048
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x411059
mov cl, byte [esi]
test cl, 0x30
jne 0x411059
or cl, 0x10
mov byte [esi], cl
ret

Function at 0x411260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]

Function at 0x4115c0
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x411618
je 0x411615
sub eax, 0x1d
cmp eax, 0x36
ja case.0x411629.286
movzx eax, byte [eax + 0x411694]
jmp dword [eax*4 + 0x41164c]
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, 0xd
ret
sub eax, 0x11d
cmp eax, 0x28
ja case.0x411629.286
movzx edx, byte [eax + 0x4116e4]
jmp dword [edx*4 + 0x4116cc]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
movzx eax, cl
push 1
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
ret

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

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49f988], eax
mov edx, 1
mov eax, 0x49f988
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, 0x4a0344
jl 0x411724
mov dword [0x49d318], 1
mov dword [0x4a2504], 1
pop edi
ret
Function at 0x411760
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a2504], 0
push esi
mov esi, 0x49f988
jne 0x41177e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00411710
add esp, 4
mov dword [0x49d318], 0x270
mov dword [0x49f984], esi
mov ecx, 0xe3
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 0x411793
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 0x4117c8
mov ecx, dword [esi]
mov eax, dword [0x49f988]
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 0x411830
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41183d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], 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 0x411880
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41188d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], 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
shr eax, 1
ret

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

Disassembly:
push ecx
dec dword [0x49d318]
jne 0x4118de
call fcn.00411760
mov ecx, dword [0x49f984]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49f984], 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 0x411925
fadd qword [0x497ba0]
fmul qword [0x497bf8]
pop ecx
ret

Function at 0x412180
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x412189
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x4121aa
cmp dword [0x4a2c08], 0
je 0x4121aa
mov dword [esp + 4], 1
mov ecx, 0x4a2bfc
jmp fcn.00403c50
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x4121be
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x438bd0
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x10d74
call fcn.00488480
mov eax, dword [0x4a09d8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 1
push 0
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [0x4a13a4]
push 0x4916f4
mov dword [esp + 0x2c], eax
call fcn.004628b0
cmp dword [0x4a0bbc], 4
jl 0x438c39
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
push 0x410000
push str.The_maximum_number_of_File_Dialogs_has_been_reached.__The_current_thread_will_exit.
call fcn.00468330
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ecx
ret 0xc
push 0xfffc
lea ecx, [esp + 0xd85]
push 0
push ecx
mov byte [esp + 0xd8c], 0
call fcn.004812e0
add esp, 0xc
test esi, esi
je 0x438d16
cmp byte [esi], 0
je 0x838d56
push 0x103
lea edx, [esp + 0x7c]
push esi
push edx
call fcn.0047a8e0
add esp, 0xc
push 3
lea eax, [esp + 0x7c]
push 0x4950a4
push eax
mov byte [esp + 0x187], 0
call fcn.00478e34
add esp, 0xc
test eax, eax
sete bl
test bl, bl
je 0x438ce2
lea ecx, [esp + 0x78]
push 0x7d
push ecx
call fcn.00477c01
add esp, 8
test eax, eax
je 0x438d5b
cmp byte [eax + 1], 0
je 0x438d5b
lea eax, [esp + 0x78]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438cd0
sub eax, edx
cmp byte [esp + eax + 0x77], 0x5c
jne 0x438cf6
jmp 0x438d5b
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x438cf6
test al, 0x10
jne 0x438d5b
lea eax, [esp + 0x78]
push 0x5c
push eax
call fcn.00478bf7
mov esi, eax
add esp, 8
test esi, esi
je 0x438d31
push 0x220fffe
lea ecx, [esi + 1]
fldcw word [ebp + 0xd882494]
add byte [eax], al
push edx
call fcn.0047a8e0
mov byte [esp + 0x20010d8a], 0
add esp, 0xc
invalid
and al, 0x88
or eax, 0xe8520000
mov edi, 0xc600041b
test byte [edx + ecx*4], ah
or eax, 0x83002001
les ecx, [esi + eax*8]
push cs
add bl, ch
sub al, byte [ebx + ebx*8 - 0x197d98b]
inc dword [eax]
inc eax
test bl, bl
jne 0x438d5b
push 0x4000fffe
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x10000dd8]
push ecx
call fcn.0047a8e0
add esp, 0xc
mov byte [esp + 0x4010d7e], bl
mov byte [esp + 0x78], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x438d87
cmp byte [eax], 0
je 0x438d87
push 0x3ff
push eax
lea esi, [esp + 0x988]
push edx
call fcn.0047a8e0
mov eax, esp
or al, 0xc6
test byte [edi + edi*2], ah
or eax, 0xeb000000
and ah, byte [ecx + 0x4a30d4]
mov eax, dword [0x4a30d4]
push eax
push 0x4952a8
mov esi, 0x400
lea edi, [esp + 0x988]
call 0xc63ff0
mov edi, dword [ebp + 0x10]
add esp, 8
call fcn.004391ad
invalid
Function at 0x4613f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
je 0x4614a2
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x2c]
push ecx
push esi
call ebp
test eax, eax
jne 0x4614af
mov edx, dword [esp + 0x14]
push edx
call fcn.004613f0
mov bl, al
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4614af
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4614af
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
jne 0x461436
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret

Function at 0x4614c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push esi
mov esi, eax
test edi, edi
je 0x4614d6
cmp byte [edi], 0
jne 0x4614df
test esi, esi
je 0x461536
cmp byte [esi], 0
je 0x461536
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x461536
test esi, esi
je 0x461543
cmp byte [esi], al
je 0x461543
push str.ahk_default
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x461519
mov esi, 0x49588a
mov edx, dword [esp + 0xc]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x461570
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004613f0
mov edx, dword [esp + 0x10]
adc byte [ebx - 0x75adfb3c], al
fdivr st(7)
adc eax, sym.imp.ADVAPI32.dll_RegCloseKey
Function at 0x467900
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x467910
mov eax, esi
call fcn.0044a470
jmp 0x46791d
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 4]
test eax, eax
js 0x467978
je 0x467978
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.00401340
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x467975
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x467975
push 1
push 0x8000012f
call fcn.00401340
add esp, 8
push esi
call ebx
test eax, eax
jne 0x467954
pop edi
Function at 0x475bf2
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call fcn.00411710
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x475c1c
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call fcn.00411880
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x475c06
pop esi
pop edi
ret 0xc

Function at 0x475c20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x398
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x290]
call fcn.004760f6
push 0
push dword [esi + 8]
push dword [esi]
call fcn.0047b2c8
add esp, 0xc
lea eax, [ebp - 0x398]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00475f02
test eax, eax
je 0x475c64
push 6
jmp 0x475cf3
push dword [esi]
lea eax, [ebp - 1]
push 1
pop ebx
push ebx
push ebx
push eax
call fcn.0047b221
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.0047b221
push dword [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
xor edi, 0x45aa
push ebx
push 4
push eax
call fcn.0047b221
mov eax, dword [ebp - 8]
push dword [esi]
xor eax, 0x45aa
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x14]
push 4
push eax
call fcn.0047b221
add esp, 0x40
lea eax, [ebp - 0x18]
push dword [esi]
push ebx
push 4
push eax
call fcn.0047b221
push dword [esi]
lea eax, [ebp - 0x1c]
push ebx
push 4
push eax
call fcn.0047b221
push dword [esi]
lea eax, [ebp - 0x20]
push ebx
push 4
push eax
call fcn.0047b221
push dword [ebp - 0xc]
call fcn.00476de3
add esp, 0x34
mov dword [ebp + 8], eax
test eax, eax
jne 0x475cf9
push 8
pop eax
jmp 0x475dd0
push edi
call fcn.00476de3
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jne 0x475d0f
push 8
pop esi
jmp 0x475dc5
push dword [esi]
push ebx
push edi
push eax
call fcn.0047b221
mov eax, dword [esi + 0x110]
add esp, 0x10
add eax, 0x22af
mov ecx, esi
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.00475bf2
cmp byte [ebp - 1], bl
jne 0x475d73
lea ecx, [ebp - 0x290]
call fcn.004760f6
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x290], eax
call fcn.00476122
push edi
call fcn.004785bf
pop ecx
jmp 0x475d7f
push dword [ebp + 8]
call fcn.004785bf
pop ecx
mov dword [ebp + 8], edi
push 0x49c014
push dword [ebp + 0xc]
call fcn.0047a3c6
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x475d9b
push 7
jmp 0x475d09
push edi
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0047a534
push edi
call fcn.0047a61b
add esp, 0x14
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.0047604e
xor esi, esi
push dword [ebp + 8]
call fcn.004785bf
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8