joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4062f0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x43f5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x453330]
push esi
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 8], eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x30]
push 0x4572d0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x43c], 1
mov byte [esp + 0x10], 0x42
mov byte [esp + 0x11], 0x43
mov byte [esp + 0x12], 0x44
mov byte [esp + 0x13], 0x46
mov byte [esp + 0x14], 0x47
mov byte [esp + 0x15], 0x48
mov byte [esp + 0x16], 0x4a
mov byte [esp + 0x17], 0x4b
mov byte [esp + 0x18], 0x4d
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0x51
mov byte [esp + 0x1b], 0x52
mov byte [esp + 0x1c], 0x54
mov byte [esp + 0x1d], 0x56
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], 0x58
mov byte [esp + 0x20], 0x59
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x34
mov byte [esp + 0x24], 0x36
mov byte [esp + 0x25], 0x37
mov byte [esp + 0x26], 0x38
mov byte [esp + 0x27], 0x39
call fcn.004336b1
cmp dword [esp + 0x444], 0x42
jle 0x4064bb
mov ecx, dword [esp + 0x448]
mov edi, 0x18
mov edx, dword [ecx + 0x34]
lea eax, [ecx + 0x34]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov cx, word [eax + 0xc]
mov dword [esp + 0x38], edx
mov dl, byte [eax + 0xe]
mov word [esp + 0x3c], cx
mov byte [esp + 0x3e], dl
xor edx, edx
mov esi, 0xe
shl edx, 8
xor eax, eax
mov ecx, edx
mov al, byte [esp + esi + 0x30]
xor ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov byte [esp + esi + 0x30], dl
mov ecx, 0x18
cdq
idiv ecx
dec esi
jns 0x406405
mov cl, byte [esp + edx + 0xc]
lea eax, [esp + 8]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0042d382
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x43c], 2
call fcn.00433661
lea ecx, [esp + 0x28]
mov byte [esp + 0x438], 1
call fcn.00433528
mov eax, edi
mov ecx, 5
cdq
idiv ecx
test edx, edx
jne 0x4064b4
test edi, edi
je 0x4064b4
lea edx, [esp + 8]
lea eax, [esp + 0x24]
push edx
push 0x451f10
push eax
call fcn.00433831
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x43c], 3
call fcn.00433661
lea ecx, [esp + 0x24]
mov byte [esp + 0x438], 1
call fcn.00433528
dec edi
jns 0x4063fe
mov esi, dword [esp + 0x440]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0043329d
mov dword [esp + 0x2c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x438], 0
call fcn.00433528
mov ecx, dword [esp + 0x430]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x434
ret 0xc
Function at 0x409660
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp], str.http:__www.onlinedown.net_soft_1233.htm
sub eax, 0x88b8
mov dword [esp + 4], str.http:__www.skycn.com_soft_11703.html
mov dword [esp + 8], str.http:__download.pchome.net_utility_showpass_download_17636.html
mov dword [esp + 0xc], str.http:__download.enet.com.cn_speed_toftp.php_fname060752005092801
js 0x4096ab
cmp eax, 3
ja 0x4096ab
mov eax, dword [esp + eax*4]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x10
ret 4
Function at 0x40bf98
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x440350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 2
mov eax, dword [esi + 0x577c]
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
xor edi, edi
cmp eax, 0xffffffff
jne 0x40bfc2
xor eax, eax
jmp 0x40c0b5
mov ecx, dword [0x453330]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x24]
lea ebp, [esi + 0x5760]
push edx
push eax
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
mov dword [esp + 0x28], ebx
call fcn.0042e2a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.00433661
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.00433528
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
jne 0x40c025
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00433528
xor eax, eax
jmp 0x40c0b5
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebx
je 0x40c09b
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [esp + 0x10]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, ebp
call fcn.00432c44
mov edi, 1
mov ecx, ebp
call fcn.00432c44
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00433528
mov eax, edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40c4d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
call fcn.00404760
cmp eax, 3
je 0x40c504
mov eax, dword [esp + 0x110]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
pop esi
inc eax
add esp, 0x108
ret 4
mov eax, dword [esp + 0x110]
lea edx, [esp + 4]
push edi
mov edi, dword [esi + 4]
push edx
push 0xf003f
push 0
push eax
push edi
mov dword [esp + 0x20], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c596
push ebx
push eax
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov dword [esi], eax
push eax
mov eax, dword [esp + 0x28]
push eax
call ebx
test eax, eax
jne 0x40c595
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esi + 4], ecx
push edx
mov ecx, esi
call fcn.0040c4d0
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push edx
mov dword [esi + 4], edi
mov dword [esi], 0
mov dword [esp + 0x30], 0xff
call ebx
test eax, eax
je 0x40c552
pop ebx
mov eax, dword [esp + 0x114]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x108
ret 4

Function at 0x40c5e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
lea eax, [esp]
lea edx, [esp + 8]
push eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x114]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x18], 0xff
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40c628
xor eax, eax
add esp, 0x108
ret 8
mov eax, dword [esp]
test eax, eax
jne 0x40c63b
xor eax, eax
add esp, 0x108
ret 8
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x114]
call fcn.004336b1
mov eax, 1
add esp, 0x108
ret 8

Function at 0x40c660
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
lea eax, [esp]
push eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x18], 0xff
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret 8

Function at 0x40c6a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [ecx + 4]
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push esi
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0x200
mov dword [esp + 0x20], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40c6e1
xor eax, eax
pop esi
add esp, 8
ret 8
mov edx, dword [esp + 4]
mov byte [edx + esi], 0
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 8
Function at 0x40c700
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x440398
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [esp + 0x24]
push str.hmhdef
push eax
call fcn.0041f722
mov esi, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x40c77b
mov ecx, dword [esp + 0x24]
push esi
push ecx
call fcn.0041f722
add esp, 8
test eax, eax
jne 0x40c77b
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.0040c5c0
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00433528
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 4]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
push ecx
mov ecx, dword [esp + 0x20]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x24]
jne 0x40c7cc
call fcn.00433528
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
call fcn.00433528
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10

Function at 0x40c7f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
cmp eax, 0xfffffeb3
je 0x40c80e
cmp dword [esp + 8], eax
jne 0x40c80e
mov eax, dword [esp + 4]
push eax
call fcn.0040c5c0
ret 0xc
mov eax, dword [esp + 4]
mov ecx, dword [ecx + 4]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret 0xc

Function at 0x40c9a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
mov edx, dword [esp + 8]
push 0
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
mov eax, dword [ecx + 4]
push edx
push 0
push eax
mov dword [esp + 0x20], 0xff
mov dword [ecx], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
neg eax
sbb eax, eax
inc eax
pop ecx
ret 4

Function at 0x40c9e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
mov eax, dword [ecx]
push 0
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
mov edx, dword [esp + 0x1c]
inc eax
push edx
mov dword [ecx], eax
push eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], 0xff
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
neg eax
sbb eax, eax
inc eax
pop ecx
ret 4

Function at 0x40ca20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
mov eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
mov dword [ecx], 0
mov ecx, dword [ecx + 4]
push eax
lea eax, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push 0
push edx
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret 8
Function at 0x40ca70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea edx, [esp]
mov eax, 0xff
push edx
mov edx, dword [esp + 0x14]
push edx
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
push 0
push edx
mov edx, dword [esp + 0x20]
inc eax
push edx
mov dword [ecx], eax
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret 8

Function at 0x40dea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4405a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.00430092
push eax
lea ecx, [esp + 0x30]
call fcn.00436ab8
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.00430092
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0043696e
mov eax, dword [esi + 0xf4]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x40dfd6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xf0]
call fcn.00436427
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x100]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00436d60
test edi, edi
je 0x40df82
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf4]
push edi
push eax
call fcn.00436568
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xf4]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xf0]
sub ecx, edi
test edx, edx
je 0x40dff7
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00436b2a
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x40f320
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
xor ebp, ebp
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x40f3bb
push edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x40f3aa
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov ebp, dword [esi]
sub eax, edx
sub ecx, ebp
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
test ebp, ebp
je 0x40f3a2
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push 0xcc0020
push eax
sub edx, eax
mov eax, dword [esi + 8]
push ecx
push ebx
sub eax, ecx
push edx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, ebp
pop edi
pop ebp
pop ebx
ret 4
mov eax, ebp
pop ebp
pop ebx
ret 4

Function at 0x4107c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410822
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret
Function at 0x410830
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x410919
lea eax, [esp + 0x10]
push eax
push str..htm
push 0x80000000
call fcn.004107c0
add esp, 0xc
test eax, eax
jne 0x410919
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push eax
push 0x80000000
call fcn.004107c0
add esp, 0xc
test eax, eax
jne 0x410919
lea ecx, [esp + 0x10]
push str.__1_
push ecx
call fcn.0041f895
mov esi, eax
add esp, 8
test esi, esi
jne 0x4108f3
lea edx, [esp + 0x10]
push 0x453114
push edx
call fcn.0041ef80
mov esi, eax
add esp, 8
test esi, esi
jne 0x4108f3
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4108f6
mov byte [esi], 0
push 0x452c28
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x412320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x440a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x453330]
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebp, [esi + 0x2c]
mov dword [ebp], eax
mov edx, dword [esp + 0x24]
mov ecx, 0xb
xor eax, eax
mov edi, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
and ecx, 0xff
push esi
push ecx
push edx
push eax
mov dword [esp + 0x28], 0
mov dword [esi], 0x2c
mov dword [esi + 4], 0x37
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [esi + 8]
test ah, 8
jne 0x4124af
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x412434
mov edi, dword [0x45744c]
test edi, edi
je 0x4123e5
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [0x457450]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x4123e5
cmp dword [edx + 8], ecx
je 0x4123d6
mov edx, dword [edx]
test edx, edx
jne 0x4123c9
jmp 0x4123e5
test edx, edx
je 0x4123e5
add edx, 0xc
mov ecx, ebp
push edx
call fcn.00433661
mov edi, dword [0x45742c]
mov ecx, dword [esi + 0x14]
test edi, edi
je 0x4124af
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [0x457430]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x4124af
cmp dword [edx + 8], ecx
je 0x41241e
mov edx, dword [edx]
test edx, edx
jne 0x41240e
jmp 0x4124af
test edx, edx
je 0x4124af
mov ecx, dword [edx + 0xc]
mov dword [esi + 0x30], ecx
mov edx, dword [edx + 0x10]
mov dword [esi + 0x34], edx
jmp 0x4124af
mov edi, dword [0x45740c]
mov ecx, dword [esi + 0x10]
test edi, edi
je 0x412471
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [0x457410]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x412471
cmp dword [edx + 8], ecx
je 0x412462
mov edx, dword [edx]
test edx, edx
jne 0x412455
jmp 0x412471
test edx, edx
je 0x412471
add edx, 0xc
mov ecx, ebp
push edx
call fcn.00433661
mov edi, dword [0x4573ec]
mov ecx, dword [esi + 0x10]
test edi, edi
je 0x4124af
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [0x4573f0]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x4124af
cmp dword [edx + 8], ecx
je 0x41249f
mov edx, dword [edx]
test edx, edx
jne 0x412492
jmp 0x4124af
test edx, edx
je 0x4124af
mov eax, dword [edx + 0xc]
mov dword [esi + 0x30], eax
mov ecx, dword [edx + 0x10]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x416b90
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x457484]
sub esp, 0x94
test eax, eax
jne 0x416c9c
push edi
mov ecx, 0x25
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
jne 0x416bd3
mov dword [0x457484], eax
add esp, 0x94
ret
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x416bec
mov eax, 1
mov dword [0x457484], eax
add esp, 0x94
ret
cmp eax, 2
jne 0x416c55
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x416c0b
mov eax, 6
mov dword [0x457484], eax
add esp, 0x94
ret
cmp eax, 5
jne 0x416c3f
mov eax, dword [esp + 8]
test eax, eax
jne 0x416c29
mov eax, 7
mov dword [0x457484], eax
add esp, 0x94
ret
cmp eax, 1
jne 0x416c3f
mov eax, 8
mov dword [0x457484], eax
add esp, 0x94
ret
mov dword [0x457484], 5
mov eax, 5
add esp, 0x94
ret
mov ecx, dword [esp + 4]
mov eax, 4
cmp ecx, eax
jne 0x416c8d
mov ecx, dword [esp + 8]
cmp ecx, 0xa
jne 0x416c7c
mov eax, 3
mov dword [0x457484], eax
add esp, 0x94
ret
cmp ecx, 0x5a
jne 0x416c8d
mov dword [0x457484], eax
add esp, 0x94
ret
mov dword [0x457484], 2
mov eax, 2
add esp, 0x94
ret
Function at 0x42cce0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041ec40
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42cdab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42cdab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42cd5e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42cd69
or bh, 8
and edi, 0x8000000
je 0x42cd84
mov eax, dword [0x45acdc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42cdab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret