joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ed10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
push ebp
push edi
push eax
push 0x1000
mov dword [esp + 0x1c], 0x1000
call fcn.0040f580
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x53a67c]
push ecx
mov edi, eax
push edx
mov ebp, edi
call fcn.0040f0ce
mov ebx, eax
test ebx, ebx
je 0x40ee2e
push esi
lea ecx, [ecx]
mov byte [esp + 0x13], 0
cmp dword [ebx + 4], 0
je 0x40ed6e
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.0040ee50
mov dword [esp + 0x14], eax
jmp 0x40ed85
mov eax, dword [ebx]
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x1f]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, byte [esp + 0x13]
test al, al
je 0x40ed97
mov byte [ebp], al
mov al, byte [esp + 0x13]
add ebp, 1
mov ecx, dword [esp + 0x18]
mov esi, ebp
sub esi, edi
cmp esi, ecx
jl 0x40edc1
mov edx, dword [esp + 0x24]
add ecx, 0x1000
push edx
push ecx
mov dword [esp + 0x20], ecx
call fcn.0040f580
mov edi, eax
mov al, byte [esp + 0x13]
lea ebp, [esi + edi]
test al, al
je 0x40ee2d
cmp dword [esp + 0x14], 0
je 0x40edd8
cmp al, 0xd
je 0x40edd8
cmp al, 0xa
jne 0x40ed50
sub ebp, 1
cmp al, 0xd
jne 0x40ee2d
cmp dword [ebx + 4], 0
je 0x40edf4
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.0040ee50
jmp 0x40ee0b
mov eax, dword [ebx]
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x1f]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x40ee2d
cmp dword [ebx + 4], 0
je 0x40ee1e
add dword [ebx + 0xc], 1
jmp 0x40ee2d
mov ecx, dword [ebx]
push 1
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop esi
sub edi, ebp
add edi, dword [esp + 0x14]
mov byte [ebp], 0
push edi
call fcn.0040f600
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x40ee50
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 0
push edi
jne 0x40ee71
push esi
call fcn.0040e860
mov dword [esi + 0x14], 1
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ebx, edi
jl 0x40eeea
mov eax, dword [esi + 0x10]
add eax, dword [esi + 4]
mov ecx, edi
sub eax, ebx
sub ecx, 1
je 0x40eed7
sub ecx, 1
je 0x40eec2
sub ecx, 2
je 0x40eeaf
push edi
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ax, word [eax]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov dl, byte [eax]
mov eax, dword [esp + 0x14]
mov byte [eax], dl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esi + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
sub ecx, ebx
add ecx, dword [esi + 4]
push ebx
push ecx
push ebp
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
sub edi, ebx
add ebp, ebx
cmp edi, eax
push 0
jl 0x40ef33
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], 0
pop esi
add eax, ebx
pop ebx
ret 0xc
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
cmp edi, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
jle 0x40ef56
mov edi, eax
mov ecx, dword [esi + 4]
push edi
push ecx
push ebp
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0xc], edi
add esp, 0xc
pop ebp
lea eax, [ebx + edi]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x40ef80
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x40efa2
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x40f01b
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
sub ecx, 1
je 0x40f008
sub ecx, 1
je 0x40eff3
sub ecx, 2
je 0x40efe0
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.0040e860
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x40f048
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x4100a0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x4100c5
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov edx, dword [esi + 0x180]
cmp byte [edx + 8], 0
je 0x4100f0
mov eax, dword [esi]
mov dword [eax + 0x14], 0x30
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
mov eax, dword [esi + 0x180]
add esp, 4
cmp byte [eax + 8], 0
jne 0x4100d1
xor ecx, ecx
cmp byte [esi + 0x41], cl
mov al, 1
setne cl
add ecx, 0xcd
mov dword [esi + 0x14], ecx
ret
Function at 0x4101b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4101df
push esi
call fcn.0040fb70
add esp, 4
cmp byte [esi + 0x40], 0
je 0x4101d8
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x41025a
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x41024a
mov eax, dword [esi + 8]
test eax, eax
je 0x410204
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x410246
cmp eax, 2
je 0x41024a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4101f5
cmp eax, 3
je 0x41022c
cmp eax, 1
jne 0x4101f5
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x4101f5
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x4101f5
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.004100a0
pop esi
ret
cmp eax, 0xcc
je 0x41027c
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.004100a0
pop esi
ret

Function at 0x414880
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.00417120
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.004170b0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4148c6
push edi
call fcn.00417130
mov eax, dword [edi]
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push edi
call eax
add esp, 8
mov dword [esi], fcn.00413d70
mov dword [esi + 4], fcn.00413ec0
mov dword [esi + 8], fcn.00413f80
mov dword [esi + 0xc], fcn.00414030
mov dword [esi + 0x10], 0x4140e0
mov dword [esi + 0x14], 0x414150
mov dword [esi + 0x18], 0x4141c0
mov dword [esi + 0x1c], 0x4144a0
mov dword [esi + 0x20], 0x4145e0
mov dword [esi + 0x24], fcn.00414730
mov dword [esi + 0x28], 0x414840
mov dword [esi + 0x30], 0x3b9aca00
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x4149a1
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push ecx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x4149a1
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x41497c
cmp al, 0x4d
jne 0x414994
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
pop edi
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x402742
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push edi
push 0
push eax
mov edi, 0x1000
mov eax, edi
sub eax, dword [esi + 4]
push eax
push dword [esi + 0x10]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
sub eax, dword [esi + 4]
cmp dword [ebp + 8], eax
jne 0x40277e
mov eax, dword [esi + 0x10]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
inc eax
jmp 0x402780
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x404f26
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push dword [0x46cf30]
call fcn.004163b4
mov esi, eax
or ebp, 0xffffffff
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [esp + 0x28]
mov ecx, eax
movzx edx, word [ecx]
test dx, dx
je 0x405059
mov eax, dword [esi]
mov esi, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0x20
push 0x22
pop edi
movzx eax, si
cmp si, word [esp + 0x18]
jne 0x404f8c
push 0x20
pop esi
add ecx, 2
movzx eax, word [ecx]
cmp ax, si
je 0x404f81
mov dword [esp + 0x10], 1
cmp ax, di
jne 0x404fc6
add ecx, 2
mov edi, ecx
movzx eax, word [ecx]
mov esi, eax
test ax, ax
je 0x405024
push 0x22
mov edx, eax
pop ebx
movzx esi, dx
cmp dx, bx
je 0x405020
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
mov esi, eax
test ax, ax
jne 0x404fad
jmp 0x405020
test ax, ax
je 0x405034
push 0x22
pop ebx
push 0x20
mov edi, ecx
movzx eax, ax
pop ebp
movzx esi, ax
cmp ax, bp
je 0x40501c
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
cmp ax, bx
jne 0x405011
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
je 0x405011
mov esi, eax
movzx edx, si
cmp si, bx
je 0x405011
add ecx, 2
movzx eax, word [ecx]
mov esi, eax
mov edx, eax
test ax, ax
jne 0x404ffa
movzx eax, dx
movzx esi, dx
test dx, dx
jne 0x404fd6
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov edx, ecx
test si, si
je 0x40502e
add ecx, 2
mov eax, dword [esp + 0x10]
jmp 0x405038
xor eax, eax
xor edi, edi
cmp dword [esp + 0x1c], ebp
jne 0x405042
test ebx, ebx
jne 0x405061
test eax, eax
je 0x40504b
inc ebp
mov dword [esp + 0x14], ebp
movzx eax, word [ecx]
mov esi, eax
test ax, ax
jne 0x404f71
test ebx, ebx
jne 0x405075
mov eax, ebp
jmp 0x40507a
test edi, edi
je 0x405075
mov eax, dword [esp + 0x20]
sub edx, edi
sar edx, 1
mov dword [ebx], edx
inc dword [eax]
mov eax, edi
jmp 0x40507a
and dword [ebx], 0
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x406294
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x3c]
xor ebp, ebp
mov dword [esp + 0x18], ebp
call fcn.0041bbf0
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
lea edi, [ebx + 0x18]
cmp dword [esi], ebp
je 0x406397
push edi
push ebp
push dword [0x46c694]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x406397
push 0
push dword [esi + 0x20]
push edi
push ebp
push ebx
push dword [esp + 0x48]
call fcn.0042098d
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4062fd
cmp edi, ebx
jge 0x4062fd
mov dword [esp + 0x34], ebp
jmp 0x4062ff
mov edi, ebx
push dword [esp + 0x10]
call fcn.0041b9d0
mov word [esp + 0x2c], ax
mov eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cdq
mov dword [esp + 0x1c], eax
mov eax, edi
pop ecx
mov dword [esp + 0x1c], edx
cdq
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x40]
push eax
push 0x12
lea eax, [esp + 0x24]
mov dword [esp + 0x30], edx
push eax
push dword [esi]
call ebx
cmp dword [esp + 0x3c], 0x12
jne 0x406381
push 0
lea eax, [esp + 0x40]
push eax
movsx eax, word [esp + 0x30]
push eax
push dword [esp + 0x1c]
push dword [esi]
call ebx
movsx eax, word [esp + 0x28]
cmp eax, dword [esp + 0x3c]
jne 0x406381
push 0
lea eax, [esp + 0x40]
push eax
push edi
push dword [esp + 0x40]
push dword [esi]
call ebx
cmp edi, dword [esp + 0x3c]
jne 0x406381
mov dword [esp + 0x14], 1
push esi
call fcn.00420477
pop ecx
push ebp
push 0
push dword [0x46c694]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x10]
call fcn.0041baf0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4069ae
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x46d66c]
call fcn.004163b4
xor ebx, ebx
mov esi, eax
cmp dword [0x46d2c4], ebx
jne 0x406a80
xor ebp, ebp
inc ebp
mov dword [0x46d2c4], ebp
call fcn.00420eeb
mov edi, 0xa8
push edi
push ebx
push 0x46d218
call fcn.004011c0
add esp, 0xc
mov dword [0x46d218], 0x13
lea eax, [esp + 0x10]
mov dword [0x46d21c], edi
mov dword [0x46d228], 0x40685d
mov dword [0x46d22c], 0x406836
push eax
mov dword [0x46d280], 0x406b88
mov dword [0x46d284], 0x406bb0
mov dword [0x46d224], 0x406b63
mov dword [0x46d2a8], 0x406c6b
mov dword [0x46d2c8], ebp
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x406a80
cmp dword [esp + 0x20], ebp
je 0x406a7a
cmp dword [esp + 0x20], 2
jne 0x406a80
cmp dword [esp + 0x14], 5
jb 0x406a7a
jne 0x406a80
cmp dword [esp + 0x18], ebx
jne 0x406a80
mov dword [0x46d2c8], ebx
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00420bdf
mov eax, dword [esp + 0x140]
push ebx
push dword [0x46c698]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebx
push str.BUTTON
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x406b54
mov ebp, dword [esp + 0x128]
push ebp
push dword [0x46d668]
call fcn.004177e1
mov esi, dword [esp + 0x13c]
mov ebx, eax
mov dword [ebx + 0x10], esi
test esi, esi
je 0x406b25
push esi
call fcn.00411892
test eax, eax
je 0x406b25
push 0
push 0
push esi
call fcn.00411971
jmp 0x406b27
xor eax, eax
push 0x406f80
push 0xfffffffffffffffc
mov dword [ebx + 0x18], eax
and dword [ebx + 0x14], 0
and dword [ebx + 0x1c], 0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x46d218
push edi
push ebx
push ebp
mov dword [0x46d2c0], eax
call fcn.00420c34
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x409361
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x46d668]
call fcn.0041785e
mov ebx, eax
test ebx, ebx
je 0x4093c5
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x40938a
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4093c5
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00419c80
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call fcn.004182de
pop ecx
sub edi, eax
push edi
call fcn.00419d20
pop edi
pop esi
pop ebx
ret 8

Function at 0x409408
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x46d66c]
call fcn.004163b4
xor ebx, ebx
mov ebp, eax
cmp dword [0x46d740], ebx
jne 0x40949c
mov esi, 0xa8
push esi
push ebx
push 0x46d698
call fcn.004011c0
add esp, 0xc
mov dword [0x46d69c], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x46d698], 0xa
mov dword [0x46d6a0], 0x40990e
push 0x7f89
push ebx
mov dword [0x46d710], 0x421f6b
mov dword [0x46d714], 0x40d017
mov dword [0x46d6a4], 0x4098ee
mov dword [0x46d728], 0x40992d
call esi
mov dword [0x46d740], eax
test eax, eax
jne 0x40949c
push 0x7f00
push ebx
call esi
mov dword [0x46d740], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00420bdf
push ebx
push dword [0x46c698]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40010000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x409568
push edi
push dword [esp + 0x14]
push dword [0x46d668]
call fcn.004177e1
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x46c694]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x46d698
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.00420c34
push 0x409570
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x40c21e
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x40c291
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, ebp
and ecx, dword [esp + 0x14]
push esi
push edi
cmp ecx, 0xffffffff
jne 0x40c24c
mov ebp, eax
push dword [ebx]
call fcn.0040c6c0
push ebp
push dword [ebx]
mov edi, eax
call fcn.0040c699
add esp, 0xc
mov esi, eax
push 0
push ebp
push 0x130c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [ebx]
call fcn.0040c6e0
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x40f651
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
push edi
push dword [0x46d66c]
call fcn.004163b4
xor ebx, ebx
mov edi, eax
cmp dword [0x46e110], ebx
jne 0x40f7be
mov esi, 0xa8
push esi
push ebx
push 0x46e068
call fcn.004011c0
add esp, 0xc
mov dword [0x46e068], 0x1b
mov dword [0x46e06c], esi
mov dword [0x46e070], 0x41063b
mov dword [0x46e074], 0x40fd86
mov dword [0x46e08c], 0x40fa64
mov dword [0x46e09c], 0x408a3d
mov dword [0x46e094], 0x40fdcb
mov dword [0x46e090], 0x40fe20
mov dword [0x46e07c], 0x40ffbd
mov dword [0x46e078], 0x410004
mov dword [0x46e080], 0x41004d
mov dword [0x46e084], 0x4100cd
mov dword [0x46e0a8], 0x410114
mov dword [0x46e0ac], 0x41019d
mov dword [0x46e0a0], 0x4101e2
mov dword [0x46e0a4], 0x41027e
mov dword [0x46e0e0], 0x4103d0
mov dword [0x46e0e4], 0x410429
mov dword [0x46e0e8], 0x410484
mov dword [0x46e0ec], 0x4104f6
mov dword [0x46e0f0], 0x410530
mov dword [0x46e0f4], 0x410552
mov dword [0x46e0d8], 0x410574
mov dword [0x46e108], 0x40fcba
mov dword [0x46e10c], 0x40f9ec
call fcn.00420eeb
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40f7b4
cmp dword [esp + 0x24], 2
jne 0x40f7b4
cmp dword [esp + 0x18], 6
jb 0x40f7b4
mov eax, dword [0x46d660]
mov dword [0x46e114], eax
mov dword [0x46e110], 1
mov esi, dword [esp + 0x140]
not esi
and esi, 2
or esi, 0x50010000
test byte [esp + 0x140], 1
jne 0x40f7dd
or esi, 5
test byte [esp + 0x140], 0x20
je 0x40f7ea
or esi, 0x20
push 0x1f4
push ebx
push dword [0x46c694]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.00420bdf
test ebp, ebp
je 0x40f92a
push ebx
push dword [0x46c698]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push esi
push ebx
push str.SysTreeView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x40f92e
push dword [esp + 0x12c]
push dword [0x46d668]
call fcn.004177e1
push 0x410873
push 0xfffffffffffffffc
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push 4
push 0x112c
push ebx
mov dword [0x46e118], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x46e068
push ebx
push edi
push dword [esp + 0x138]
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], 0x19
call fcn.00420c34
mov ebx, eax
mov eax, 0x100
test dword [esp + 0x140], eax
je 0x40f92e
or esi, eax
push esi
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test dword [esp + 0x140], 0x10000
je 0x40f92e
call fcn.00422c32
cmp eax, 0x3c
jg 0x40f8fd
push edi
call fcn.0040fa0d
pop ecx
push 0
push 2
push 0x1108
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40f91a
push eax
push dword [edi]
call fcn.004224e8
push edi
push str.PB_3State
push dword [edi]
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x40f92e
mov ebx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x118
ret 0x18
Function at 0x410cb4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x46e444]
call fcn.0041785e
mov esi, eax
test esi, esi
je 0x410d8e
cmp dword [ebp + 0xc], 0
je 0x410d00
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x410cf1
cmp dword [esi + 0x1c], 0
jne 0x410cf1
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x410d8e
test byte [ebp + 0x10], 3
je 0x410d1b
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00422eb4
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x410d40
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x410d54
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x410d71
test ebx, ebx
je 0x410d65
push 8
jmp 0x410d77
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x410d84
test ebx, ebx
je 0x410d7a
push 3
pop ecx
jmp 0x410d84
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc