joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff80
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [ebp]
push edi
cmp esi, 0x80000000
je 0x410170
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
cmp eax, 0x80000000
je 0x410170
mov edx, dword [0x4c3908]
cmp edx, 2
jne 0x40fffd
movzx ebx, byte [esp + 0x2c]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
mov edi, eax
call fcn.00410340
add esp, 4
call fcn.004107b0
cmp byte [esp + 0x2c], 0
je 0x410170
mov eax, dword [esp + 0x24]
mov dword [ebp], SysStringLen
mov dword [eax], SysReAllocString
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x2c], 0
je 0x410053
cmp edx, 1
jne 0x410039
cmp dword [0x4c0dd0], 0x80000000
jne 0x410026
push 0x4c0dd0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x4c0dd0]
add dword [ebp], ecx
mov edx, dword [0x4c0dd4]
add dword [edi], edx
jmp 0x410075
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add dword [ebp], ecx
add dword [edi], edx
jmp 0x410075
mov eax, dword [0x4be3fc]
movzx eax, word [eax + 0xe8]
shr eax, 2
and eax, 3
cmp eax, 2
je 0x410075
push eax
mov ebx, ebp
call fcn.004705f0
add esp, 4
cmp dword [0x4c3908], 1
jne 0x41008f
mov ecx, dword [ebp]
mov dword [0x4c0dd0], ecx
mov edx, dword [edi]
mov dword [0x4c0dd4], edx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov esi, eax
call ebx
mov ecx, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, ecx
shl eax, 0x10
cdq
idiv esi
xor edx, edx
test ecx, ecx
setns dl
mov ebx, dword [esp + 0x28]
lea eax, [eax + edx*2 - 1]
mov dword [ebp], eax
mov ecx, dword [edi]
mov eax, ecx
shl eax, 0x10
cdq
idiv dword [esp + 0x20]
xor edx, edx
test ecx, ecx
setns dl
lea edx, [edx + edx - 1]
lea ecx, [eax + edx]
mov dword [edi], ecx
test ebx, ebx
js 0x410159
cmp ebx, 0x64
jle 0x4100f3
mov dword [esp + 0x28], 0x64
mov ebx, dword [esp + 0x28]
jmp 0x4100f7
test ebx, ebx
je 0x410159
cmp dword [0x4c3908], 1
je 0x410159
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi]
mov edx, dword [ebp]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov eax, ecx
shl eax, 0x10
cdq
idiv dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov ebx, eax
xor eax, eax
test ecx, ecx
setns al
lea ebx, [ebx + eax*2 - 1]
mov eax, edi
shl eax, 0x10
cdq
idiv esi
xor edx, edx
test edi, edi
setns dl
mov ecx, eax
lea ecx, [ecx + edx*2 - 1]
mov eax, ebx
call fcn.00452a00
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [ebp]
push 0x8001
xor eax, eax
call fcn.00410180
add esp, 4
call fcn.004107b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x410590
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 8
cmp dword [0x4c3908], 1
push ebx
jne 0x410657
xor bl, bl
cmp dword [0x4c1fd8], 0
mov byte [esp + 8], bl
je 0x4105b6
mov bl, 1
mov byte [esp + 8], bl
cmp dword [0x4c1fdc], 0
je 0x4105c6
or bl, 2
mov byte [esp + 8], bl
test bl, bl
je 0x4105e1
mov al, byte [0x4c0dce]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.00408570
add esp, 8
mov edx, dword [0x4c0de4]
mov eax, dword [0x4c0de0]
push 0x1c
push edx
push eax
call dword [0x4c4e58]
test bl, bl
je 0x4106d5
mov cl, byte [0x4c0dce]
and cl, bl
test cl, 1
je 0x41063e
push 1
call fcn.00411170
mov dl, byte [esp + 0x18]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4c1ea7]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4c1ea7], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4c0bf8], eax
mov edx, dword [esp + 8]
pop ebx
add esp, 8
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.00408570
mov eax, dword [0x4c1ea0]
push 0
push eax
push 0x40e8e0
push 1
mov dword [0x4c0dd8], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4c1fe0], eax
test eax, eax
je 0x4106d5
mov byte [0x4c1fc8], 1
push 1
push 0x8000012f
mov dword [0x4be3c4], 0
call fcn.004012b0
add esp, 8
cmp dword [0x4c1fe0], 0
mov dword [0x4be3c4], 1
jne 0x410686
mov eax, dword [0x4c0de4]
mov ecx, dword [0x4c0de0]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4c1fc8], 0
jne 0x4106d5
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
pop ebx
add esp, 8
ret

Function at 0x4108a0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4c28bc]
test eax, eax
je 0x4109b8
mov ecx, dword [0x4c28c0]
imul ecx, ecx, 0xd4
add eax, ecx
mov cl, byte [esp + 8]
mov byte [eax + 6], dl
mov dx, word [esp + 0xc]
mov byte [eax], cl
mov ecx, 0x69
mov word [eax + 2], dx
push esi
mov word [eax + 4], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x4c4e50]
mov dword [0x4c28c4], eax
mov dword [esp + 4], edx
fild dword [esp + 4]
jns 0x4108fb
fadd dword [0x4b8960]
fdiv qword [0x4b8958]
mov ecx, dword [0x4c28c0]
mov edx, dword [0x4c28bc]
mov dword [0x4c4e50], eax
imul ecx, ecx, 0xd4
fstp dword [esp + 4]
fld dword [esp + 4]
fstp dword [ecx + edx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x410968
mov eax, dword [0x4c28c0]
imul eax, eax, 0xd4
cmp esi, dword [0x4c28c8]
je 0x410959
mov ecx, dword [0x4c28bc]
push 0x64
lea edx, [eax + ecx + 0xc]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x410994
mov edx, dword [0x4c28bc]
xor ecx, ecx
mov word [eax + edx + 0xc], cx
jmp 0x410994
mov ecx, dword [0x4c28c0]
mov edx, dword [0x4c28bc]
imul ecx, ecx, 0xd4
mov eax, 0x49d874
lea edx, [ecx + edx + 0xc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x410985
mov eax, dword [0x4c28c0]
inc eax
mov dword [0x4c28c8], esi
mov dword [0x4c28c0], eax
pop esi
cmp eax, dword [0x4be3c8]
jl 0x4109b8
mov dword [0x4c28c0], 0
pop ecx
ret
Function at 0x4109c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, bl
push esi
push eax
call ebp
and al, 1
movsx esi, al
neg esi
sbb esi, esi
add esi, 2
cmp edi, 1
je 0x4109e9
cmp edi, 2
jne 0x410ab5
cmp esi, edi
je 0x410ab5
cmp bl, 0x90
jne 0x410a10
push 0xffc3d44d
push 0
push 0
push 0
push 0x90
push 1
call fcn.0040eb50
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.0040eb50
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4c3fc0]
sete al
mov byte [esp + 0xb], al
test al, al
je 0x410a66
push 1
push 0xffffffffffffffff
mov dword [0x4be3c4], 0
call fcn.004012b0
add esp, 8
mov dword [0x4be3c4], 1
cmp bl, 0x14
jne 0x410ab5
cmp edi, 2
jne 0x410ab5
push 0x14
call ebp
test al, 1
je 0x410ab5
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push edi
call fcn.0040eb50
add esp, 0x18
cmp byte [esp + 0xb], 0
je 0x410ab5
push 1
push 0xffffffffffffffff
mov dword [0x4be3c4], 0
call fcn.004012b0
add esp, 8
mov dword [0x4be3c4], 1
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x411170
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4c1fd8], 0
je 0x411186
cmp byte [esp + 4], 0
jne 0x411186
mov al, byte [0x4c1ea5]
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call esi
mov ecx, 0x8000
test cx, ax
je 0x4111a3
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x4111b7
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x4111cb
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x4111df
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x4111f3
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x411207
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x411218
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x411229
or bl, 0x80
cmp dword [0x4c1fd8], 0
je 0x411266
mov al, bl
not al
and al, byte [0x4c1ea5]
je 0x411266
mov cl, byte [0x4c1ea7]
not al
and byte [0x4c1ea5], al
and byte [0x4c1ea6], al
and cl, al
mov al, cl
mov byte [0x4c1ea7], cl
mov ecx, 0x4c1ec8
call fcn.00411270
pop esi
mov al, bl
pop ebx
ret

Function at 0x4116d0
Capabilities:
Get keyboard layout

Disassembly:
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4116e5
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x4116e7
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
xor eax, eax
call fcn.00411710
xor ecx, ecx
add esp, 4
cmp eax, 3
sete al
ret
Function at 0x411860
Capabilities:
Log keystrokes

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
jmp 0x411870
cmp byte [eax*8 + 0x4bf234], bl
je 0x4118a0
inc eax
cmp eax, 0x6d
jl 0x411870
push ebp
movzx ebp, bl
push 2
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [edi], ax
test ax, ax
je 0x4118be
xor edx, edx
pop ebp
mov word [edi + 2], dx
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [eax*8 + 0x4bf230]
dec esi
push esi
push eax
push edi
call fcn.0048ad94
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
mov eax, edi
pop edi
pop esi
ret
cmp byte [esp + 0x10], 0
je 0x4118dd
test bl, bl
je 0x4118dd
push ebp
push str.vk_02X
call fcn.0046f260
add esp, 8
pop ebp
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
mov word [edi], ax
pop ebp
mov eax, edi
pop edi
pop esi
ret

Function at 0x411a50
Capabilities:
Log keystrokes via polling

Disassembly:
cmp ax, 0xa
jne 0x411a59
mov al, 0xd
ret
push ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x411a75
cmp al, 0xff
jne 0x411a75
xor al, al
ret
test dl, 0x38
jne 0x411a72
test esi, esi
je 0x411ac0
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x411a8d
or byte [esi], 8
jmp 0x411aaf
test dl, 2
je 0x411a9e
mov cl, byte [esi]
test cl, 3
jne 0x411a9e
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x411aaf
mov cl, byte [esi]
test cl, 0xc
jne 0x411aaf
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x411ac0
mov cl, byte [esi]
test cl, 0x30
jne 0x411ac0
or cl, 0x10
mov byte [esi], cl
ret

Function at 0x411cf0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
xor eax, eax
mov word [esi], ax
test bl, bl
jne 0x411d1e
test di, di
jne 0x411d11
pop edi
pop ebp
mov eax, esi
pop ebx
ret
mov ecx, edi
call fcn.00412070
mov byte [esp + 0x10], al
jmp 0x411d35
test di, di
jne 0x411d3e
mov ecx, dword [esp + 0x10]
push ecx
xor bl, bl
call fcn.00411df0
add esp, 4
movzx edi, ax
mov bl, byte [esp + 0x10]
test di, di
je 0x411d6b
cmp bl, 0x9c
jb 0x411d48
cmp bl, 0x9f
jbe 0x411d6b
xor eax, eax
lea ebx, [ebx]
cmp word [eax*8 + 0x4bf59c], di
je 0x411d9b
inc eax
cmp eax, 0xd
jl 0x411d50
xor ecx, ecx
mov word [esi], cx
cmp word [esi], 0
jne 0x411d0b
xor eax, eax
lea ecx, [ecx]
cmp byte [eax*8 + 0x4bf234], bl
je 0x411db8
inc eax
cmp eax, 0x6d
jl 0x411d70
movzx ecx, bl
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [esi], ax
test ax, ax
je 0x411dd5
xor edx, edx
mov word [esi + 2], dx
jmp 0x411dda
mov edx, dword [eax*8 + 0x4bf598]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.0048ad94
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x411d65
mov edx, dword [eax*8 + 0x4bf230]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.0048ad94
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x411dda
xor eax, eax
mov word [esi], ax
cmp word [esi], 0
mov eax, esi
jne 0x411de6
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
ret
Function at 0x412070
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x4120c8
je 0x4120c5
sub eax, 0x1d
cmp eax, 0x36
ja case.0x4120d9.286
movzx eax, byte [eax + 0x412144]
jmp dword [eax*4 + 0x4120fc]
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.0x4120d9.286
movzx edx, byte [eax + 0x412194]
jmp dword [edx*4 + 0x41217c]
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_MapVirtualKeyW]
ret

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

Disassembly:
mov dword [0x4c0df8], eax
mov edx, 1
mov eax, 0x4c0df8
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, 0x4c17b4
jl 0x4121d0
mov dword [0x4be3b4], 1
mov dword [0x4c390c], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4c390c], 0
push esi
mov esi, 0x4c0df8
jne 0x41222a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.004121c0
mov dword [0x4be3b4], 0x270
mov dword [0x4c0df4], 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 0x412240
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 0x412275
mov ecx, dword [esi]
mov eax, dword [0x4c0df8]
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 0x4122e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4be3b4]
jne 0x4122ed
call fcn.00412210
mov eax, dword [0x4c0df4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c0df4], 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 0x412330
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4be3b4]
jne 0x41233e
call fcn.00412210
mov ecx, dword [0x4c0df4]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4c0df4], 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 0x412385
fadd qword [0x4b8930]
fmul qword [0x4b8978]
pop ecx
ret
Function at 0x4155a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x4be3d0]
add eax, 4
imul eax, eax, 0x108
push ebx
push esi
push edi
push eax
call fcn.00488394
xor ebx, ebx
add esp, 4
mov dword [0x4c09e0], eax
cmp eax, ebx
jne 0x4155d7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4be3fc]
push 0x403300
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c1ea8]
push 0xe
push ecx
mov dword [0x4be3fc], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [ebp + 8]
cmp dword [esi], ebx
jne 0x415618
mov dword [esp + 0xc], 1
jmp 0x4156c5
mov edx, dword [0x4be3fc]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xe4], bl
call edi
mov ecx, dword [0x4be3fc]
mov dword [ecx + 0xd4], eax
mov dword [ecx + 0xd8], 0x64
cmp byte [0x4c1ffb], bl
jne 0x41566a
mov eax, dword [0x4c1ea8]
push 0x403200
push 0x64
push 0xb
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne cl
mov byte [0x4c1ffb], cl
mov byte [esi + 0xa9d], 1
call edi
mov ecx, dword [esi]
push ebx
mov edi, 1
add dword [0x4c2014], edi
push ebx
push edi
mov dword [esi + 0xabc], eax
mov dword [esi + 0xab8], eax
call fcn.00425c50
sub dword [0x4c2014], edi
mov dword [esp + 0xc], eax
cmp byte [0x4c1ffb], bl
je 0x4156bf
mov edx, dword [0x4c1ea8]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4156bf
mov byte [0x4c1ffb], bl
mov byte [esi + 0xa9d], bl
mov eax, dword [0x4be3fc]
cmp dword [eax + 0xf8], ebx
lea ecx, [eax + 0xf8]
je 0x4156f1
mov eax, dword [eax + 0xfc]
push eax
push ecx
call fcn.0042f2b0
mov dword [esp + 0x14], eax
mov eax, dword [0x4be3fc]
add esp, 8
push 1
push ebx
mov byte [eax + 0xe4], 1
mov esi, eax
mov dword [eax + 0xb4], ebx
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xc0], ebx
mov dword [eax + 0xc4], ebx
mov byte [eax + 0xef], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xe0], 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 + 0xf8], ebx
mov byte [eax + 0x100], bl
mov ecx, 0x42
mov edi, 0x4c0af0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c26a8]
push 0xffffffffffffffff
push 0x49b8c0
mov byte [eax + 0xe4], 1
mov dword [eax + 0xd8], ebx
mov word [eax + 0xe5], 1
mov dword [eax + 0x2c], SysStringLen
call fcn.00471d60
mov ecx, dword [0x4bf608]
cmp word [ecx], bx
jne 0x4157cf
cmp dword [0x4c38b0], ebx
jne 0x4157cf
cmp dword [0x4c1fd8], ebx
jne 0x4157cf
cmp dword [0x4c1fdc], ebx
jne 0x4157cf
cmp byte [0x4c1fcb], bl
jne 0x4157cf
mov ecx, dword [esp + 0xc]
neg ecx
sbb ecx, ecx
push ebx
and ecx, 7
add ecx, 2
push 0x4c4000
xor eax, eax
call fcn.00415810
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415810
Capabilities:
Set current directory

Disassembly:
sub esp, 0x90c
push ebx
push ebp
mov ebp, dword [esp + 0x918]
xor ebx, ebx
push esi
push edi
mov dword [ebp + 0xa58], ecx
cmp eax, ebx
je 0x415837
mov byte [esp + 0x17], 1
cmp word [eax], bx
je 0x41583b
mov byte [esp + 0x17], bl
cmp eax, ebx
je 0x4158a5
cmp word [eax], bx
je 0x4158a5
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0x120]
call fcn.0046f260
mov edx, dword [0x4c4a84]
mov ecx, dword [0x4c1ea8]
add esp, 8
push 0x10000
push edx
mov eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [0x4c1ea8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41589e
mov eax, dword [0x4c1ea8]
push eax
mov byte [0x4c1ea4], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.004098c0
cmp dword [ebp + 0xa54], ebx
je 0x4159da
cmp byte [0x4c4e86], bl
jne 0x4159da
mov esi, dword [0x4c26a8]
cmp byte [esi + 0x17], bl
jne 0x4158cb
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4158d8
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4158f1
test byte [esi + 0x15], 4
je 0x4158ec
mov eax, esi
call fcn.0042f660
mov eax, dword [esi + 8]
jmp 0x415901
cmp al, 2
jne 0x4158fc
call fcn.00401000
jmp 0x415901
mov eax, 0x4c3fa8
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0048ad94
mov eax, dword [0x4be3fc]
inc dword [0x4c2014]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x122], dx
mov ecx, 0x42
mov esi, 0x4c0af0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4be3fc], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4c4000
call fcn.004154a0
mov dword [0x4c4aa8], ebx
mov dword [0x4c4aac], ebx
cmp dword [0x4c2040], ebx
je 0x41596b
push 0x4c26b0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [0x4be3c4]
mov ecx, dword [ebp + 0xa54]
mov dword [0x4be3c4], ebx
mov byte [0x4c4e86], 1
call fcn.00401240
test eax, eax
jne 0x41599b
mov eax, dword [esp + 0x924]
push eax
push ebp
call fcn.00415a00
mov byte [0x4c4e86], bl
cmp byte [esp + 0x17], bl
je 0x4159b5
mov ecx, dword [esp + 0x924]
push ecx
push ebp
call fcn.00415a00
lea edx, [esp + 0x18]
push edx
call fcn.004030c0
add esp, 4
pop edi
mov dword [0x4be3c4], esi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90c
ret 8
mov ecx, dword [esp + 0x924]
mov eax, dword [0x4be3fc]
push ecx
push ebp
mov dword [0x4be3c4], ebx
mov byte [eax + 0xef], bl
call fcn.00415a00
int3
Function at 0x41bd80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4be3ec]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
push esi
mov word [esp + 0xc], ax
xor edx, edx
push edi
lea ebx, [esp + 0x10]
mov eax, ebp
mov word [esp + 0x12], cx
mov dword [esp + 0x14], 0x90028
mov dword [esp + 0x18], 0x3e003c
mov dword [esp + 0x1c], 0x3d003a
mov dword [esp + 0x20], 0x2d002b
mov dword [esp + 0x24], 0x2f002a
mov dword [esp + 0x28], 0x7e0021
mov dword [esp + 0x2c], 0x7c0026
mov dword [esp + 0x30], 0x5b005e
mov dword [esp + 0x34], 0x3f002e
mov word [esp + 0x38], dx
call fcn.00408f70
test eax, eax
je 0x41be08
cmp eax, ebp
jbe 0x41be23
sub eax, 2
jmp 0x41be23
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41be10
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 2]
mov edi, eax
cmp eax, ebp
jbe 0x41be44
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x41be3d
cmp eax, 9
jne 0x41be44
sub edi, 2
cmp edi, ebp
ja 0x41be30
mov esi, edi
sub esi, ebp
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x41be75
cmp byte [esp + 0x4c], 0
je 0x41be69
mov ecx, dword [esp + 0x40]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042f0c0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov ebx, dword [esp + 0x44]
push esi
push ebp
push ebx
call fcn.0048ad94
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10