joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aff0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
xor eax, eax
mov ecx, 0x82
mov edi, 0x4aa278
push 0x4aa278
mov byte [0x4aa270], 0
rep stosd dword es:[edi], eax
call dword [sym.imp.kernel32.dll_lstrcpyW]
xor eax, eax
cmp byte [esp + 0x14], al
je 0x40b025
mov eax, 1
push eax
push 0x40aad0
call dword [sym.imp.user32.dll_EnumWindows]
mov bl, byte [0x4aa270]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b051
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov al, bl
pop ebx
ret 8
Function at 0x40e8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48ac03
push eax
mov eax, dword [0x4aa4f8]
mov dword fs:[0], esp
sub esp, 0x18
test eax, eax
jne 0x40e933
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
mov ecx, 0x4aa508
call fcn.0040e390
mov dword [eax], 0x13
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push ecx
push edx
push ebp
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40e984
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
mov ecx, 0x4aa508
call fcn.0040e390
pop esi
mov dword [eax], 0x10
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
push esi
push ebp
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x40e9c4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x4aa508
mov dword [esp + 0x3c], eax
call fcn.0040e390
pop esi
mov dword [eax], 0xf
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
push edi
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
push esi
push ebp
mov edi, eax
call dword [sym.imp.kernel32.dll_SizeofResource]
push 0x2800
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00423140
push pe_nt_image_headers32
mov dword [esp + 0x30], 0
call fcn.0047c5d9
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x2c], 1
pop edi
je 0x40ea14
mov ecx, eax
call fcn.00415040
mov esi, eax
jmp 0x40ea16
xor esi, esi
test esi, esi
mov byte [esp + 0x28], 0
je 0x40ea67
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00415150
test eax, eax
je 0x40ea67
push esi
mov ecx, 0x4aa87c
call fcn.0041b420
mov esi, eax
call fcn.0040d500
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423020
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423020
mov ecx, dword [esp + 0x20]
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x410310
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebp, ebp
test eax, eax
push edi
jle 0x41037b
mov ebx, dword [sym.imp.user32.dll_GetKeyState]
xor edi, edi
jmp 0x410330
mov eax, dword [esi + 4]
movzx ecx, word [eax + edi + 2]
mov edx, dword [esp + 0x14]
add eax, edi
cmp ecx, edx
jne 0x410371
test byte [eax], 4
je 0x41034f
push 0x10
call ebx
test ah, ah
jns 0x410371
mov edx, dword [esi + 4]
test byte [edi + edx], 8
je 0x410360
push 0x11
call ebx
test ah, ah
jns 0x410371
mov eax, dword [esi + 4]
test byte [edi + eax], 0x10
je 0x410384
push 0x12
call ebx
test ah, ah
js 0x410384
mov eax, dword [esi]
inc ebp
add edi, 6
cmp ebp, eax
jl 0x410330
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov edx, dword [esi + 4]
lea ecx, [ebp + ebp*2]
lea eax, [edx + ecx*2]
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx], edx
mov ax, word [eax + 4]
pop esi
pop ebp
mov word [ecx + 4], ax
mov eax, 1
pop ebx
ret 8
Function at 0x411010
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4110be
push 0x114
mov ebx, 1
call fcn.0046b634
mov esi, eax
add esp, 4
test esi, esi
je 0x411133
xor eax, eax
mov ecx, 0x45
mov edi, esi
rep stosd dword es:[edi], eax
push esi
mov dword [esi], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x411074
push esi
mov ebx, 5
call fcn.0046a9e0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 5
jne 0x41112a
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x411098
push esi
mov ebx, 6
call fcn.0046a9e0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 5
jne 0x41112a
cmp dword [esi + 8], ebx
jne 0x41112a
push esi
mov ebx, 7
call fcn.0046a9e0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp al, 4
jae 0x4110c8
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x114
mov ebx, 2
call fcn.0046b634
mov esi, eax
add esp, 4
test esi, esi
je 0x411133
xor eax, eax
mov ecx, 0x45
mov edi, esi
rep stosd dword es:[edi], eax
push esi
mov dword [esi], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x41112a
cmp dword [esi + 8], 0xa
jne 0x41111a
push esi
mov ebx, 3
call fcn.0046a9e0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp eax, 4
jne 0x41112a
cmp dword [esi + 8], 0x5a
jne 0x41112a
mov ebx, 4
push esi
call fcn.0046a9e0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4118a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
push eax
push ecx
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4118c9
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x4118ce
pop edi
xor eax, eax
pop esi
ret
push ebx
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
push esi
push edi
mov ebx, eax
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
push 0x491814
push edx
mov edi, eax
call fcn.0046b967
mov esi, eax
add esp, 8
test esi, esi
je 0x411916
push esi
push 1
push edi
push ebx
call fcn.0046b8bf
push esi
call fcn.0046b767
add esp, 0x14
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x411920
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48aca6
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push esi
push edi
lea eax, [esp + 0x2c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
or esi, 0xffffffff
test eax, eax
jne 0x411996
mov ecx, dword [esp + 0x454]
push ecx
lea ecx, [esp + 0x10]
call fcn.004106d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x444], 0
call fcn.004103b0
push eax
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.kernel32.dll_lstrcpyW]
lea ecx, [esp + 0xc]
mov dword [esp + 0x444], esi
call fcn.00410430
lea eax, [esp + 0x234]
push eax
push 0
push 0x49182c
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
test eax, eax
jne 0x411a58
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x10]
call fcn.004106a0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x2a], 0x5c
mov ebx, dword [esp + 0x44c]
je 0x411a1c
mov ecx, dword [esp + 0x450]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], eax
push 0x491824
push ebx
mov dword [edx + 0xc], ecx
call fcn.0046b97a
add esp, 0x1c
lea ecx, [esp + 0xc]
jmp 0x411a9b
mov edx, dword [esp + 0x450]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
push 0x49181c
push ebx
mov dword [eax + 0xc], edx
call fcn.0046b97a
add esp, 0x1c
lea ecx, [esp + 0xc]
jmp 0x411a9b
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x20]
call fcn.004106a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x444], 1
call fcn.004103c0
mov ebx, dword [esp + 0x44c]
mov edx, ebx
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x411a86
mov dword [esp + 0x444], esi
lea ecx, [esp + 0x1c]
call fcn.00410430
mov eax, dword [esp + 0x458]
test eax, eax
je 0x411ae8
mov edi, ebx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411ab0
mov cx, word [0x491818]
mov word [edi], cx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411ac4
sub eax, ecx
dec ebx
mov esi, ecx
mov edi, ebx
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411ad2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x43c
ret
Function at 0x412400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48ad18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov ebx, dword [esi]
mov edx, dword [esi + 4]
push edi
mov edi, dword [esi + 8]
sub edi, ebx
mov ebx, dword [esi + 0xc]
sub ebx, edx
push ebx
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.00425a50
mov ebp, dword [esp + 0x54]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
xor eax, eax
push ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ecx
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
push eax
lea edx, [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
push edx
push eax
call dword [sym.imp.user32.dll_FillRect]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.gdi32.dll_DeleteObject]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x2c]
push 1
push ebp
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00412120
add esp, 0x1c
lea ecx, [esp + 0x24]
call fcn.00425ae0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0
push ebp
push 0
push 0
push eax
push ebx
push edi
push ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.00411140
mov ecx, dword [esp + 0x74]
add esp, 0x28
push ecx
call dword [sym.imp.gdi32.dll_DeleteObject]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00425aa0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4133d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ad18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
mov ebx, dword [esi]
mov edx, dword [esi + 4]
push edi
mov edi, dword [esi + 8]
sub edi, ebx
mov ebx, dword [esi + 0xc]
sub ebx, edx
push ebx
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00425a50
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
push ecx
xor eax, eax
push 1
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.00412610
add esp, 0x1c
lea ecx, [esp + 0x20]
call fcn.00425ae0
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x4c]
push 0
push 0
mov ebp, eax
mov eax, dword [esi]
push ebp
push ebx
push edi
push edx
push eax
push ecx
call fcn.00411140
add esp, 0x28
push ebp
call dword [sym.imp.gdi32.dll_DeleteObject]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.00425aa0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x415150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48afeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, ecx
push edi
mov dword [esp + 0xc], ebp
call fcn.004147d0
lea edi, [ebp + 0xf8]
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x20], 0x491a14
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x2800
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x60], ebx
call fcn.00423280
test al, al
jne 0x4151f4
push edi
mov dword [ebp + 4], 5
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x20]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00423020
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 4
push esi
lea ecx, [esp + 0x24]
call fcn.004230e0
push 0xbc
lea esi, [ebp + 0x20]
push esi
lea ecx, [esp + 0x2c]
call fcn.00423050
cmp eax, 0xbc
je 0x415223
mov dword [ebp + 4], 6
jmp 0x415acd
push 0x13
push 0x491a18
push esi
call fcn.0046bac0
add esp, 0xc
test eax, eax
jne 0x415ac6
mov al, byte [ebp + 0x34]
cmp al, 1
ja 0x415ac6
jb 0x415ac6
cmp byte [ebp + 0x35], 0x12
ja 0x415ac6
mov byte [0x4a7398], al
mov cl, byte [ebp + 0x35]
mov byte [0x4a7399], cl
mov al, byte [ebp + 0x35]
mov dl, byte [ebp + 0x34]
mov byte [ebp + 0xf5], al
mov eax, dword [ebp + 0xd0]
xor edi, edi
cmp eax, ebx
mov byte [ebp + 0xf4], dl
jbe 0x41583e
mov dword [ebp + 4], 7
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], 0xffffffff
call fcn.00423020
mov ecx, dword [esp + 0x58]
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x4168f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b0e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x491a68
call fcn.0043d790
mov dword [edi + 4], eax
mov bl, 1
mov byte [eax + 0x2d], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0xa0]
mov ecx, edi
mov dword [esp + 0x2c], ebp
call fcn.0043d790
mov dword [edi + 4], eax
mov byte [eax + 0x2d], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov eax, dword [esp + 0x34]
mov dword [esi + 0x9c], eax
mov dword [esi + 0xac], ebp
xor eax, eax
mov ecx, 0xc
lea edi, [esi + 0x68]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0xc
lea edi, [esi + 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.user32.dll_GetSysColor]
push 0xf
mov byte [esp + 0x30], bl
call edi
push 8
mov dword [esi + 0x10], eax
call edi
push 0x1e
push 0x3c
push ebp
lea ecx, [esp + 0x20]
push ebp
push ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xff
mov dword [esi + 0x64], ebp
call fcn.00410730
mov edi, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
lea ebx, [esi + 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
add esp, 0x14
mov dword [ebx + 0xc], eax
mov dword [esi + 0x2c], ebp
mov eax, esi
pop edi
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x418bd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48b388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0xb8]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0xb8]
sub eax, ebp
sub ecx, ebx
xor edi, edi
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.user32.dll_IsIconic]
test eax, eax
je 0x418dee
mov eax, dword [esp + 0x84]
push eax
call fcn.00410fd0
add esp, 4
test eax, eax
jne 0x418dee
mov ecx, dword [esi + 0xb8]
push ecx
call dword [sym.imp.user32.dll_GetWindowDC]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub ebx, ecx
push ebx
sub edi, edx
mov ebp, eax
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.00425a50
mov eax, dword [esi + 0xb8]
lea edx, [esp + 0x38]
push edx
push eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x40], 0x3c
call dword [sym.imp.user32.dll_GetWindowInfo]
mov edx, dword [esp + 0x64]
xor eax, eax
cmp edx, 1
sete al
test eax, eax
mov dword [esp + 0x14], eax
je 0x418cfe
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + 0xac]
push 0
push 1
push 0xf
mov dword [esp + 0x94], ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.user32.dll_GetSysColor]
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
jmp 0x418d6f
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00410fd0
mov edx, dword [esp + 0x30]
add esp, 4
test eax, eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xac]
push 0
push 1
push 0xf
mov dword [esp + 0x1c], eax
jne 0x418d47
mov dword [esp + 0x90], edx
call dword [sym.imp.user32.dll_GetSysColor]
mov ecx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
jmp 0x418d63
mov dword [esp + 0x94], edx
call dword [sym.imp.user32.dll_GetSysColor]
mov ecx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
call fcn.00412610
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
add esp, 0x1c
push eax
push ecx
mov ecx, esi
call dword [edx + 0x60]
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00418950
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push eax
push ebx
push edi
push ecx
push edx
push ebp
call dword [sym.imp.gdi32.dll_BitBlt]
mov eax, dword [esi + 0xb8]
push ebp
push eax
call dword [sym.imp.user32.dll_ReleaseDC]
lea ecx, [esp + 0x28]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00425aa0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 8
Function at 0x41acf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x41ad68
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov al, byte [esi + 0x15]
test al, al
jne 0x41ad63
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x41ad44
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x41ad63
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x41ad37
jmp 0x41ad63
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x41ad61
mov edi, edi
cmp esi, dword [eax + 8]
jne 0x41ad61
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x41ad50
mov esi, eax
cmp esi, dword [edi + 0x1c]
jne 0x41ad13
mov ecx, edi
call fcn.0041ac50
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x41ad7c
mov edx, dword [ecx]
push 1
call dword [edx]
push pe_nt_image_headers32
call fcn.0047c5d9
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x41adb4
mov ecx, eax
call fcn.00415040
mov dword [edi + 0x30], eax
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [edi + 0x30], eax
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41d710
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xb8]
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [esi + 0xb8]
mov edi, dword [sym.imp.user32.dll_KillTimer]
push 0x3e8
push ecx
call edi
mov edx, dword [esi + 0xb8]
push 0x3f2
push edx
call edi
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esi + 0x124], 0
call fcn.0041d020
lea ecx, [esp + 8]
push ecx
lea edx, [esi + 0x114]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0041d600
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0x150
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0xb8]
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.user32.dll_SetWindowPos]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x41d7af
lea eax, [esi + 0x128]
mov ecx, dword [eax + 0x8d0]
mov edx, dword [esi + 0xb8]
push 0
push ecx
push 0x3f2
push edx
call dword [sym.imp.user32.dll_SetTimer]
pop edi
pop esi
add esp, 0x18
ret
Function at 0x41de30
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
push esi
mov esi, ecx
jne 0x41de4a
lea eax, [esi + 0x114]
push eax
call dword [sym.imp.user32.dll_GetCursorPos]
jmp 0x41de5b
mov ecx, dword [eax]
mov dword [esi + 0x114], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x118], edx
mov eax, dword [esi + 0xb8]
push ebx
push edi
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [esi + 0xb8]
mov edi, dword [sym.imp.user32.dll_KillTimer]
push 0x3e8
push ecx
call edi
mov edx, dword [esi + 0xb8]
push 0x3f2
push edx
call edi
mov ebx, dword [esp + 0x10]
push ebx
mov dword [esi + 0x124], 0
lea edi, [esi + 0xcf0]
call fcn.00469d6f
add esp, 4
push eax
push ebx
mov ecx, edi
call fcn.00419f00
push 0x48ee44
call fcn.00469d6f
add esp, 4
push eax
mov eax, dword [edi + 0x14]
push 0x48ee44
push eax
push 0
mov ecx, edi
call fcn.0041d4e0
test eax, eax
pop edi
pop ebx
je 0x41df02
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x41dee7
lea eax, [esi + 0x128]
mov ecx, dword [eax + 0x8cc]
mov edx, dword [esi + 0xb8]
push 0
push ecx
push 0x3e8
push edx
call dword [sym.imp.user32.dll_SetTimer]
pop esi
ret 8

Function at 0x421920
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, dword [sym.imp.user32.dll_GetPropW]
push edi
mov edi, dword [esp + 0xc]
push 0x4a740c
push edi
call ebx
test eax, eax
jne 0x42193d
pop edi
pop ebx
ret 0xc
push ebp
mov ebp, dword [esp + 0x18]
cmp ebp, 0xffffffff
push esi
jne 0x421968
call dword [sym.imp.kernel32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x421961
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
jmp 0x421966
mov eax, 8
mov ebp, eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x421975
cmp esi, 3
jne 0x42198c
push 0x4a740c
push edi
call ebx
test eax, eax
je 0x42198c
add eax, 8
je 0x42198c
mov dword [eax + 0x348], ebp
cmp esi, 1
je 0x421996
cmp esi, 3
jne 0x4219af
push 0x4a740c
push edi
call ebx
test eax, eax
je 0x4219af
add eax, 0x354
je 0x4219af
mov dword [eax + 0x348], ebp
pop esi
pop ebp
pop edi
mov eax, 1
pop ebx
ret 0xc