joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a90c
Capabilities:
Check os version
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x784
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x780]
push 0x40
push edi
push eax
mov dword [ebp - 0x784], edi
call fcn.00468320
add esp, 0xc
lea eax, [ebp - 0x20c]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x740], xmm0
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x114
lea eax, [ebp - 0x730]
push esi
push edi
push eax
call fcn.00468320
add esp, 0xc
mov dword [ebp - 0x730], esi
lea eax, [ebp - 0x730]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x72c], 6
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
jb 0x42a99f
push str.cmd.exe__C_timeout_2___Nul__Del___s_
jmp 0x42a9a4
push str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0x784]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x61c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x73c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x740]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00465956
mov esp, ebp
pop ebp
ret

Function at 0x42a9fa
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x488b0b
call fcn.0046a143
push 7
pop edx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
xor eax, eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x40]
call fcn.0042b780
pop ecx
test al, al
je 0x42aac2
mov edx, 0x20119
lea ecx, [ebp - 0x40]
call fcn.0042b66b
mov esi, eax
test esi, esi
jne 0x42aa63
mov edx, 0x20219
lea ecx, [ebp - 0x40]
call fcn.0042b66b
mov esi, eax
test esi, esi
je 0x42aac2
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
push ebx
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], ebx
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x42aac0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x2a
jne 0x42aac2
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004133d7
lea eax, [ebp - 0x44]
mov edx, 0x20019
push eax
mov ecx, esi
call fcn.0042b820
add esp, 0x1c
mov bl, al
jmp 0x42aac2
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040d2b7
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040d2b7
mov al, bl
call fcn.0046a0f2
ret
Function at 0x42ad2e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x44
mov eax, 0x488b75
call fcn.0046a143
mov edi, edx
and dword [ebp - 0x34], 0
xor eax, eax
push 7
pop edx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x44], ax
and dword [ebp - 4], eax
and dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x2c], ax
inc eax
lea edx, [ebp - 0x44]
mov byte [ebp - 4], al
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b780
pop ecx
test al, al
je 0x42ae35
mov edx, 0x20119
lea ecx, [ebp - 0x44]
call fcn.0042b66b
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x42ae35
xor esi, esi
lea edx, [ebp - 0x48]
push edx
push esi
push esi
xor bl, bl
mov dword [ebp - 0x48], esi
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push esi
cmovae ecx, dword [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0x50], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ae2a
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42ae2a
inc eax
push 0x4c0f0e
push eax
call fcn.004675fa
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42ae35
mov ecx, dword [ebp - 0x48]
inc ecx
push ecx
push 0
push esi
call fcn.00468320
add esp, 0xc
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push esi
lea ecx, [ebp - 0x50]
push ecx
push 0
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ae23
cmp dword [ebp - 0x50], 1
jne 0x42ae23
cmp dword [edi + 0x14], 8
jb 0x42ae0f
mov edi, dword [edi]
push edi
push esi
call fcn.004678cd
pop ecx
pop ecx
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
push esi
call fcn.00436d6e
pop ecx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42ae37
xor bl, bl
xor esi, esi
lea ecx, [ebp - 0x2c]
push 0
inc esi
push esi
call fcn.0040d2b7
push 0
push esi
lea ecx, [ebp - 0x44]
call fcn.0040d2b7
mov al, bl
call fcn.0046a0f2
ret
Function at 0x42b820
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x280
mov eax, 0x488c60
call fcn.0046a143
mov ebx, edx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ecx
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x278]
push 1
push ecx
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x278], 0x5c
call fcn.00424c6b
mov esi, eax
lea ecx, [ebp + 0xc]
push esi
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.0040d0d6
mov byte [ebp - 4], 1
lea eax, [esi + 1]
mov ecx, dword [ebp + 0x1c]
sub ecx, esi
sub ecx, 2
push ecx
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040d0d6
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 0
jne 0x42b8a5
xor eax, eax
jmp 0x42b8b9
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push edi
push ebx
xor ebx, ebx
push ebx
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ba38
cmp dword [edi], ebx
je 0x42ba38
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x288]
mov dword [ebp - 0x278], ebx
push eax
push ebx
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], ebx
push eax
lea eax, [ebp - 0x278]
mov dword [ebp - 0x288], ebx
push eax
push ebx
push ebx
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, ebx
cmp dword [ebp - 0x278], ebx
jbe 0x42ba38
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x28c], 0xff
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42b999
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040d051
push dword [ebp - 0x234]
cmp dword [ebp - 0x230], 8
lea ecx, [ebp - 0x244]
push ebx
cmovae ecx, dword [ebp - 0x244]
push ecx
mov ecx, eax
call fcn.00413eff
cmp eax, 0xffffffff
lea ecx, [ebp - 0x25c]
push 0
push 1
setne bl
call fcn.0040d2b7
test bl, bl
jne 0x42b9ab
xor ebx, ebx
inc esi
cmp esi, dword [ebp - 0x278]
jb 0x42b920
jmp 0x42ba38
push 0x4a0910
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x274]
call fcn.0040dc12
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.0041489d
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040d0a7
xor ebx, ebx
lea ecx, [ebp - 0x25c]
push ebx
push 1
call fcn.0040d2b7
push ebx
push 1
lea ecx, [ebp - 0x274]
call fcn.0040d2b7
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
push edi
push dword [ebp - 0x280]
cmovae eax, dword [ebp - 0x22c]
push ebx
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ba38
cmp dword [edi], ebx
je 0x42ba38
mov bl, 1
xor esi, esi
lea ecx, [ebp - 0x244]
push esi
push 1
call fcn.0040d2b7
push esi
push 1
lea ecx, [ebp - 0x22c]
call fcn.0040d2b7
push esi
push 1
lea ecx, [ebp + 0xc]
call fcn.0040d2b7
mov al, bl
call fcn.0046a0f2
ret
Function at 0x42be33
Capabilities:
Get system information on windows

Disassembly:
push 0x1f4
mov eax, 0x488dc8
call fcn.0046a143
mov ebx, ecx
xor edx, edx
push 0xf
pop eax
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x58], dl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x40], dl
push 9
pop ecx
xor eax, eax
mov dword [ebp - 4], edx
mov esi, 0x11c
lea edi, [ebp - 0x200]
push esi
rep stosd dword es:[edi], eax
push edx
lea eax, [ebp - 0x1d8]
push eax
call fcn.00468320
add esp, 0xc
mov dword [ebp - 0x1d8], esi
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42c036
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42bec8
lea ecx, [ebp - 0x200]
push ecx
call eax
jmp 0x42bed5
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x88]
call fcn.00423716
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x1d4]
call fcn.00423716
mov edi, 0x4a0e9c
mov byte [ebp - 4], 2
push edi
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.0041b5ba
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.0041b56e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0040e39c
xor esi, esi
lea ecx, [ebp - 0xb8]
push 0
inc esi
push esi
call fcn.0040d225
push 0
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040d225
push 0
push esi
lea ecx, [ebp - 0x70]
call fcn.0040d225
push 0
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.0040d225
movzx edx, word [ebp - 0xc2]
lea ecx, [ebp - 0xb8]
call fcn.0040e9a5
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
movzx edx, word [ebp - 0xc4]
call fcn.0040e9a5
push edi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0041b5ba
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.0041b56e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e39c
xor edi, edi
lea ecx, [ebp - 0x88]
xor esi, esi
push edi
inc esi
push esi
call fcn.0040d225
push edi
push esi
lea ecx, [ebp - 0x70]
call fcn.0040d225
push edi
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040d225
push edi
push esi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.0040d225
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x28], eax
call fcn.0042c051
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x1c8]
push 0x59
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
movzx eax, word [ebp - 0xc0]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x200]
setne byte [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0040f63c
lea ecx, [ebp - 0x58]
call fcn.0040ef2e
mov eax, ebx
call fcn.0046a0f2
ret
Function at 0x42d392
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 9
pop eax
mov esi, ecx
lea edi, [ebp - 0x144]
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, 0x11c
push edi
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00468320
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x42d3ec
inc eax
jmp 0x42d58e
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d412
lea ecx, [ebp - 0x144]
push ecx
call eax
jmp 0x42d41f
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x110], 2
jne 0x42d577
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jbe 0x42d577
push 1
pop ebx
sub eax, 5
je 0x42d4fb
dec eax
je 0x42d474
sub eax, 4
jne 0x42d577
cmp dword [ebp - 0x118], eax
jne 0x42d460
cmp byte [ebp - 6], bl
jne 0x42d46a
mov edi, 0x4a49ec
jmp 0x42d563
mov edi, str.Windows_10_Server
jmp 0x42d563
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x42d4e8
dec eax
je 0x42d4d2
dec eax
je 0x42d4b9
dec eax
je 0x42d4a0
dec eax
je 0x42d495
mov edi, str.Unsupported_version_of_Windows
jmp 0x42d563
cmp byte [ebp - 6], bl
jne 0x42d573
jmp 0x42d460
cmp byte [ebp - 6], bl
jne 0x42d4af
mov edi, str.Windows_8.1
jmp 0x42d563
mov edi, str.Windows_Server_2012_R2
jmp 0x42d563
cmp byte [ebp - 6], bl
jne 0x42d4c8
mov edi, str.Windows_8
jmp 0x42d563
mov edi, str.Windows_Server_2012
jmp 0x42d563
cmp byte [ebp - 6], bl
jne 0x42d4e1
mov edi, str.Windows_7
jmp 0x42d563
mov edi, str.Windows_Server_2008_R2
jmp 0x42d563
cmp byte [ebp - 6], bl
jne 0x42d4f4
mov edi, str.Windows_Vista
jmp 0x42d563
mov edi, str.Windows_Server_2008
jmp 0x42d563
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x42d55e
dec eax
je 0x42d550
dec eax
jne 0x42d577
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x42d51f
mov edi, str.Windows_Server_2003_R2
jmp 0x42d563
test dword [ebp - 8], 0x2000
je 0x42d52f
mov edi, str.Windows_Storage_Server_2003
jmp 0x42d563
test dword [ebp - 8], 0x8000
je 0x42d53f
mov edi, str.Windows_Home_Server
jmp 0x42d563
cmp byte [ebp - 6], bl
jne 0x42d557
push 9
pop eax
cmp word [ebp - 0x144], ax
jne 0x42d557
mov edi, str.Windows_XP
jmp 0x42d563
mov edi, str.Windows_Server_2003
jmp 0x42d563
mov edi, str.Windows_2000
push edi
call fcn.0040c2ec
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0040d662
mov eax, ebx
jmp 0x42d58e
mov edi, str.Unsupported_version_of_Windows
push edi
call fcn.0040c2ec
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0040d662
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465956
mov esp, ebp
pop ebp
ret
Function at 0x42dee5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.00468320
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
mov ebx, 0x1f8
push eax
mov dword [ebp - 0x318], ebx
call fcn.00468320
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x42df52
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00465956
mov esp, ebp
pop ebp
ret

Function at 0x42e4d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 5
xor esi, esi
mov edi, ecx
cmp byte [ebp + 8], 0
pop eax
cmovne esi, eax
push esi
push dword [edi + 8]
mov dword [ebp - 4], esi
call ebx
push str._Checkbox_Stub_
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetPropW]
cmp byte [edi + 0x68], 0
je 0x42e515
push 0
jmp 0x42e516
push esi
push eax
call ebx
mov al, byte [ebp + 8]
mov esi, dword [edi + 0x14]
mov byte [edi + 0x48], al
jmp 0x42e52b
push dword [esi]
call ebx
add esi, 0x14
push dword [ebp - 4]
cmp esi, dword [edi + 0x18]
jne 0x42e524
push dword [edi + 0x54]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x433eda
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
mov edi, ecx
call fcn.00436d33
mov edx, eax
xor esi, esi
pop ecx
test edx, edx
je 0x433ef5
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x433ef7
mov edx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push edx
push 0x4129f1
mov dword [edx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [edx + 4], eax
call fcn.0046612f
push 8
call fcn.00436d33
mov ecx, eax
add esp, 0x1c
test ecx, ecx
je 0x433f2b
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x433f2d
mov ecx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push ecx
push 0x4129c9
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [ecx + 4], eax
call fcn.0046612f
add esp, 0x18
pop edi
pop esi
ret

Function at 0x434397
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.0043098a
xor esi, esi
push esi
push esi
push edi
push 0x434769
push esi
push esi
call fcn.0046612f
lea ebx, [edi + 0xa0]
add esp, 0x18
test ebx, ebx
jne 0x4343c3
mov ebx, esi
jmp 0x4343c6
mov ebx, dword [ebx + 0x20]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x32
push 0x402
push dword [edi + 0xc0]
call esi
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x16
push 1
push 0x40a
push dword [edi + 0xc0]
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret
Function at 0x43654a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.00468320
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
mov ebx, 0x1f8
push eax
mov dword [ebp - 0x318], ebx
call fcn.00468320
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x4365b7
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00465956
mov esp, ebp
pop ebp
ret

Function at 0x439868
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0044b92b
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43989f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004398c0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43c25c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x43c2a1
call fcn.0044b92b
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43c2a1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43c2bd
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00436901
mov ebx, eax
test edi, edi
je 0x43c2bb
test esi, esi
je 0x43c2bb
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4783d2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0046cd8e
mov dword [ebp - 0x14], eax
cmp dword [0x4c1b14], esi
jne 0x4784c5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x478452
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4785a5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4785a5
push 0x499ff0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4785a5
push eax
call ebx
push 0x499ffc
push edi
mov dword [0x4c1b14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x49a00c
push edi
mov dword [0x4c1b18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c1b1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c1b24], eax
test eax, eax
je 0x4784c2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c1b20], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4784ea
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4784dd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4784ff
push 4
pop eax
jmp 0x4785a7
cmp dword [ebp - 0x14], esi
je 0x4784ff
push dword [0x4c1b14]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4784e4
mov eax, dword [0x4c1b20]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47855d
cmp dword [0x4c1b24], edi
je 0x47855d
push eax
call ebx
push dword [0x4c1b24]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47855d
test eax, eax
je 0x47855d
call ecx
test eax, eax
je 0x478552
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x478552
test byte [ebp - 8], 1
jne 0x47855d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47858d
mov eax, dword [0x4c1b18]
cmp eax, edi
je 0x47858a
push eax
call ebx
test eax, eax
je 0x47858a
call eax
mov esi, eax
test esi, esi
je 0x47858a
mov eax, dword [0x4c1b1c]
cmp eax, edi
je 0x47858a
push eax
call ebx
test eax, eax
je 0x47858a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c1b14]
call ebx
test eax, eax
je 0x4785a5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4785a7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465956
mov esp, ebp
pop ebp
ret