joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493a10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ecx + 0x78]
sub edi, dword [ecx + 0x74]
xor ebx, ebx
sar edi, 2
mov dword [ebp - 4], ecx
test edi, edi
jle 0x493a6c
push esi
lea esp, [esp]
mov eax, dword [ecx + 0x74]
mov esi, dword [eax + ebx*4]
cmp dword [esi + 0xc], 6
je 0x493a66
cmp dword [esi + 0x10], 2
jne 0x493a5a
cmp byte [esi + 0x24], 0
je 0x493a5a
cmp byte [esi + 0x26], 0
je 0x493a5a
mov ecx, dword [esi + 0x60]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov ecx, dword [ebp - 4]
inc ebx
cmp ebx, edi
jl 0x493a30
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x495350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50202d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x20c]
push ebx
mov dword [ebp - 0x28], esi
mov edi, edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x495492
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov dword [ebp - 4], 0
lea eax, [esi + 0x1d0]
lea esi, [ebp - 0x24]
call fcn.0045cbb0
mov ecx, 1
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
jne 0x49541b
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4953e1
mov eax, 0x104
lea ecx, [ebp - 0x24]
call fcn.004593e0
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push 0x104
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e26e4
add esp, 8
test eax, eax
js 0x4954ae
cmp eax, dword [esi - 8]
jg 0x4954ae
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
test eax, eax
je 0x49547f
mov edx, dword [0x553e04]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1f8]
mov eax, dword [ecx + 0x190]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
push 0x24
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push esi
sub ebx, 2
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00459050
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00459fc0
int3
Function at 0x49a660
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e4be0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49a6cd
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x49a6bd
cmp eax, 4
jne 0x49a6cd
cmp dword [ebp - 0x110], 0x5a
jb 0x49a6cd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.004e0040
mov esp, ebp
pop ebp
ret

Function at 0x49c320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov byte [ebx + 0x28], al
test al, al
je 0x49c34c
mov eax, dword [ebx + 4]
mov byte [ebx + 0x24], 0
mov word [ebx + 0x29], 0
test eax, eax
je 0x49c34c
call fcn.0049bb80
push esi
mov esi, dword [ebx + 0x78]
sub esi, dword [ebx + 0x74]
xor eax, eax
sar esi, 2
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test esi, esi
jle 0x49c3db
push edi
mov ecx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x49c3cf
cmp dword [edi + 0x14], 1
je 0x49c3cf
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
push eax
mov ecx, edi
call edx
cmp byte [ebp + 8], 0
je 0x49c3cf
mov eax, dword [ebx + 0x1a0]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x49c3c4
mov esi, dword [edi + 4]
add esi, 0x6c
call fcn.004592c0
cmp dword [ebx + 0x198], 0
je 0x49c3c1
mov edi, dword [edi + 8]
mov esi, dword [ebp - 0xc]
lea ebx, [ebx + 0x198]
call fcn.0049ba70
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
push 0
mov ecx, edi
call edx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x49c363
pop edi
cmp byte [ebp + 8], 0
pop esi
jne 0x49c3fe
cmp byte [ebx + 0x24], 0
mov byte [ebx + 0x21c], 0
jne 0x49c3fe
mov eax, dword [ebx + 0x1a0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49e420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506f48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x54b2c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
push edx
call eax
test eax, eax
je 0x49e4d2
mov eax, dword [eax + 4]
add eax, 0x58
lea esi, [esp + 8]
call fcn.0045cbb0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 8]
mov edx, dword [0x553d3c]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004ae170
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.0049ce60
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, esi
call fcn.00459050
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x49eae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff8f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.0049cc10
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x70]
mov dword [esi], vtable.CSkinObjectContainer.0
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x14], eax
call fcn.004a7540
mov byte [ebp - 4], 3
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 4
mov word [esi + 0x24], bx
mov dword [esi + 0x38], 1
mov byte [ebp - 4], 5
lea eax, [edi + 0x130]
mov dword [edi], vtable.CSkinLayoutObject.1.0
mov dword [edi + 0x70], vtable.CSkinLayoutObject.0
mov dword [eax], vtable.CLayoutGroup.0
mov dword [ebp - 0x14], eax
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov byte [ebp - 4], 7
mov dword [edi + 0x12c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49fa80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbeac
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], vtable.CDrawCache.0
mov dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x10], ebx
mov byte [ebp - 4], 1
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 2
lea esi, [edi + 0x48]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.00459030
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x4c], ebx
mov dword [ebp - 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a17d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5058f1
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x78]
mov ecx, dword [ecx - 0xc]
lea eax, [edi + 0x78]
test ecx, ecx
je 0x4a190a
lea esi, [ebp - 0x424]
call fcn.0045cbb0
mov dword [ebp - 4], 0
cmp dword [edi + 0x80], 0
je 0x4a1884
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x518580
call fcn.00459530
mov byte [ebp - 4], 1
mov ebx, dword [edi + 0x80]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0045c970
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ebx, esi
call fcn.0045af80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00459050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00459050
cmp byte [edi + 0x7c], 0
je 0x4a189e
mov ecx, dword [ebp - 0x424]
push 5
push 0
push 0
push ecx
push 0x522aa4
jmp 0x4a18ee
xor edx, edx
push 0x40e
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.004e4be0
mov ecx, dword [ebp - 0x424]
push ecx
push str.__select___s_
lea edx, [ebp - 0x420]
push 0x208
push edx
call fcn.004e2d95
add esp, 0x1c
push 0xa
push 0
lea eax, [ebp - 0x420]
push eax
push str.Explorer.exe
push 0x518064
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.00459050
jmp 0x4a1923
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 0
push eax
push 0x111
push edi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret

Function at 0x4a2d80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi + 0x29], 1
mov edi, dword [esi + 0x78]
sub edi, dword [esi + 0x74]
xor ebx, ebx
sar edi, 2
test edi, edi
jle 0x4a2dc0
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x4a2dbb
cmp byte [ecx + 0x24], 0
je 0x4a2dbb
cmp byte [ecx + 0x68], 0
jne 0x4a2db4
cmp dword [ecx + 0x10], 2
je 0x4a2dbb
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
inc ebx
cmp ebx, edi
jl 0x4a2d98
cmp byte [esi + 0x24], 0
je 0x4a2df7
cmp byte [esi + 0x26], 0
je 0x4a2df7
mov ecx, dword [esi + 0x1a0]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x1a0]
push 0x257
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor ebx, ebx
test edi, edi
jle 0x4a2e28
lea ecx, [ecx]
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x4a2e23
cmp byte [ecx + 0x24], 0
je 0x4a2e23
cmp dword [ecx + 0x64], 0
je 0x4a2e23
cmp dword [ecx + 0x10], 2
jne 0x4a2e23
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
inc ebx
cmp ebx, edi
jl 0x4a2e00
pop edi
pop esi
pop ebx
ret
Function at 0x4a2f00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 8]
push ebx
mov ebx, ecx
cmp dword [ebx + 0x14], 1
mov dword [ebp - 0x10], ebx
mov byte [ebx + 0x28], al
je 0x4a2fe8
push esi
push edi
test al, al
je 0x4a2f3f
mov edi, dword [ebx + 0x244]
mov byte [ebx + 0x24], 0
mov word [ebx + 0x29], 0
call fcn.004a23e0
mov eax, dword [ebx + 4]
call fcn.0049bb80
mov esi, dword [ebx + 0x78]
sub esi, dword [ebx + 0x74]
xor eax, eax
sar esi, 2
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test esi, esi
jle 0x4a2fcb
mov ecx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4a2fc0
cmp dword [edi + 0x14], 1
je 0x4a2fc0
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
push eax
mov ecx, edi
call edx
cmp byte [ebp + 8], 0
je 0x4a2fc0
mov eax, dword [ebx + 0x1a0]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4a2fb5
mov esi, dword [edi + 4]
add esi, 0x6c
call fcn.004592c0
cmp dword [ebx + 0x198], 0
je 0x4a2fb2
mov edi, dword [edi + 8]
mov esi, dword [ebp - 0xc]
lea ebx, [ebx + 0x198]
call fcn.0049ba70
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
push 0
mov ecx, edi
call edx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x4a2f54
cmp byte [ebp + 8], 0
pop edi
pop esi
jne 0x4a2fe8
cmp byte [ebx + 0x24], 0
jne 0x4a2fe8
mov eax, dword [ebx + 0x1a0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a38d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
lea ebx, [edi + 0x258]
push ebx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a3a23
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
lea eax, [edi + 0x230]
lea esi, [ebp - 0x24]
call fcn.0045cbb0
mov ecx, 1
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
jne 0x4a399c
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4a3962
mov eax, 0x104
lea ecx, [ebp - 0x24]
call fcn.004593e0
mov esi, dword [ebp - 0x24]
mov edx, dword [edi + 0x1a0]
push 0x104
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e26e4
add esp, 8
test eax, eax
js 0x4a3a41
cmp eax, dword [esi - 8]
jg 0x4a3a41
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4a3a10
mov edx, dword [0x553e04]
mov eax, dword [ebp - 0x28]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x244]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x190]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0x22c], 0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
jne 0x4a39f2
sub dword [ebp - 0x20], 0x10
push 0x24
lea ecx, [ebp - 0x20]
push ecx
push 0xffffffffffffffff
push esi
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [ebp - 0x2c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00459050
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00459fc0
int3
Function at 0x4ab370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x508e08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ebx
push edx
mov edx, dword [ebp + 8]
push edi
push eax
push edx
call fcn.004a8ec0
lea esi, [esp + 0x10]
call fcn.00459030
xor eax, eax
mov dword [esp + 0x30], eax
push 0x5239b4
push edi
mov edi, esi
mov dword [ebx + 0x1a4], eax
call fcn.004add70
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push 0x5239d0
push esi
call edi
test eax, eax
je 0x4ab3ff
or dword [ebx + 0x1a4], 0x20000
push 0x5239d8
push esi
call edi
test eax, eax
je 0x4ab415
or dword [ebx + 0x1a4], 0x10000
mov esi, dword [ebp + 0x10]
push str.position
lea edi, [ebx + 0x58]
push esi
call fcn.004add70
mov edi, dword [edi]
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.004ae170
mov ecx, dword [eax]
mov dword [ebx + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x50], ecx
mov edx, dword [eax + 0xc]
lea eax, [ebx + 0x70]
push eax
push str.BackColor
push esi
mov dword [ebx + 0x54], edx
call fcn.004ade30
push 1
push str.Hide
push str.visible
push esi
call fcn.004adbb0
test al, al
sete cl
xor eax, eax
mov byte [ebx + 0x19], cl
push esi
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.004adef0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x198], edx
mov dword [eax + 0x19c], ecx
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00459050
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4abc30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
jne 0x4abc43
xor al, al
pop edi
pop ebp
ret 4
mov al, byte [ebp + 8]
push ebx
push esi
mov byte [edi + 0x26], al
mov esi, dword [edi + 0x78]
sub esi, dword [edi + 0x74]
xor ebx, ebx
sar esi, 2
test al, al
jne 0x4abc90
test esi, esi
jle 0x4abcbb
mov edi, edi
mov eax, dword [edi + 0x74]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x4abc82
cmp byte [eax + 0x24], 0
je 0x4abc82
cmp dword [eax + 0x64], 0
je 0x4abc82
mov ecx, dword [eax + 0x60]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
cmp ebx, esi
jl 0x4abc60
pop esi
pop ebx
mov al, 1
pop edi
pop ebp
ret 4
test esi, esi
jle 0x4abcbb
mov edx, dword [edi + 0x74]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x4abcb6
cmp byte [eax + 0x24], 0
je 0x4abcb6
cmp dword [eax + 0x64], 0
je 0x4abcb6
mov eax, dword [eax + 0x60]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
cmp ebx, esi
jl 0x4abc94
pop esi
pop ebx
mov al, 1
pop edi
pop ebp
ret 4
Function at 0x4ac760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 4], 0
mov al, byte [ebp + 8]
push ebx
push edi
mov ebx, ecx
mov byte [ebp - 0x119], al
mov edi, edx
jne 0x4ac7b0
lea ecx, [ebp - 0x118]
push ecx
mov byte [esi + 4], 1
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x4ac7b0
mov byte [esi + 5], 1
test edi, edi
je 0x4ac7ba
cmp word [edi], 0
jne 0x4ac7bf
mov edi, 0x523bd8
test ebx, ebx
jne 0x4ac7c8
mov ebx, 0xd
movzx edx, byte [ebp - 0x119]
push edi
push 0
push 2
push 0
push 0
push 0x86
push 0
push 0
neg edx
push 0
sbb edx, edx
and edx, 0x2bc
push edx
push 0
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004e0040
mov esp, ebp
pop ebp
ret 4

Function at 0x4b0390
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 4]
sub esp, 8
push edi
xor edi, edi
cmp eax, edi
je 0x4b03ac
push eax
call fcn.004e00a0
add esp, 4
mov dword [esi + 4], edi
mov eax, dword [ebp + 8]
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4b03e2
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push eax
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.004dff58
mov edx, dword [ebp - 4]
add esp, 4
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
mov edi, eax
push edi
push edx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b0465
cmp dword [edi], 0x2e66622e
jne 0x4b0465
cmp dword [edi + 0x3c], 0x10000
jne 0x4b0465
cmp dword [edi + 0x40], 1
jne 0x4b0465
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
cmp dword [edi + 0xfc], 0
je 0x4b045f
mov eax, dword [edi + 0xf8]
lea eax, [eax + edi + 0x100]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 4]
lea eax, [ecx + eax + 8]
mov dword [esi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x4b0472
test edi, edi
je 0x4b0472
push edi
call fcn.004e00a0
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 0xb]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4