joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422af0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6503f8
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x20]
mov esi, dword [eax - 8]
add esi, 0x20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
jne 0x422b76
push ebp
push ebp
push 0x6e1f4c
call fcn.0062beee
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.006239d3
xor eax, eax
jmp 0x422be3
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
call fcn.00623e03
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.00623e52
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.006239d3
mov eax, 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x4232f0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x650510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00492380
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x6e04c8
mov byte [esp + 0x24], 1
call fcn.00623a41
lea eax, [esp + 0x28]
push eax
call fcn.004754f0
mov esi, dword [esi + 0x3c]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0xe8]
call fcn.00410090
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [esp + 8]
sete bl
call fcn.006239d3
test bl, bl
je 0x42337c
call fcn.0042b610
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005d7b90
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.006239d3
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x42d680
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x65154c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xa
mov esi, 0x6e0d00
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
movsb byte es:[edi], byte [esi]
call fcn.00492380
mov ebp, dword [ebp + 0x3b4]
lea eax, [esp + 0x1c]
mov ebx, 1
push ebp
push eax
mov dword [esp + 0x254], ebx
call fcn.00475480
add esp, 8
push 0x6e04c8
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x258], 2
call fcn.00623c68
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 4
call fcn.006239d3
mov esi, dword [esp + 0x10]
mov ecx, 0x73d6a0
call fcn.0062576b
lea edx, [esp + 0x20]
push eax
push edx
push 6
push esi
push 0
push 0
lea ecx, [esp + 0x64]
call fcn.0061c48e
mov byte [esp + 0x24c], 5
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x42d74f
mov dword [esp + 0xa8], 0x58
lea ecx, [esp + 0x4c]
call fcn.0061c5f0
cmp eax, ebx
jne 0x42d77b
mov esi, dword [esp + 0x254]
lea ecx, [esp + 0x4c]
push esi
call fcn.0061c6cb
mov dword [esp + 0x18], ebx
mov byte [esp + 0x24c], 6
jmp 0x42d79a
mov esi, dword [esp + 0x254]
push 0x73d670
mov ecx, esi
call fcn.00623a41
mov dword [esp + 0x18], ebx
mov byte [esp + 0x24c], 7
lea ecx, [esp + 0xf8]
call fcn.006239d3
lea ecx, [esp + 0x4c]
mov byte [esp + 0x24c], 4
call fcn.00625962
lea ecx, [esp + 0x10]
mov byte [esp + 0x24c], bl
call fcn.006239d3
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0
call fcn.005d7b90
mov ecx, dword [esp + 0x244]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret 4

Function at 0x42d800
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x651570
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c0]
test eax, eax
je 0x42d8ce
mov eax, dword [esi + 0x3b4]
mov ecx, dword [esi + 0x3b8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
push 0
push eax
push ecx
call ebp
test eax, eax
jne 0x42d8be
or edi, 0xffffffff
lea eax, [esp + 0x14]
push 0x7fa
push eax
call fcn.00407130
add esp, 8
mov eax, dword [eax]
push 0
push 1
push eax
mov dword [esp + 0x2c], 0
call fcn.0062beee
cmp eax, 2
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x20], edi
call fcn.006239d3
test bl, bl
jne 0x42d8be
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0042d680
mov eax, dword [esi + 0x3b4]
mov ecx, dword [esi + 0x3b8]
push 0
push eax
push ecx
call ebp
test eax, eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
jne 0x42d8b9
call fcn.006239d3
jmp 0x42d84b
call fcn.006239d3
mov edx, dword [esi + 0x3b8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42d8e0
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x651590
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c4]
test eax, eax
je 0x42d9ac
mov eax, dword [esi + 0x3bc]
mov ecx, dword [esi + 0x3b8]
push ebx
push edi
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42d99d
or edi, 0xffffffff
lea eax, [esp + 0x10]
push 0x7fa
push eax
call fcn.00407130
add esp, 8
mov eax, dword [eax]
push 0
push 1
push eax
mov dword [esp + 0x28], 0
call fcn.0062beee
cmp eax, 2
lea ecx, [esp + 0x10]
sete bl
mov dword [esp + 0x1c], edi
call fcn.006239d3
test bl, bl
jne 0x42d99d
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0042d680
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x3b8]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0xc]
jne 0x42d998
call fcn.006239d3
jmp 0x42d928
call fcn.006239d3
mov eax, dword [esi + 0x3b8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebx
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x42dd30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x651630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
lea esi, [ecx + 0x3c8]
lea eax, [esp + 4]
push edi
push eax
mov ecx, esi
call fcn.004a6f20
mov edi, str.NewWindow
mov dword [esp + 0x68], 0
mov ecx, edi
mov dword [esp + 0xc], edi
test ecx, ecx
je 0x42dd83
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x42dd8b
mov dword [esp + 0x10], 0
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
call fcn.00497750
test eax, eax
je 0x42ddf2
mov ecx, eax
call fcn.00496740
test eax, eax
je 0x42ddf2
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], 0x44
test eax, eax
je 0x42ddc8
add eax, 0xc
jmp 0x42ddcd
mov eax, 0x73d670
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0xc]
jmp 0x42de18
mov eax, dword [esp + 8]
test eax, eax
je 0x42ddff
add eax, 0xc
jmp 0x42de04
mov eax, 0x73d670
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
test eax, eax
jne 0x42de4f
lea eax, [esp + 4]
push 0x7ec
push eax
call fcn.00407130
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x6c], 1
call fcn.0062beee
lea ecx, [esp + 4]
mov byte [esp + 0x60], 0
call fcn.006239d3
lea ecx, [esp]
mov dword [esp + 0x60], 0xffffffff
call fcn.00498970
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x42f4d0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6517a0
push eax
mov dword fs:[0], esp
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push 2
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42f53a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], bl
call fcn.006239d3
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.006239d3
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x18]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
mov byte [esp + 0x10], bl
lea ecx, [esp + 0x1c]
je 0x42f58c
call fcn.006239d3
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.006239d3
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0xc
ret
call fcn.006239d3
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.006239d3
mov ecx, dword [esp + 8]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x42f5c0
Capabilities:
Delete registry key

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x42f5e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call fcn.0042f600
add esp, 8
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
ret
Function at 0x42f8c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6517da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
xor esi, esi
mov dword [esp + 8], esi
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x10]
mov ebx, 1
push eax
push ebx
push esi
push ecx
push edx
mov dword [esp + 0xb4], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f968
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0xb8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f968
mov esi, dword [esp + 0xa8]
mov edx, dword [0x6e3700]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov dword [esi], edx
call fcn.00623b5c
mov dword [esp + 8], ebx
jmp 0x42f97f
mov esi, dword [esp + 0xa8]
push 0x73d670
mov ecx, esi
call fcn.00623a41
mov dword [esp + 8], ebx
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa0], bl
call fcn.006239d3
lea ecx, [esp + 0xb4]
mov byte [esp + 0xa0], 0
call fcn.006239d3
mov ecx, dword [esp + 0x98]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret

Function at 0x42f9c0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42f9e8
xor eax, eax
ret
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
ret

Function at 0x42fad0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x651818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0061e823
mov dword [esi], method.CPtrArray.virtual_0
lea ebx, [esi + 0x14]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.0061e823
mov dword [ebx], method.CPtrArray.virtual_0
xor eax, eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x44], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x436b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65208e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0043d070
xor ebp, ebp
lea ecx, [esi + 0x1c]
mov dword [esp + 0x1c], ebp
call fcn.0061e823
lea edi, [esi + 0x58]
mov ecx, 6
xor eax, eax
push 0x14
mov dword [edi + 0xc], ebp
mov dword [edi + 8], ebp
mov dword [edi + 4], ebp
mov dword [edi], ebp
mov dword [esi], 0x670b54
mov dword [esi + 0x30], ebp
rep stosd dword es:[edi], eax
mov byte [esp + 0x20], 1
call fcn.0061f973
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x1c], 2
je 0x436b8b
push 1
mov ecx, eax
call fcn.004309b0
jmp 0x436b8d
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x34], ebp
mov dword [esi + 0x74], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x43729d
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
push edi
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call fcn.0040d610
mov ecx, esi
call fcn.0043d390
mov edi, eax
mov ecx, esi
push edi
call fcn.00438bc0
mov ecx, dword [esi + 0x18]
push edi
mov ecx, dword [ecx + 0xc8]
call fcn.00439b10
push edi
mov ecx, esi
call fcn.0043d3b0
push ebx
mov ecx, esi
call fcn.0043d1e0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push ecx
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.00432950
push 0x12
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov ecx, dword [esp + 0x14]
mov dl, ah
mov eax, dword [esp + 0x10]
and edx, 0xff
push eax
mov eax, dword [esp + 0x30]
mov ebp, edx
xor edx, edx
push ecx
test edi, edi
setne dl
push ebp
push edx
push eax
mov ecx, esi
call fcn.004373d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
push ecx
push edx
push edi
push ebx
mov ecx, esi
call fcn.004374c0
test edi, edi
je 0x4373b6
test ebp, ebp
jne 0x4373b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.004313e0
mov edx, dword [eax]
lea ecx, [esi + 0x58]
mov ebp, 1
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], edi
mov dword [ecx + 0xc], eax
mov ecx, esi
mov dword [esi + 0x68], ebx
call fcn.004379a0
mov dword [esi + 0x38], ebp
mov dword [esi + 0x34], ebp
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
mov ebp, 1
pop edi
mov dword [esi + 0x34], ebp
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x438260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6521f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 1
lea ecx, [esp + 0xc]
call fcn.004309b0
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push esi
mov dword [esp + 0x28], 0
call fcn.00430a00
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.00430aa0
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.004309f0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.005d7b90
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x43cf60
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, ecx
push eax
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x21]
cmp eax, 7
ja case.0x43cf85.35
jmp dword [eax*4 + 0x43d050]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x50]
sub ecx, eax
mov eax, 1
mov dword [esi + 0x50], ecx
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x50]
add eax, ecx
mov dword [esi + 0x50], eax
mov eax, 1
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x50]
sub edx, ecx
add eax, edx
mov dword [esi + 0x50], eax
mov eax, 1
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x50]
sub eax, edx
add ecx, eax
mov eax, 1
mov dword [esi + 0x50], ecx
pop esi
add esp, 0x10
ret 0xc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je case.0x43cf85.35
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x4c]
add eax, edx
mov dword [esi + 0x4c], eax
mov eax, 1
pop esi
add esp, 0x10
ret 0xc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je case.0x43cf85.35
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x4c]
sub eax, edx
mov dword [esi + 0x4c], eax
mov eax, 1
pop esi
add esp, 0x10
ret 0xc
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
Function at 0x43e6c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x652658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 1
lea ecx, [esp + 0xc]
call fcn.004309b0
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push esi
mov dword [esp + 0x28], 0
call fcn.00430a00
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.00430aa0
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.004309f0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.005d7b90
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x441250
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x652b9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.0042abd0
mov eax, dword [esi + 0x60]
add esi, 0x1328
mov ecx, esi
mov dword [esp + 0x28], 1
mov edi, dword [eax + 0x38]
push edi
call fcn.00445b40
fmul dword [0x66d204]
sub esp, 8
lea ecx, [esp + 0x18]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x14]
call fcn.0042af30
push edi
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.00445b60
fmul dword [0x66d204]
sub esp, 8
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
fstp qword [esp]
push edx
call fcn.0042af30
lea eax, [esp + 0xc]
push 0x6e2db4
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x34], 3
call fcn.00623c68
lea edx, [esp + 0x10]
mov byte [esp + 0x28], 4
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00623c02
mov esi, dword [esp + 0x30]
push 0x6e2db0
push eax
push esi
mov byte [esp + 0x34], 5
call fcn.00623c68
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 4
call fcn.006239d3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call fcn.006239d3
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.006239d3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.006239d3
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0042ac00
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x441380
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x652bef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0042abd0
mov eax, dword [esi + 0x60]
sub esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 1
fild dword [eax + 0x68]
fidiv dword [eax + 0x5c]
lea eax, [esp + 0x14]
fstp qword [esp]
push eax
call fcn.0042af30
mov esi, dword [esi + 0x60]
sub esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
fild dword [esi + 0x6c]
fidiv dword [esi + 0x58]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042af30
lea edx, [esp + 8]
push 0x6e2db4
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x30], 3
call fcn.00623c68
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x30], 4
call fcn.00623c02
mov esi, dword [esp + 0x2c]
push 0x6e2db0
push eax
push esi
mov byte [esp + 0x30], 5
call fcn.00623c68
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 4
call fcn.006239d3
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call fcn.006239d3
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.006239d3
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.006239d3
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.0042ac00
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x445c00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x653058
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x108]
mov dword [esp + 0x14], 0
mov dword [esi + 0x3c], edi
call fcn.00623b0c
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea edx, [esi + 0xf4]
mov dword [esi + 0xf0], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x11c], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x120], ecx
mov ecx, edi
mov dword [esi + 0x104], edx
call fcn.004a1cc0
lea ecx, [esp + 0x18]
mov dword [esi + 0x8c], eax
mov dword [esp + 0x10], 0xffffffff
call fcn.006239d3
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x28

Function at 0x4479a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6530e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [esp + 8], vtable.CRgn.0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
inc ecx
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0xc]
call fcn.006289c6
mov edi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, edi
call fcn.006283de
mov eax, dword [esp + 0x10]
push 0x666666
push 2
mov ecx, dword [esp + 0x1c]
sub esp, 0x10
mov edx, esp
push edi
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.00447080
lea ecx, [esp + 8]
call fcn.00628a1d
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x28], 1
call fcn.00628a1d
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 4