joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496a00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4c206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041d700
mov ecx, eax
test ecx, ecx
je 0x42ccf7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42cb8f
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0041db00
mov esi, dword [ebp - 0x10]
push esi
push 1
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [esi - 8]
push esi
call fcn.00479dc7
add esp, 8
test eax, eax
js 0x42cced
cmp eax, dword [esi - 8]
jg 0x42cced
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x10]
call fcn.00401890
mov ebx, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, esi
cmp eax, ebx
je 0x42ccb9
lea eax, [esi + 0xc]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.00422b90
mov byte [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], edi
call fcn.0041d700
test eax, eax
je 0x42ccf7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x4ab460
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0041d970
test al, al
jne 0x42cc31
push 0
push 0x4ab460
mov ecx, edi
call fcn.0041dc20
push ecx
mov byte [ebp - 4], 3
mov edi, esp
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x20], esp
call fcn.0041d470
add eax, 0x10
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 4
mov edi, esp
mov ecx, dword [esi + 0x10]
sub ecx, 0x10
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], edi
call fcn.0041d470
add eax, 0x10
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 5
mov edi, esp
mov ecx, dword [esi + 8]
sub ecx, 0x10
mov dword [ebp - 0x28], edi
call fcn.0041d470
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
call fcn.0042ad70
mov byte [ebp - 4], 0
add esp, 0x10
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ccb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov esi, eax
jmp 0x42cbd3
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42ccdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041dc00
push 0x80004005
call fcn.0041dc00
int3
Function at 0x42cd10
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496a30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0041d700
mov ecx, eax
test ecx, ecx
je 0x42ce93
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42cd7f
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0041db00
mov esi, dword [ebp - 0x14]
push esi
push 1
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [esi - 8]
push esi
call fcn.00479dc7
add esp, 8
test eax, eax
js 0x42ce89
cmp eax, dword [esi - 8]
jg 0x42ce89
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x14]
call fcn.00401890
mov ecx, dword [edi + 4]
or ebx, 0xffffffff
mov dword [ebp - 0x18], ecx
mov esi, dword [ecx]
mov eax, esi
nop dword [eax]
cmp eax, ecx
je 0x42ce58
add eax, 0xc
lea edx, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00422b90
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ce2e
test al, 0x10
je 0x42ce25
push ecx
mov ecx, dword [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x1c], edi
lea ecx, [ecx - 0x10]
call fcn.0041d470
add eax, 0x10
mov ecx, 1
mov dword [edi], eax
call fcn.00424290
add esp, 4
jmp 0x42ce2e
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ce4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov esi, eax
mov ecx, dword [ebp - 0x18]
jmp 0x42cdd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42ce77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041dc00
push 0x80004005
call fcn.0041dc00
int3
Function at 0x433e80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movups xmm0, xmmword [ebp + 0xc]
push ebx
push esi
push edi
push dword [ebp - 8]
mov edi, ecx
lea eax, [edi + 0x20]
push eax
push 0x4c2d70
movups xmmword [edi + 0x44], xmm0
call fcn.0040c620
add esp, 8
movzx eax, ax
mov ecx, edi
push eax
push 0
push 0x80
push SysReAllocString
push 0
lea eax, [ebp + 0xc]
push eax
push 0
call fcn.00406240
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push eax
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [edi + 0x30]
push eax
call fcn.00433d70
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 4]
call ebx
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 8]
sub eax, 0
je 0x433feb
sub eax, 1
je 0x433fd4
sub eax, 1
jne 0x433ff2
mov eax, dword [edi + 0x4c]
sub eax, dword [edi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x433f43
push 0
push eax
call ebx
xor ebx, ebx
nop word [eax + eax]
push dword [edi + 4]
lea eax, [ebx + 1]
mov word [ebp - 8], 0
mov cl, al
mov byte [ebp - 5], 1
shl al, 2
add cl, al
add cl, cl
not cl
mov byte [ebp - 6], cl
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x24]
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x14
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc ebx
cmp ebx, 0x14
jl 0x433f50
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, edi
call fcn.00434190
push 0
push dword [edi + 4]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, edi
call fcn.00434010
push 0
push dword [edi + 4]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x434010
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x32
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x48]
movd xmm1, eax
mov eax, dword [edi + 0x4c]
sub eax, dword [edi + 0x44]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movss dword [ebp - 0xc], xmm1
nop dword [eax]
mov esi, dword [edi + 0x44]
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x48]
sub ecx, edx
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], ebx
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x4c]
sub eax, esi
cmp ebx, eax
jl 0x434095
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
jmp 0x4340b4
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, esi
mov dword [ebp - 0x1c], eax
cvttss2si eax, xmm0
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x48]
mov dword [ebp - 0x18], eax
push 3
push dword [edi + 0x30]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x48]
push 0xcc0020
push eax
mov eax, dword [edi + 0x4c]
sub eax, dword [edi + 0x44]
push eax
push 0
push 0
push dword [edi + 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push 0
push dword [edi + 0x30]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [edi + 4]
mov dword [ebp - 4], 0x1ff0000
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
mov dword [ebp - 0x24], 0
lea eax, [ebp - 4]
mov dword [ebp - 0x20], 0
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x30]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 8], 0
jne 0x43415c
push 0x14
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movss xmm1, dword [ebp - 0xc]
add ebx, 0x32
cmp ebx, 0x41a
jl 0x434050
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x434181
push 0x43
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x50]
sub eax, dword [ebx + 0x48]
movd xmm1, eax
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebx + 0x44]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov eax, dword [ebx + 0x3c]
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movss dword [ebp - 0x10], xmm1
test eax, eax
je 0x4341d9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movss xmm1, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x4c]
mov ecx, eax
mov edi, dword [ebx + 0x44]
sub ecx, edx
sub ecx, edi
sub eax, edi
sub eax, ecx
mov dword [ebp - 0x18], ecx
cdq
sub eax, edx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
sar eax, 1
add eax, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x50]
push 3
push dword [ebx + 0x30]
mulss xmm0, xmm1
cvttss2si esi, xmm0
sub eax, esi
mov dword [ebp - 0x14], esi
sub eax, dword [ebx + 0x48]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebx + 0x48]
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [ebx + 0x50]
sub eax, dword [ebx + 0x48]
push 0xcc0020
push eax
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebx + 0x44]
push eax
push 0
push 0
push dword [ebx + 0x24]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push 0
push dword [ebx + 0x30]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov al, byte [ebp - 8]
push dword [ebx + 4]
inc al
mov word [ebp - 4], 0
mov cl, al
mov byte [ebp - 1], 1
shl al, 2
add cl, al
add cl, cl
not cl
mov byte [ebp - 2], cl
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 4]
mov dword [ebp - 0x1c], 0
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x30]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x14
push dword [ebx + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc dword [ebp - 8]
mov edx, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x10]
add edx, 0x32
mov dword [ebp - 0xc], edx
cmp edx, 0x3e8
jl 0x4341e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4372a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4c206c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
push edi
cmp eax, 1
jne 0x4373dd
cmp dword [ebx + 0x34], 0
mov dword [ebx + 0x30], eax
jne 0x4372e4
or eax, 0xffffffff
jmp 0x4373b8
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x100], ebx
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0xbc], eax
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0xf8], eax
mov eax, dword [ebx + 0x8c]
mov dword [ebx + 0xc0], eax
push dword [ebx + 0xc8]
mov dword [ebx + 0xec], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x437340
push 0
push dword [ebx + 0xec]
push 0xcf
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00437510
push dword [esp + 0x10]
mov edi, dword [ebx + 0x34]
mov esi, eax
lea eax, [ebx + 0xb4]
push eax
push 0x4c2e90
call fcn.0040c620
add esp, 8
movzx eax, ax
lea ecx, [ebx + 0x94]
push eax
push 0
push 0x10000
push 0x86000000
push 0
push esi
push edi
call fcn.00406240
push dword [ebx + 0x68]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebx + 0x7c], 0
je 0x4373ab
push 5
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [ebx + 0x30], 0
mov dword [esi], eax
cmp dword [ebx + 0x30], 0
je 0x437492
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004591b7
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 3
jne 0x437442
lea eax, [esp + 0x14]
mov dword [ebx + 0x30], 1
push eax
call fcn.00437510
mov edi, eax
push 1
mov esi, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
sub ecx, esi
mov eax, dword [edi + 8]
push ecx
sub eax, edx
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push edx
push dword [ebx + 0x98]
call esi
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push 1
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push eax
push 0
push 0
push dword [ebx + 0xc8]
call esi
mov esi, dword [esp + 0xc]
mov dword [esi], 0
jmp 0x4373ba
cmp eax, 2
jne 0x437488
push dword [ebx + 0x98]
mov dword [ebx + 0x30], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x437478
push 0
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
cmp dword [ebx + 0x30], 0
jne 0x4373c4
cmp dword [ebx + 0x30], 0
jne 0x4373c4
push esi
push dword [esp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00430ad0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004591b7
mov esp, ebp
pop ebp
ret 0x14
Function at 0x437d80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4c206c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
push edi
cmp eax, 1
jne 0x437ed1
cmp dword [ebx + 0x34], 0
mov dword [ebx + 0x30], eax
jne 0x437dc4
or eax, 0xffffffff
jmp 0x437eac
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0xf8], ebx
mov dword [ebx + 0xf4], eax
mov dword [ebx + 0xbc], eax
mov eax, dword [ebx + 0x8c]
mov dword [ebx + 0xc0], eax
push dword [ebx + 0xc8]
mov dword [ebx + 0xec], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x437e14
push 0
push dword [ebx + 0xec]
push 0xcf
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00437fb0
push dword [esp + 0x10]
mov edi, dword [ebx + 0x34]
mov esi, eax
lea eax, [ebx + 0xb4]
push eax
push 0x4c2fb0
call fcn.0040c620
add esp, 8
movzx eax, ax
lea ecx, [ebx + 0x94]
push eax
push 0
push 0x80
push SysReAllocString
push 0
push esi
push edi
call fcn.00406240
mov eax, dword [ebx + 0x90]
push eax
push 0
push 0x443
push dword [ebx + 0xc8]
mov dword [ebx + 0xf0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x68]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebx + 0x7c], 0
je 0x437e9f
push 5
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [ebx + 0x30], 0
mov dword [esi], eax
cmp dword [ebx + 0x30], 0
je 0x437f86
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004591b7
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 3
jne 0x437f36
lea eax, [esp + 0x14]
mov dword [ebx + 0x30], 1
push eax
call fcn.00437fb0
mov edi, eax
push 1
mov esi, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
sub ecx, esi
mov eax, dword [edi + 8]
push ecx
sub eax, edx
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push edx
push dword [ebx + 0x98]
call esi
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push 1
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push eax
push 0
push 0
push dword [ebx + 0xc8]
call esi
mov esi, dword [esp + 0xc]
mov dword [esi], 0
jmp 0x437eae
cmp eax, 2
jne 0x437f7c
push dword [ebx + 0x98]
mov dword [ebx + 0x30], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x437f6c
push 0
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
cmp dword [ebx + 0x30], 0
jne 0x437eb8
cmp dword [ebx + 0x30], 0
jne 0x437eb8
push esi
push dword [esp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00430ad0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004591b7
mov esp, ebp
pop ebp
ret 0x14
Function at 0x439ff0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x43a06d
mov esi, dword [ebp + 8]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x43a027
push edi
mov ecx, esi
call fcn.0041db00
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x43a04e
mov ecx, dword [esi]
test ecx, ecx
je 0x43a052
push dword [ecx - 8]
push ecx
call fcn.00479dc7
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x43a06d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x43a06d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.0041dc00
int3
Function at 0x43b8da
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x49738e
call fcn.00459b1f
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x43b91c
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
push 3
push dword [ebp + 0xc]
push ecx
call dword [eax + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x43bab0
cmp dword [edi + 8], ebx
je 0x43b9d2
push 0x20
call fcn.00423db9
mov ebx, eax
pop ecx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x43b977
mov edi, dword [ebp - 0x38]
mov ecx, ebx
call fcn.0043bf1e
xor eax, eax
mov byte [ebp - 4], 4
lea esi, [ebx + 0x18]
push eax
push eax
mov dword [ebp - 0x18], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0043bfc0
mov dword [esi], eax
push edi
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.0043c5c0
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
mov edi, dword [ebp + 8]
jmp 0x43b979
xor ebx, ebx
push 0xc
mov byte [ebp - 4], 1
call fcn.00423db9
mov esi, eax
mov dword [ebp + 8], esi
pop ecx
test esi, esi
je 0x43b99d
and dword [esi + 4], 0
mov dword [esi], vtable.COutMemStream.0
mov dword [esi + 8], ebx
jmp 0x43b99f
xor esi, esi
push ebx
lea ecx, [edi - 4]
call fcn.0043be41
push esi
lea ecx, [ebp - 0x10]
call fcn.0043b54e
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x43baa4
push dword [ebp - 0x38]
mov eax, dword [ecx]
push dword [ebp + 0xc]
push dword [edi + 0x1c]
push 1
push ecx
call dword [eax + 4]
jmp 0x43baa4
push dword [ebp - 0x38]
lea edx, [edi + 0xc]
lea ecx, [ebp + 8]
call fcn.00422ac0
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
push dword [eax]
call fcn.0043bed6
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00411760
push 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0043bf5d
mov byte [ebp - 4], 9
lea edx, [ebp - 0x24]
mov ebx, dword [ebp - 0x30]
mov ecx, ebx
call fcn.0043ef22
mov edi, dword [ebp - 0x24]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ba34
mov ecx, edi
call fcn.0043ed57
push 0x18
call fcn.00423db9
mov esi, eax
mov dword [ebp + 0xc], esi
pop ecx
test esi, esi
je 0x43ba55
and dword [esi + 4], 0
mov dword [esi], vtable.COutFileStream.0
or dword [esi + 8], 0xffffffff
jmp 0x43ba57
xor esi, esi
push esi
lea ecx, [ebp - 0x10]
call fcn.0043b54e
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
push ecx
push 2
push 1
push 0x40000000
push ebx
lea ecx, [esi + 8]
call fcn.0043c60c
push edi
test al, al
jne 0x43ba97
call fcn.00459727
push ebx
call fcn.00459727
mov esi, dword [ebp - 0x10]
mov ebx, 0x80004005
pop ecx
pop ecx
jmp 0x43bab0
call fcn.00459727
push ebx
call fcn.00459727
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
mov dword [eax], ecx
lea ecx, [ebp - 0x40]
call fcn.0043c0f9
mov dword [ebp - 4], 0xb
test esi, esi
je 0x43bac9
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, ebx
call fcn.00459ae8
ret 0x10