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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00439c90
cmp eax, 0xc0
jl 0x43b26a
movsd xmm0, qword [0x4a70b0]
jmp 0x43b292
cmp eax, 0x90
jl 0x43b27b
movsd xmm0, qword [0x4a70a8]
jmp 0x43b292
cmp eax, 0x78
jl 0x43b28a
movsd xmm0, qword [0x4a70a0]
jmp 0x43b292
movsd xmm0, qword [0x4a7098]
mov esi, dword [0x4bbe14]
lea eax, [ebp - 0x64c]
movsd qword [0x4c1060], xmm0
add esi, 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x64c], 0x4a40f4
push esi
movups xmmword [ebp - 0x648], xmm0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x614], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x4c1008]
mov dword [ebp - 0x610], eax
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x610]
push eax
call fcn.0040ad00
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsd xmm1, qword [0x4c1060]
lea ecx, [ebp - 0x60c]
movaps xmm0, xmm1
mov dword [ebp - 0x14], 0
mulsd xmm0, qword [0x4a71a0]
mov dword [ebp - 0x10], 0
mulsd xmm1, qword [0x4a7178]
cvttsd2si eax, xmm0
mov dword [ebp - 0xc], eax
cvttsd2si eax, xmm1
mov dword [ebp - 8], eax
call fcn.004077c0
push dword [ebp - 0x610]
lea eax, [ebp - 0x5ec]
push eax
push 0x4b92d8
push 0x4bbe88
push 0x4c1150
call fcn.004060e0
add esp, 0x14
movzx eax, ax
lea ecx, [ebp - 0x60c]
push 0
push eax
push 0
push 0x8000088
push 0x94000000
push 0x4a7890
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.004399a0
cmp byte [0x4c103c], 0
jne 0x43b3bb
cmp byte [0x4c1040], 0
jne 0x43b44c
cmp byte [0x4c1039], 0
je 0x43b46c
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x608]
call esi
push 0
push dword [ebp - 0x5dc]
call esi
lea ecx, [ebp - 0x64c]
call fcn.0042e9e0
mov ecx, 0x4c0fd4
mov esi, eax
call fcn.0043b170
lea ecx, [ebp - 0x60c]
call fcn.00409190
mov eax, dword [ebp - 0x63c]
test eax, eax
je 0x43b414
push eax
call fcn.004688d5
add esp, 4
mov dword [ebp - 0x63c], 0
mov eax, dword [ebp - 0x648]
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 0
test eax, eax
je 0x43b43b
push eax
call fcn.004688d5
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004495f3
mov esp, ebp
pop ebp
ret
cmp byte [0x4c1039], 0
je 0x43b46c
mov eax, dword [0x4c110c]
cmp eax, 2
je 0x43b3bb
cmp eax, 1
je 0x43b3bb
cmp byte [0x4c103a], 0
jne 0x43b3bb
cmp byte [0x4c103d], 0
jne 0x43b3bb
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebp - 0x608]
call esi
push 5
jmp 0x43b3cd
Function at 0x43b4c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x43b4d9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b4e5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x43b4e0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x43b535
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b540
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x43c6d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x43c865
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x414]
test esi, esi
jne 0x43c71f
push 0x410
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x43c727
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0
push eax
lea eax, [ebp - 0x414]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43c832
push ebx
push 2
mov dword [ebp - 0x428], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x414]
push esi
push ebx
push dword [ebp - 0x41c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x4a4054
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x42c]
mov si, word [eax + 0x12]
mov dx, word [eax + 0x10]
mov cx, word [eax + 0x16]
mov ax, word [eax + 0x14]
movzx eax, ax
mov dword [ebp - 0x420], eax
push dword [ebp - 0x420]
movzx eax, cx
push eax
movzx ebx, dx
push ebx
movzx esi, si
push esi
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x424]
push str._d._d._d._d
push eax
call fcn.0041ad10
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jg 0x43c82e
mov eax, dword [ebp + 0x10]
jne 0x43c804
cmp ebx, eax
jg 0x43c82e
cmp esi, ecx
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x418]
jne 0x43c817
cmp ebx, eax
jne 0x43c817
cmp edi, edx
jg 0x43c82e
cmp esi, ecx
jne 0x43c832
cmp ebx, eax
jne 0x43c832
cmp edi, edx
jne 0x43c832
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp + 0x18]
jl 0x43c832
mov bl, 1
jmp 0x43c834
xor bl, bl
mov esi, dword [ebp - 0x424]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43c852
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004495f3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402080
int3
Function at 0x43d150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0044c180
add esp, 0xc
mov dword [ebp - 0x58], 0x44
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 5
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00403380
add esp, 4
cmp dword [eax + 0xc], 1
lea esi, [eax + 0x10]
mov dword [ebp - 4], esi
jle 0x43d1b9
push dword [esi - 0xc]
lea ecx, [ebp - 4]
call fcn.00402190
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43d1df
xor edi, edi
jmp 0x43d1f4
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x10]
call edi
mov edi, 1
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d20e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x43d226
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43dce0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x43de06
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x43dd2d
push 0x208
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x43dd35
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x214], eax
test eax, eax
je 0x43ddf4
push edi
push eax
push 2
mov dword [ebp - 0x218], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x20c]
push esi
push dword [ebp - 0x214]
push dword [ebp - 0x210]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x4a4054
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x21c]
mov si, word [eax + 0x12]
mov dx, word [eax + 0x10]
mov cx, word [eax + 0x16]
mov ax, word [eax + 0x14]
movzx eax, ax
push eax
movzx eax, cx
push eax
movzx eax, dx
push eax
movzx eax, si
push eax
push str._d._d._d._d
push ebx
call fcn.0041ad10
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004495f3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402080
int3
Function at 0x43de20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43de46
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x43dea5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x43dea5
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x43de89
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
jne 0x43deae
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push eax
call fcn.0044bc00
add esp, 0xc
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
xor edi, edi
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x43df16
mov eax, dword [ebp + 8]
push 0x10
mov dword [ebp - 4], eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x43df08
lea eax, [edi + 4]
mov dword [edi], vtable.Gdiplus::Image.0
push eax
push dword [ebp - 4]
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [edi + 8], eax
jmp 0x43df0a
xor edi, edi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call ebx
push esi
call ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43df30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0044c180
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], str.runas
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], 5
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
Function at 0x440420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
test ebx, ebx
jne 0x440448
push ebx
push ebx
push ebx
push 2
call fcn.00443400
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [edi + 0x18]
test esi, esi
je 0x44045f
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x440450
push 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 0
push ebx
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.0046dc21
push ebx
call fcn.0046f80f
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 4], esi
call fcn.0046dc21
add esp, 0x1c
test esi, esi
jg 0x4404bb
push 0
push 0
push 0
push 0xc
mov ecx, edi
call fcn.00443400
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esi + 1]
push eax
call fcn.00448f65
push dword [ebp + 8]
mov ebx, eax
push 1
push esi
push ebx
mov byte [ebx], 0
call fcn.00457095
add esp, 0x14
cmp eax, 1
je 0x440500
push ebx
call fcn.00448f6e
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.00443400
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 3
je 0x44051a
cmp byte [ebx], 0xff
jne 0x440511
cmp byte [ebx + 1], 0xfe
je 0x44051a
mov byte [edi + 0x45], 0
jmp 0x4405e7
mov eax, esi
mov dword [ebp + 0xc], 0
cdq
xor ecx, ecx
sub eax, edx
mov byte [edi + 0x45], 1
mov esi, eax
mov edx, 2
sar esi, 1
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00448f65
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push 0
push edi
mov dword [ebp + 8], edi
call fcn.0044c180
add esp, 0x10
cmp byte [ebx], 0xff
jne 0x440577
cmp byte [ebx + 1], 0xfe
jne 0x440577
mov eax, dword [ebp - 4]
add eax, 0xfffffffe
push eax
lea eax, [ebx + 2]
push eax
jmp 0x44057c
mov eax, dword [ebp - 4]
push eax
push ebx
push edi
call fcn.0044bc00
add esp, 0xc
push ebx
call fcn.00448f6e
add esp, 4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0xfde9
call edi
mov dword [ebp - 4], eax
lea esi, [eax + 1]
push esi
call fcn.00448f65
push esi
mov ebx, eax
push 0
push ebx
call fcn.0044c180
mov esi, dword [ebp - 4]
add esp, 0x10
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call edi
push dword [ebp + 8]
call fcn.00448f6e
mov edi, dword [ebp - 8]
add esp, 4
mov byte [ebx + esi], 0
mov eax, ebx
cmp byte [ebx], 0
mov ecx, ebx
je 0x440612
mov dl, byte [eax]
mov esi, eax
cmp dl, 0xd
jne 0x440609
inc eax
mov byte [ecx], 0xa
cmp byte [eax], 0xa
cmovne eax, esi
jmp 0x44060b
mov byte [ecx], dl
inc eax
inc ecx
cmp byte [eax], 0
jne 0x4405f4
push dword [ebp + 0xc]
mov byte [ecx], 0
mov ecx, edi
mov eax, dword [edi]
push 0
push ebx
call dword [eax + 8]
push ebx
call fcn.00448f6e
add esp, 4
cmp byte [edi + 0x2c], 0
sete al
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x441110
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x44], 0
je 0x44114c
cmp byte [esi + 0x45], 0
jne 0x44114c
push ebx
push 0xef
call fcn.0046f0e8
push ebx
push 0xbb
call fcn.0046f0e8
push ebx
push 0xbf
call fcn.0046f0e8
add esp, 0x18
mov eax, dword [esi]
mov ecx, esi
push 0
push ebx
call dword [eax + 4]
cmp byte [esi + 0x45], 0
je 0x441264
push 2
push 0
push ebx
call fcn.0046dc21
push ebx
call fcn.0046f80f
push 0
push 0
push ebx
mov edi, eax
call fcn.0046dc21
add esp, 0x1c
test edi, edi
jle 0x4411b3
lea eax, [edi + 1]
push eax
call fcn.00448f65
push ebx
mov esi, eax
push 1
push edi
push esi
mov dword [ebp - 4], esi
mov byte [esi], 0
call fcn.00457095
add esp, 0x14
mov byte [esi + edi], 0
cmp eax, 1
je 0x4411be
push esi
call fcn.00448f6e
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00448f65
lea ecx, [esi + esi]
mov dword [ebp + 8], eax
push ecx
push 0
push eax
call fcn.0044c180
add esp, 0x10
push esi
push dword [ebp + 8]
mov esi, dword [ebp - 4]
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
push esi
call fcn.00448f6e
push 0
push 0
push ebx
call fcn.0046dc21
push ebx
push 0xff
call fcn.0046f0e8
push ebx
push 0xfe
call fcn.0046f0e8
mov esi, dword [ebp + 8]
add esp, 0x20
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441242
sub ecx, edx
push ebx
sar ecx, 1
push ecx
push 2
push esi
call fcn.0046deda
push esi
call fcn.00448f6e
add esp, 0x14
push ebx
call fcn.0046f06f
add esp, 4
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4447a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp + 0x10]
lea ebx, [esi + 0x3c]
push dword [ebp + 0xc]
mov dword [ebp - 0xb0], ebx
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.UxTheme.dll_GetThemeBackgroundContentRect]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x14]
push eax
push 0xe12
push dword [ebp + 0x10]
movups xmmword [ebp - 0x24], xmm0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.UxTheme.dll_GetThemeMargins]
mov ecx, dword [ebp - 0x24]
add dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x20]
push dword [esi + 4]
sub dword [ebp - 0xc], ecx
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
jle 0x44491e
inc ebx
mov dword [ebp - 0xa8], 0
mov eax, ebx
mov ecx, 2
mul ecx
test edx, edx
jne 0x444958
cmp eax, 0xffffffff
ja 0x444958
cmp eax, 0x80
jbe 0x444867
push eax
lea ecx, [ebp - 0xa8]
call fcn.00443f10
mov eax, dword [ebp - 0xa8]
jmp 0x444873
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test edi, edi
jne 0x444891
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
push 0x3c
mov esi, eax
mov dword [ebp - 0xf0], 0x40
lea eax, [ebp - 0xec]
push 0
push eax
call fcn.0044c180
mov eax, dword [ebp + 0x24]
add esp, 0xc
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0xb0]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xa8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00444b40
push esi
push dword [ebp + 8]
movzx eax, al
mov dword [ebp - 0xac], eax
call edi
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0xa8], eax
je 0x44491e
lea ecx, [ebp - 0xa8]
call fcn.00444cf0
cmp dword [ebp - 0xac], 0
jl 0x444943
test ebx, ebx
jle 0x444943
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004495f3
mov esp, ebp
pop ebp
ret 0x20
push 0x80070216
call fcn.00402080
int3
Function at 0x444970
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp + 0x10]
lea ebx, [esi + 0x3c]
push dword [ebp + 0xc]
mov dword [ebp - 0xb0], ebx
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.UxTheme.dll_GetThemeBackgroundContentRect]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x14]
push eax
push 0xe12
push dword [ebp + 0x10]
movups xmmword [ebp - 0x24], xmm0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.UxTheme.dll_GetThemeMargins]
mov ecx, dword [ebp - 0x24]
add dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x20]
push dword [esi + 4]
sub dword [ebp - 0xc], ecx
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
jle 0x444aee
inc ebx
mov dword [ebp - 0xa8], 0
mov eax, ebx
mov ecx, 2
mul ecx
test edx, edx
jne 0x444b28
cmp eax, 0xffffffff
ja 0x444b28
cmp eax, 0x80
jbe 0x444a37
push eax
lea ecx, [ebp - 0xa8]
call fcn.00443f10
mov eax, dword [ebp - 0xa8]
jmp 0x444a43
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test edi, edi
jne 0x444a61
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
push 0x3c
mov esi, eax
mov dword [ebp - 0xf0], 0x40
lea eax, [ebp - 0xec]
push 0
push eax
call fcn.0044c180
mov eax, dword [ebp + 0x24]
add esp, 0xc
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0xb0]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xa8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00444bd0
push esi
push dword [ebp + 8]
movzx eax, al
mov dword [ebp - 0xac], eax
call edi
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0xa8], eax
je 0x444aee
lea ecx, [ebp - 0xa8]
call fcn.00444cf0
cmp dword [ebp - 0xac], 0
jl 0x444b13
test ebx, ebx
jle 0x444b13
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004495f3
mov esp, ebp
pop ebp
ret 0x20
push 0x80070216
call fcn.00402080
int3
Function at 0x444ea0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0044c180
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444efd
cmp dword [ebp - 0x114], 6
jb 0x444efd
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret

Function at 0x4857e7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004853ec

Function at 0x4857f2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048556d

Function at 0x48ecd7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048e4b1

Function at 0x48ece2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048e6ec

Function at 0x48fb78
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048f96c