joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e2e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x2c
push esi
mov esi, eax
lea eax, [esp + 4]
test cl, cl
jns 0x40e2f7
mov byte [esp + 4], 0x30
lea eax, [esp + 5]
push 0xa
push eax
movzx eax, cl
push eax
call fcn.0047e6c2
add esp, 0xc
test esi, esi
jle 0x40e3b0
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, esi
jmp 0x40e320
cmp dword [0x4a4590], 0
jne 0x40e37d
call edi
sub eax, dword [0x4a5294]
mov ecx, dword [0x49f430]
cmp eax, dword [ecx + 0xb0]
jbe 0x40e37d
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40e376
push 1
push 0xffffffffffffffff
mov dword [0x49f394], 0
call fcn.004012a0
add esp, 8
mov dword [0x49f394], 1
call edi
mov dword [0x4a5294], eax
lea eax, [esp + 0xc]
call fcn.0040e3c0
cmp dword [0x4a4590], 2
jne 0x40e399
mov eax, dword [0x49f430]
mov esi, dword [eax + 0x60]
jmp 0x40e3a2
mov ecx, dword [0x49f430]
mov esi, dword [ecx + 0x5c]
call fcn.004102f0
dec ebp
jne 0x40e320
pop edi
pop ebp
pop esi
add esp, 0x2c
ret

Function at 0x40e3c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4a4590], 0
push esi
mov esi, eax
je 0x40e3d7
mov al, byte [0x4a1b55]
jmp 0x40e4ce
cmp dword [0x4a2d60], 0
je 0x40e3ea
mov al, byte [0x4a2c2d]
jmp 0x40e4ce
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call edi
mov ecx, 0x8000
test cx, ax
je 0x40e407
mov bl, 0x10
push 0xa1
call edi
mov edx, 0x8000
test dx, ax
je 0x40e41b
or bl, 0x20
push 0xa2
call edi
mov ecx, 0x8000
test cx, ax
je 0x40e42f
or bl, 1
push 0xa3
call edi
mov edx, 0x8000
test dx, ax
je 0x40e443
or bl, 2
push 0xa4
call edi
mov ecx, 0x8000
test cx, ax
je 0x40e457
or bl, 4
push 0xa5
call edi
mov edx, 0x8000
test dx, ax
je 0x40e46b
or bl, 8
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
je 0x40e47c
or bl, 0x40
push 0x5c
call edi
mov edx, 0x8000
test dx, ax
je 0x40e48d
or bl, 0x80
cmp dword [0x4a2d60], 0
je 0x40e4ca
mov al, bl
not al
and al, byte [0x4a2c2d]
je 0x40e4ca
mov cl, byte [0x4a2c2f]
not al
and byte [0x4a2c2d], al
and byte [0x4a2c2e], al
and cl, al
mov al, cl
mov byte [0x4a2c2f], cl
mov ecx, 0x4a2c50
call fcn.00410ea0
pop edi
mov al, bl
pop ebx
mov byte [esp + 4], al
mov ecx, dword [esp + 4]
push 1
and al, 0xc4
push 0
or al, 4
movzx edx, al
push 0
push ecx
push edx
mov eax, 0xffc3d44f
call fcn.004106a0
mov al, byte [esi]
add esp, 0x14
cmp al, 0x30
jl 0x40e51f
cmp al, 0x39
jg 0x40e51f
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx eax, al
push 0
push eax
push 2
call fcn.0040e7b0
mov al, byte [esi + 1]
inc esi
add esp, 0x18
cmp al, 0x30
jge 0x40e4f8
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.0040e7b0
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x40fb80
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 0x40fd61
mov edi, dword [ebp]
cmp edi, 0x80000000
je 0x40fd61
mov edx, dword [0x4a4590]
cmp edx, 2
jne 0x40fbf5
movzx ebx, byte [esp + 0x24]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
call fcn.0040ff40
add esp, 4
call fcn.004103c0
cmp byte [esp + 0x24], 0
je 0x40fd61
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 0x40fc4a
cmp edx, 1
jne 0x40fc30
cmp dword [0x4a1b58], 0x80000000
jne 0x40fc1e
push 0x4a1b58
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4a1b58]
add dword [esi], eax
mov ecx, dword [0x4a1b5c]
add dword [ebp], ecx
jmp 0x40fc6f
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 0x40fc6f
mov edx, dword [0x49f430]
movzx eax, word [edx + 0xc8]
shr eax, 2
and eax, 3
cmp eax, 2
je 0x40fc6f
push eax
mov edi, ebp
mov ebx, esi
call fcn.0046d620
add esp, 4
cmp dword [0x4a4590], 1
jne 0x40fc88
mov eax, dword [esi]
mov dword [0x4a1b58], eax
mov ecx, dword [ebp]
mov dword [0x4a1b5c], 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 0x40fd4b
cmp eax, 0x64
jle 0x40fce3
mov dword [esp + 0x20], 0x64
jmp 0x40fce7
test eax, eax
je 0x40fd4b
cmp dword [0x4a4590], 1
je 0x40fd4b
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.0044f7c0
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.0040fd70
add esp, 4
call fcn.004103c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4101a0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 8
cmp dword [0x4a4590], 1
push ebx
jne 0x410267
xor bl, bl
cmp dword [0x4a2d60], 0
mov byte [esp + 8], bl
je 0x4101c6
mov bl, 1
mov byte [esp + 8], bl
cmp dword [0x4a2d64], 0
je 0x4101d6
or bl, 2
mov byte [esp + 8], bl
test bl, bl
je 0x4101f1
mov al, byte [0x4a1b54]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.004084d0
add esp, 8
mov edx, dword [0x4a1b6c]
mov eax, dword [0x4a1b68]
push 0x1c
push edx
push eax
call dword [0x4a5494]
test bl, bl
je 0x4102e5
mov cl, byte [0x4a1b54]
and cl, bl
test cl, 1
je 0x41024e
push 1
call fcn.00410da0
mov dl, byte [esp + 0x18]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4a2c2f]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4a2c2f], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4a19d8], eax
mov edx, dword [esp + 8]
pop ebx
add esp, 8
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.004084d0
mov eax, dword [0x4a2c28]
push 0
push eax
push 0x40e540
push 1
mov dword [0x4a1b60], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4a2d68], eax
test eax, eax
je 0x4102e5
mov byte [0x4a2d50], 1
push 1
push 0x8000012f
mov dword [0x49f394], 0
call fcn.004012a0
add esp, 8
cmp dword [0x4a2d68], 0
mov dword [0x49f394], 1
jne 0x410296
mov eax, dword [0x4a1b6c]
mov ecx, dword [0x4a1b68]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4a2d50], 0
jne 0x4102e5
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
pop ebx
add esp, 8
ret

Function at 0x4104b0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4a3544]
test eax, eax
je 0x41059d
mov ecx, dword [0x4a3548]
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 [0x4a548c]
mov dword [0x4a354c], eax
mov dword [esp + 4], ecx
fild dword [esp + 4]
jns 0x410503
fadd dword [0x49a2b8]
fdiv qword [0x49a2b0]
mov edx, dword [0x4a3548]
mov ecx, dword [0x4a3544]
mov dword [0x4a548c], 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 0x410562
mov edx, dword [0x4a3548]
mov eax, dword [0x4a3544]
imul edx, edx, 0x70
cmp esi, dword [0x4a3550]
je 0x41055b
push 0x64
lea ecx, [edx + eax + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x410579
mov byte [edx + eax + 0xc], 0
jmp 0x410579
mov ecx, dword [0x4a3548]
mov edx, dword [0x4a3544]
imul ecx, ecx, 0x70
mov dword [ecx + edx + 0xc], 0x412f4e
mov eax, dword [0x4a3548]
inc eax
mov dword [0x4a3550], esi
mov dword [0x4a3548], eax
pop esi
cmp eax, dword [0x49f398]
jl 0x41059d
mov dword [0x4a3548], 0
pop ecx
ret
Function at 0x4105a0
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 0x4105c9
cmp edi, 2
jne 0x410695
cmp esi, edi
je 0x410695
cmp bl, 0x90
jne 0x4105f0
push 0xffc3d44d
push 0
push 0
push 0
push 0x90
push 1
call fcn.0040e7b0
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.0040e7b0
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4a4c44]
sete al
mov byte [esp + 0xb], al
test al, al
je 0x410646
push 1
push 0xffffffffffffffff
mov dword [0x49f394], 0
call fcn.004012a0
add esp, 8
mov dword [0x49f394], 1
cmp bl, 0x14
jne 0x410695
cmp edi, 2
jne 0x410695
push 0x14
call ebp
test al, 1
je 0x410695
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push edi
call fcn.0040e7b0
add esp, 0x18
cmp byte [esp + 0xb], 0
je 0x410695
push 1
push 0xffffffffffffffff
mov dword [0x49f394], 0
call fcn.004012a0
add esp, 8
mov dword [0x49f394], 1
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x410da0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4a2d60], 0
je 0x410db6
cmp byte [esp + 4], 0
jne 0x410db6
mov al, byte [0x4a2c2d]
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 0x410dd3
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x410de7
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x410dfb
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x410e0f
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x410e23
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x410e37
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x410e48
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x410e59
or bl, 0x80
cmp dword [0x4a2d60], 0
je 0x410e96
mov al, bl
not al
and al, byte [0x4a2c2d]
je 0x410e96
mov cl, byte [0x4a2c2f]
not al
and byte [0x4a2c2d], al
and byte [0x4a2c2e], al
and cl, al
mov al, cl
mov byte [0x4a2c2f], cl
mov ecx, 0x4a2c50
call fcn.00410ea0
pop esi
mov al, bl
pop ebx
ret

Function at 0x411260
Capabilities:
Get keyboard layout

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

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
jmp 0x411400
cmp byte [eax*8 + 0x4a01ac], bl
je 0x41142c
inc eax
cmp eax, 0x6d
jl 0x411400
push ebp
movzx ebp, bl
push 2
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [edi], al
test al, al
je 0x411448
pop ebp
mov byte [edi + 1], 0
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [eax*8 + 0x4a01a8]
dec esi
push esi
push eax
push edi
call fcn.00481870
add esp, 0xc
mov byte [esi + edi], 0
mov eax, edi
pop edi
pop esi
ret
cmp byte [esp + 0x10], 0
je 0x411467
test bl, bl
je 0x411467
push ebp
push str.vk_02X
call fcn.0046c360
add esp, 8
pop ebp
mov eax, edi
pop edi
pop esi
ret
pop ebp
mov byte [edi], 0
mov eax, edi
pop edi
pop esi
ret

Function at 0x4115d0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp al, 0xa
jne 0x4115d7
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 0x4115f3
cmp al, 0xff
jne 0x4115f3
xor al, al
ret
test dl, 0x38
jne 0x4115f0
test esi, esi
je 0x41163e
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x41160b
or byte [esi], 8
jmp 0x41162d
test dl, 2
je 0x41161c
mov cl, byte [esi]
test cl, 3
jne 0x41161c
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x41162d
mov cl, byte [esi]
test cl, 0xc
jne 0x41162d
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x41163e
mov cl, byte [esi]
test cl, 0x30
jne 0x41163e
or cl, 0x10
mov byte [esi], cl
ret

Function at 0x411860
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
mov byte [esi], 0
test bl, bl
jne 0x41188c
test di, di
jne 0x41187f
pop edi
pop ebp
mov eax, esi
pop ebx
ret
mov ecx, edi
call fcn.00411bd0
mov byte [esp + 0x10], al
jmp 0x4118a3
test di, di
jne 0x4118ac
mov eax, dword [esp + 0x10]
push eax
xor bl, bl
call fcn.00411950
add esp, 4
movzx edi, ax
mov bl, byte [esp + 0x10]
test di, di
je 0x4118d8
cmp bl, 0x9c
jb 0x4118b6
cmp bl, 0x9f
jbe 0x4118d8
xor eax, eax
jmp 0x4118c0
cmp word [eax*8 + 0x4a0514], di
je 0x411907
inc eax
cmp eax, 0xd
jl 0x4118c0
mov byte [esi], 0
cmp byte [esi], 0
jne 0x411879
xor eax, eax
lea ebx, [ebx]
cmp byte [eax*8 + 0x4a01ac], bl
je 0x411922
inc eax
cmp eax, 0x6d
jl 0x4118e0
movzx eax, bl
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [esi], al
test al, al
je 0x41193d
mov byte [esi + 1], 0
jmp 0x411940
mov ecx, dword [eax*8 + 0x4a0510]
lea edi, [ebp - 1]
push edi
push ecx
push esi
call fcn.00481870
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4118d3
mov edx, dword [eax*8 + 0x4a01a8]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.00481870
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x411940
mov byte [esi], 0
cmp byte [esi], 0
mov eax, esi
jne 0x41194b
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
ret
Function at 0x411bd0
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x411c28
je 0x411c25
sub eax, 0x1d
cmp eax, 0x36
ja case.0x411c39.286
movzx eax, byte [eax + 0x411ca4]
jmp dword [eax*4 + 0x411c5c]
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.0x411c39.286
movzx edx, byte [eax + 0x411cf4]
jmp dword [edx*4 + 0x411cdc]
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 0x411d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4a1b80], eax
mov edx, 1
mov eax, 0x4a1b80
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, 0x4a253c
jl 0x411d30
mov dword [0x49f384], 1
mov dword [0x4a4594], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4a4594], 0
push esi
mov esi, 0x4a1b80
jne 0x411d8a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00411d20
mov dword [0x49f384], 0x270
mov dword [0x4a1b7c], 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 0x411da0
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 0x411dd5
mov ecx, dword [esi]
mov eax, dword [0x4a1b80]
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 0x411e40
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49f384]
jne 0x411e4d
call fcn.00411d70
mov eax, dword [0x4a1b7c]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4a1b7c], 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 0x411e90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x49f384]
jne 0x411e9e
call fcn.00411d70
mov ecx, dword [0x4a1b7c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a1b7c], 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 0x411ee5
fadd qword [0x49a278]
fmul qword [0x49a2c0]
pop ecx
ret

Function at 0x412950
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x412959
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x41297a
cmp dword [0x4a4c90], 0
je 0x41297a
mov dword [esp + 4], 1
mov ecx, 0x4a4c84
jmp fcn.00403e90
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x41298e
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x4150e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x49f3a0]
add eax, 4
imul eax, eax, 0xe8
push ebx
push esi
push edi
push eax
call fcn.0047ebe9
xor ebx, ebx
add esp, 4
mov dword [0x4a1800], eax
cmp eax, ebx
jne 0x415117
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x49f430]
push 0x4033a0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a2c30]
push 0xe
push ecx
mov dword [0x49f430], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [ebp + 8]
cmp dword [esi], ebx
jne 0x415158
mov dword [esp + 0xc], 1
jmp 0x415205
mov edx, dword [0x49f430]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xc4], bl
call edi
mov ecx, dword [0x49f430]
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0xb8], 0x64
cmp byte [0x4a2d83], bl
jne 0x4151aa
mov eax, dword [0x4a2c30]
push 0x4032a0
push 0x64
push 0xb
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne cl
mov byte [0x4a2d83], cl
mov byte [esi + 0x5d5], 1
call edi
mov ecx, dword [esi]
push ebx
mov edi, 1
add dword [0x4a2d9c], edi
push ebx
push edi
mov dword [esi + 0x5f4], eax
mov dword [esi + 0x5f0], eax
call fcn.00423d10
sub dword [0x4a2d9c], edi
mov dword [esp + 0xc], eax
cmp byte [0x4a2d83], bl
je 0x4151ff
mov edx, dword [0x4a2c30]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4151ff
mov byte [0x4a2d83], bl
mov byte [esi + 0x5d5], bl
mov eax, dword [0x49f430]
cmp dword [eax + 0xd8], ebx
lea ecx, [eax + 0xd8]
je 0x415231
mov eax, dword [eax + 0xdc]
push eax
push ecx
call fcn.0042d170
mov dword [esp + 0x14], eax
mov eax, dword [0x49f430]
add esp, 8
push 1
push ebx
mov byte [eax + 0xc4], 1
mov esi, eax
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa0], ebx
mov dword [eax + 0xa4], ebx
mov byte [eax + 0xd0], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xc0], 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 + 0xd8], ebx
mov byte [eax + 0xe0], bl
mov ecx, 0x3a
mov edi, 0x4a18f0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a3434]
push 0xffffffffffffffff
push 0x492860
mov byte [eax + 0xc4], 1
mov dword [eax + 0xb8], ebx
mov word [eax + 0xc5], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.0046ede0
mov ecx, dword [0x4a0580]
cmp word [ecx], bx
jne 0x41530f
cmp dword [0x4a4534], ebx
jne 0x41530f
cmp dword [0x4a2d60], ebx
jne 0x41530f
cmp dword [0x4a2d64], ebx
jne 0x41530f
cmp byte [0x4a2d53], bl
jne 0x41530f
mov ecx, dword [esp + 0xc]
neg ecx
sbb ecx, ecx
push ebx
and ecx, 7
add ecx, 2
push 0x4a4ca0
xor eax, eax
call fcn.00415350
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415350
Capabilities:
Set current directory

Disassembly:
sub esp, 0x48c
push ebx
push ebp
mov ebp, dword [esp + 0x498]
xor ebx, ebx
push esi
push edi
mov dword [ebp + 0x590], ecx
cmp eax, ebx
je 0x415376
mov byte [esp + 0x17], 1
cmp byte [eax], bl
je 0x41537a
mov byte [esp + 0x17], bl
cmp eax, ebx
je 0x4153e3
cmp byte [eax], bl
je 0x4153e3
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0xa0]
call fcn.0046c360
mov edx, dword [0x4a525c]
mov ecx, dword [0x4a2c30]
add esp, 8
push 0x10000
push edx
mov eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x4a2c30]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4153dc
mov eax, dword [0x4a2c30]
push eax
mov byte [0x4a2c2c], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.00409760
cmp dword [ebp + 0x58c], ebx
je 0x415515
cmp byte [0x4a54d6], bl
jne 0x415515
mov esi, dword [0x4a3434]
cmp byte [esi + 0x17], bl
jne 0x415409
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x415416
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x41542f
test byte [esi + 0x15], 4
je 0x41542a
mov eax, esi
call fcn.0042d510
mov eax, dword [esi + 8]
jmp 0x41543f
cmp al, 2
jne 0x41543a
call fcn.00401000
jmp 0x41543f
mov eax, 0x4a453d
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00481870
mov eax, dword [0x49f430]
inc dword [0x4a2d9c]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xa3], bl
mov ecx, 0x3a
mov esi, 0x4a18f0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x49f430], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4a4ca0
call fcn.00414fe0
mov dword [0x4a5280], ebx
mov dword [0x4a5284], ebx
cmp dword [0x4a2dc8], ebx
je 0x4154a6
push 0x4a3438
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [0x49f394]
mov ecx, dword [ebp + 0x58c]
mov dword [0x49f394], ebx
mov byte [0x4a54d6], 1
call fcn.00401230
test eax, eax
jne 0x4154d6
mov edx, dword [esp + 0x4a4]
push edx
push ebp
call fcn.00415540
mov byte [0x4a54d6], bl
cmp byte [esp + 0x17], bl
je 0x4154f0
mov eax, dword [esp + 0x4a4]
push eax
push ebp
call fcn.00415540
lea ecx, [esp + 0x18]
push ecx
call fcn.00403160
add esp, 4
pop edi
mov dword [0x49f394], esi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x48c
ret 8
mov eax, dword [esp + 0x4a4]
mov edx, dword [0x49f430]
push eax
push ebp
mov dword [0x49f394], ebx
mov byte [edx + 0xd0], bl
call fcn.00415540
int3