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

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
cmp eax, 0x80000000
je 0x411241
mov edi, dword [ebp]
cmp edi, 0x80000000
je 0x411241
mov edx, dword [0x4f1554]
cmp edx, 2
jne 0x4110d5
movzx ebx, byte [esp + 0x24]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
call fcn.00411420
add esp, 4
call fcn.004118a0
cmp byte [esp + 0x24], 0
je 0x411241
mov dword [esi], SysReAllocString
mov dword [ebp], CreateStatusWindowA
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x24], 0
je 0x41112a
cmp edx, 1
jne 0x411110
cmp dword [0x4efadc], 0x80000000
jne 0x4110fe
push 0x4efadc
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4efadc]
add dword [esi], eax
mov ecx, dword [0x4efae0]
add dword [ebp], ecx
jmp 0x41114f
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add dword [esi], eax
add dword [ebp], ecx
jmp 0x41114f
mov edx, dword [0x4ec48c]
movzx eax, word [edx + 0xd0]
shr eax, 2
and eax, 3
cmp eax, 2
je 0x41114f
push eax
mov edi, ebp
mov ebx, esi
call fcn.004a41e0
add esp, 4
cmp dword [0x4f1554], 1
jne 0x411168
mov eax, dword [esi]
mov dword [0x4efadc], eax
mov ecx, dword [ebp]
mov dword [0x4efae0], ecx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov edi, eax
call ebx
mov ecx, dword [esi]
mov ebx, eax
mov eax, ecx
shl eax, 0x10
cdq
idiv edi
xor edx, edx
test ecx, ecx
setns dl
lea eax, [eax + edx*2 - 1]
mov dword [esi], eax
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
xor edx, edx
test ecx, ecx
setns dl
lea edx, [edx + edx - 1]
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [ebp], edx
test eax, eax
js 0x41122b
cmp eax, 0x64
jle 0x4111c3
mov dword [esp + 0x20], 0x64
jmp 0x4111c7
test eax, eax
je 0x41122b
cmp dword [0x4f1554], 1
je 0x41122b
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
mov esi, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setns dl
mov ebx, eax
lea ebx, [ebx + edx*2 - 1]
mov eax, esi
shl eax, 0x10
cdq
idiv edi
mov ecx, eax
xor eax, eax
test esi, esi
setns al
lea ecx, [ecx + eax*2 - 1]
mov eax, ebx
call fcn.00451920
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi]
push 0x8001
xor ecx, ecx
call fcn.00411250
add esp, 4
call fcn.004118a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x411680
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 8
cmp dword [0x4f1554], 1
push ebx
jne 0x411747
xor bl, bl
cmp dword [0x4f0d08], 0
mov byte [esp + 8], bl
je 0x4116a6
mov bl, 1
mov byte [esp + 8], bl
cmp dword [0x4f0d0c], 0
je 0x4116b6
or bl, 2
mov byte [esp + 8], bl
test bl, bl
je 0x4116d1
mov al, byte [0x4efadb]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.00408fa0
add esp, 8
mov edx, dword [0x4efaf4]
mov eax, dword [0x4efaf0]
push 0x1c
push edx
push eax
call dword [0x4f2890]
test bl, bl
je 0x4117c5
mov cl, byte [0x4efadb]
and cl, bl
test cl, 1
je 0x41172e
push 1
call fcn.00412200
mov dl, byte [esp + 0x18]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4f0bd7]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4f0bd7], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4ef960], eax
mov edx, dword [esp + 8]
pop ebx
add esp, 8
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.00408fa0
mov eax, dword [0x4f0bcc]
push 0
push eax
push 0x40fab0
push 1
mov dword [0x4efae8], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4f0d10], eax
test eax, eax
je 0x4117c5
mov byte [0x4f0cf8], 1
push 1
push 0x8000012f
mov dword [0x4ec46c], 0
call fcn.00401910
add esp, 8
cmp dword [0x4f0d10], 0
mov dword [0x4ec46c], 1
jne 0x411776
mov eax, dword [0x4efaf4]
mov ecx, dword [0x4efaf0]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4f0cf8], 0
jne 0x4117c5
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
pop ebx
add esp, 8
ret

Function at 0x411990
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4f14e8]
test eax, eax
je 0x411a7d
mov ecx, dword [0x4f14ec]
imul ecx, ecx, 0x70
add eax, ecx
mov cl, byte [esp + 8]
mov byte [eax + 5], dl
mov dx, word [esp + 0xc]
mov byte [eax], cl
mov word [eax + 2], dx
push esi
mov byte [eax + 4], 0x69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x4f2364]
mov dword [0x4f14f0], eax
mov dword [esp + 4], ecx
fild dword [esp + 4]
jns 0x4119e3
fadd dword [0x4e58e0]
fdiv qword [0x4e58d8]
mov edx, dword [0x4f14ec]
mov ecx, dword [0x4f14e8]
mov dword [0x4f2364], eax
imul edx, edx, 0x70
fstp dword [esp + 4]
fld dword [esp + 4]
fstp dword [edx + ecx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x411a42
mov edx, dword [0x4f14ec]
mov eax, dword [0x4f14e8]
imul edx, edx, 0x70
cmp esi, dword [0x4f14f4]
je 0x411a3b
push 0x64
lea ecx, [edx + eax + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x411a59
mov byte [edx + eax + 0xc], 0
jmp 0x411a59
mov ecx, dword [0x4f14ec]
mov edx, dword [0x4f14e8]
imul ecx, ecx, 0x70
mov dword [ecx + edx + 0xc], 0x412f4e
mov eax, dword [0x4f14ec]
inc eax
mov dword [0x4f14f4], esi
mov dword [0x4f14ec], eax
pop esi
cmp eax, dword [0x4ec470]
jl 0x411a7d
mov dword [0x4f14ec], 0
pop ecx
ret
Function at 0x411a80
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
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 0x411aac
cmp ebp, 2
jne 0x411b82
cmp esi, ebp
je 0x411b82
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x411add
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040fd20
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.0040fd20
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4f1c80]
sete al
mov byte [esp + 0x14], al
test al, al
je 0x411b33
push 1
push 0xffffffffffffffff
mov dword [0x4ec46c], 0
call fcn.00401910
add esp, 8
mov dword [0x4ec46c], 1
cmp bl, 0x14
jne 0x411b82
cmp ebp, 2
jne 0x411b82
push 0x14
call edi
test al, 1
je 0x411b82
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.0040fd20
add esp, 0x18
cmp byte [esp + 0x14], 0
je 0x411b82
push 1
push 0xffffffffffffffff
mov dword [0x4ec46c], 0
call fcn.00401910
add esp, 8
mov dword [0x4ec46c], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x412200
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4f0d08], 0
je 0x412216
cmp byte [esp + 4], 0
jne 0x412216
mov al, byte [0x4f0bd5]
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 0x412233
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x412247
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x41225b
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x41226f
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x412283
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x412297
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x4122a8
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x4122b9
or bl, 0x80
cmp dword [0x4f0d08], 0
je 0x4122f6
mov al, bl
not al
and al, byte [0x4f0bd5]
je 0x4122f6
mov cl, byte [0x4f0bd7]
not al
and byte [0x4f0bd5], al
and byte [0x4f0bd6], al
and cl, al
mov al, cl
mov byte [0x4f0bd7], cl
mov ecx, 0x4f0bf8
call fcn.00412300
pop esi
mov al, bl
pop ebx
ret

Function at 0x412820
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x41285e
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 0x41285e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41285e
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 0x412a40
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x110
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, eax
mov al, byte [esp + 0x118]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x412b30
push ebx
push ebp
push 0x100
lea edx, [esp + 0x20]
push 0
push edx
call fcn.004c16a0
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
add esp, 0xc
push edi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x6e
xor bl, bl
call ebp
cmp eax, 2
jne 0x412a9e
mov bl, byte [esp + 0x10]
movzx ecx, byte [esp + 0x120]
push edi
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push ecx
call ebp
mov dword [esp + 0x18], eax
test eax, eax
jns 0x412ad3
push edi
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0x6e
call ebp
test bl, bl
je 0x412b10
push esi
push 1
push edi
lea esi, [esp + 0x1b]
call fcn.00412ce0
add esp, 8
mov bl, al
pop esi
test bl, bl
je 0x412b10
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x1c]
call fcn.00412300
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
movzx eax, bl
push 0
push eax
call ebp
cmp dword [esp + 0x18], 0
pop ebp
pop ebx
je 0x412b26
movsx eax, byte [esp + 8]
pop edi
add esp, 0x110
ret
xor eax, eax
pop edi
add esp, 0x110
ret
push edi
movzx ecx, al
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
pop edi
add esp, 0x110
ret

Function at 0x412ce0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp bl, 0xa
jne 0x412cea
mov al, 0xd
pop ecx
ret
mov eax, dword [esp + 8]
push eax
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov dl, al
cmp cl, 0xff
jne 0x412d4c
cmp al, 0xff
jne 0x412d4c
cmp byte [esp + 0xc], 0
je 0x412d62
movzx eax, bl
test eax, 0xffffff80
jne 0x412d62
push 0x103
push eax
call fcn.004bb66e
add esp, 8
test eax, eax
je 0x412d62
mov al, bl
call fcn.004099b0
mov byte [esp + 3], al
mov ecx, 1
mov al, bl
call fcn.00409990
mov dl, byte [esp + 3]
test eax, eax
setne cl
test cl, 0x38
jne 0x412d62
test esi, esi
je 0x412d93
mov al, cl
and al, 6
cmp al, 6
jne 0x412d66
or byte [esi], 8
jmp 0x412d84
xor al, al
pop ecx
ret
test cl, 2
je 0x412d75
mov al, byte [esi]
test al, 3
jne 0x412d75
or al, 1
mov byte [esi], al
test cl, 4
je 0x412d84
mov al, byte [esi]
test al, 0xc
jne 0x412d84
or al, 4
mov byte [esi], al
test cl, 1
je 0x412d93
mov al, byte [esi]
test al, 0x30
jne 0x412d93
or al, 0x10
mov byte [esi], al
mov al, dl
pop ecx
ret
Function at 0x4134d0
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x41352d
je 0x41352a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41353e.286
movzx eax, byte [eax + 0x4135d8]
jmp dword [eax*4 + 0x41358c]
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.0x41353e.286
movzx edx, byte [eax + 0x413638]
jmp dword [edx*4 + 0x413610]
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 0x413580
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x413588
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

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

Disassembly:
mov dword [0x4efb08], eax
mov edx, 1
mov eax, 0x4efb08
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, 0x4f04c4
jl 0x413690
mov dword [0x4ec458], 1
mov dword [0x4f15a8], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4f15a8], 0
push esi
mov esi, 0x4efb08
jne 0x4136ea
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00413680
mov dword [0x4ec458], 0x270
mov dword [0x4efb04], 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 0x413700
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 0x413735
mov ecx, dword [esi]
mov eax, dword [0x4efb08]
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 0x4137a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4ec458]
jne 0x4137ad
call fcn.004136d0
mov eax, dword [0x4efb04]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4efb04], 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 0x4137f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4ec458]
jne 0x4137fe
call fcn.004136d0
mov ecx, dword [0x4efb04]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4efb04], 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 0x413845
fadd qword [0x4e5890]
fmul qword [0x4e58e8]
pop ecx
ret
Function at 0x41a980
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x41a989
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x41a9aa
cmp dword [0x4f2354], 0
je 0x41a9aa
mov dword [esp + 4], 1
mov ecx, 0x4f2348
jmp fcn.004049f0
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x41a9be
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x41cb30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4ec478]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.004ba2ed
add esp, 4
mov dword [0x4ef780], eax
test eax, eax
jne 0x41cb5f
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4ec48c]
push 0x403e00
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4f0bd8]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4ec48c], eax
call edi
call fcn.004010d0
cmp dword [ebp], 0
jne 0x41cba3
mov ebx, 1
jmp 0x41cc52
mov edx, dword [0x4ec48c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], 0
call esi
cmp byte [0x4f0d30], 0
mov ecx, dword [0x4ec48c]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
jne 0x41cbf3
mov eax, dword [0x4f0bd8]
push 0x403d00
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4f0d30], cl
mov byte [ebp + 0x615], 1
call esi
mov ecx, dword [ebp]
push 0
mov esi, 1
add dword [0x4f0d48], esi
push 0
push esi
mov dword [ebp + 0x62c], eax
mov dword [ebp + 0x628], eax
call fcn.004245b0
sub dword [0x4f0d48], esi
cmp byte [0x4f0d30], 0
mov ebx, eax
je 0x41cc4b
mov edx, dword [0x4f0bd8]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41cc4b
mov byte [0x4f0d30], 0
mov byte [ebp + 0x615], 0
mov ebp, dword [0x4ec48c]
cmp dword [ebp + 0xe4], 0
je 0x41ccac
mov eax, dword [ebp + 0xe4]
cmp dword [eax + 8], 6
jne 0x41cc77
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 0x41cc8d
push eax
call fcn.004ba14c
add esp, 4
mov ecx, dword [ebp + 0xe4]
push ecx
call fcn.004b9d3f
mov dword [ebp + 0xe4], 0
mov ebp, dword [0x4ec48c]
add esp, 4
mov eax, ebp
call fcn.00401440
mov edx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xcc], 1
push 0x4d69c8
mov ecx, 0x3a
mov esi, ebp
mov edi, 0x4ef870
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.004a5c20
mov eax, dword [0x4ec518]
cmp word [eax], 0
jne 0x41cd46
cmp dword [0x4f1544], 0
jne 0x41cd46
cmp dword [0x4f0d08], 0
jne 0x41cd46
cmp dword [0x4f0d0c], 0
jne 0x41cd46
cmp byte [0x4f0d2c], 0
jne 0x41cd46
neg ebx
sbb ebx, ebx
and ebx, 7
push 0
add ebx, 2
push ebx
push 0x4f1cd8
call fcn.0041cda0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x41cda0
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 + 0x5d0], ecx
cmp byte [0x4f3e8b], bl
jne 0x41cf27
cmp byte [eax + 0x614], bl
je 0x41cf27
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4f13d8]
push ebx
push 1
mov dword [0x4f4ddc], eax
call fcn.004016d0
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004bd1c0
mov eax, dword [0x4ec48c]
inc dword [0x4f0d48]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], bl
mov ecx, 0x3a
mov esi, 0x4ef870
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4ec48c], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4f1cd8
call fcn.0041ca30
mov dword [0x4f22f0], ebx
mov dword [0x4f22f4], ebx
cmp dword [0x4f0d74], ebx
je 0x41ce52
push 0x4f13e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x5c4]
mov edi, dword [0x4ec46c]
mov dword [0x4ec46c], ebx
mov byte [0x4f3e8b], 1
mov byte [esp + 0xf], 1
mov byte [0x4ee24b], bl
cmp ecx, ebx
je 0x41ce92
call fcn.00401740
test eax, eax
je 0x41ce92
cmp byte [0x4ee24b], bl
jne 0x41ce92
mov byte [esp + 0xf], bl
mov byte [0x4ee24b], 1
cmp byte [esp + 0xf], bl
je 0x41ceea
call fcn.00442040
mov dword [esp + 0x10], eax
mov eax, dword [0x4f4ddc]
cdq
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [esi + 0x5c4], ebx
mov dword [esp + 0x20], eax
sete dl
lea eax, [esp + 0x10]
lea ecx, [esi + 0x590]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], 1
push edx
push 2
push eax
push ecx
call fcn.00499150
cmp eax, 3
jne 0x41ceea
mov byte [esp + 0xf], bl
mov byte [0x4f3e8b], bl
cmp byte [esp + 0xf], bl
jne 0x41cf1d
cmp dword [ebp + 0xc], 3
je 0x41cf1d
lea edx, [esp + 0x30]
push edx
call fcn.00403b70
add esp, 4
mov dword [0x4ec46c], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.0041cf70
cmp byte [0x4ee24b], bl
jne 0x41cf5c
cmp ecx, 9
jne 0x41cf5c
mov ecx, dword [0x4f0b60]
cmp byte [ecx], bl
je 0x41cf47
mov edx, dword [ebp + 0x10]
mov dword [0x4f4ddc], edx
pop edi
pop esi
mov byte [0x4ee24b], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push eax
call fcn.0041cf70
int3
Function at 0x42ab70
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4f0d48]
sub esp, 0xa4
push ebx
push esi
push edi
cmp eax, dword [0x4ec478]
jl 0x42ab9a
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x4f13d8]
cmp byte [esi + 0x17], 0
jne 0x42aba9
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42abb6
mov eax, esi
call fcn.004015f0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42abcf
test byte [esi + 0x15], 4
je 0x42abca
mov eax, esi
call fcn.0042dad0
mov eax, dword [esi + 8]
jmp 0x42abdf
cmp al, 2
jne 0x42abda
call fcn.004014a0
jmp 0x42abdf
mov eax, 0x4f1c69
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004bd1c0
mov eax, dword [0x4ec48c]
inc dword [0x4f0d48]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], 0
mov ecx, 0x3a
mov esi, 0x4ef870
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4ec48c], eax
push edi
mov eax, 0x4f1cd8
mov dword [esi + 0x2c], edi
call fcn.0041ca30
mov dword [0x4f22f0], edi
mov dword [0x4f22f4], edi
cmp dword [0x4f0d74], edi
je 0x42ac4b
push 0x4f13e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x42ac66
mov byte [esi + 0xce], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4f22fc], edi
je 0x42ac7c
cmp dword [0x4f22f8], edi
jne 0x42ac85
cmp byte [esi + 0xce], 0
je 0x42acb9
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x42acb9
cmp dword [0x4f22fc], edi
jge 0x42aca5
mov dword [esi + 0xc0], eax
jmp 0x42acb9
call ebx
mov dword [esi + 0xbc], eax
mov edx, dword [0x4f22fc]
mov dword [esi + 0xc0], edx
mov ecx, dword [0x4f2264]
mov eax, dword [0x4f2260]
mov edx, dword [0x4f22cc]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x4f22c8]
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [0x4f2264], eax
mov dword [0x4f22cc], ecx
mov dword [0x4f2260], esi
call ebx
mov dword [0x4f2304], eax
mov dword [0x4f2300], eax
mov dword [0x4f22c8], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x42ad17
mov esi, dword [eax + 0xc]
call fcn.0042ab00
mov esi, eax
jmp 0x42ad61
mov ebx, dword [eax + 0xc]
push 0x4d740c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], esi
call fcn.0049be50
add esp, 4
lea eax, [esp + 0xc]
push eax
push 1
lea ecx, [esp + 0x28]
push ecx
push str.call
xor eax, eax
mov ecx, ebx
call fcn.00496190
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42ad61
mov esi, dword [esp + 0xc]
neg esi
sbb esi, esi
add esi, 4
mov edx, dword [0x4ec48c]
mov eax, dword [edx + 0xa4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [0x4f22c8], ecx
mov dword [0x4f0d5c], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
mov dword [0x4f2260], edi
mov dword [0x4f2264], edx
mov dword [0x4f22cc], eax
call fcn.00403b70
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8