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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce538
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x608]
mov byte [esi + 0x814], 1
push 0
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x7f8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
mov ecx, dword [esi + 0x604]
push 0
call fcn.00426dd0
mov ecx, dword [esi + 0x5f8]
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x18], xmm0
call fcn.004496a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43744c
call fcn.00480aa0
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x43748d
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x43748d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x43748d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret

Function at 0x4378d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x14]
jne 0x437926
cmp dword [ebp + 0xc], 2
push ecx
mov ecx, dword [esi + 4]
sete al
movzx eax, al
add ecx, 0x150
push eax
call fcn.00435de0
lea ecx, [eax + 0xb0]
call fcn.00438100
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 0
jne 0x4379b8
mov ecx, dword [esi + 0x208]
test ecx, ecx
je 0x4379cd
mov eax, dword [ecx + 0x490]
add ecx, 0x490
mov eax, dword [eax + 0x90]
call eax
test al, al
je 0x4379cd
lea eax, [esp + 4]
xorps xmm0, xmm0
push eax
push dword [esi - 0x5ec]
movdqu xmmword [esp + 0xc], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x208]
call fcn.00427df0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub eax, edx
mov ecx, dword [esp + 4]
push 0x54
push eax
mov eax, dword [esp + 0x14]
sub eax, ecx
push eax
mov eax, dword [esi + 0x208]
push edx
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x208]
test eax, eax
je 0x4379cd
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4379e0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x7f8]
mov eax, dword [eax + 0x5e4]
mov ecx, dword [eax + 0x164]
add ecx, 0x150
call fcn.00441900
mov edx, eax
mov eax, 0x90b
movzx ecx, word [edx + 0x10e]
movzx edi, word [edx + 0x10c]
shl ecx, 0x10
or ecx, 0x90b
mov dword [edx + 0x10c], ecx
cmp di, ax
je 0x437a36
mov eax, dword [edx]
mov ecx, edx
push edi
call dword [eax + 0x84]
mov ecx, dword [esi + 0x7f8]
call fcn.00427df0
mov eax, dword [esi + 0x7f8]
push ecx
push 0
mov ecx, dword [eax + 0x5e4]
mov ecx, dword [ecx + 0x170]
call fcn.00426dd0
mov eax, dword [esi + 0x7f8]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x608]
push 1
mov eax, dword [ecx]
call dword [eax + 0xb4]
pop edi
xor eax, eax
pop esi
pop ecx
ret 0x10

Function at 0x437f80
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce660
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x608]
push 0
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov eax, dword [ebx + 0x7f8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call fcn.00424d30
mov ecx, dword [0x518dd0]
add esp, 4
add ecx, 0xb4
push 0
mov eax, dword [ecx]
push str.main_fail_quit
call dword [eax + 4]
test eax, eax
je 0x4380dc
lea esi, [ebx + 0x650]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x63c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4380d4
mov ecx, dword [ebx + 0x720]
sub ecx, 0x10
call fcn.00407b40
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x4df3d0
push eax
mov dword [ebp - 4], 0
call fcn.0048ccf3
add esp, 8
test eax, eax
sete al
test al, al
je 0x4380a1
mov edx, dword [ebx + 0x708]
push ecx
push 0
push ecx
mov edx, dword [edx + 0x20]
lea ecx, [ebp - 0x30]
call fcn.00476ed0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x438071
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406650
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x10
jb 0x43808f
push dword [ebp - 0x30]
call fcn.0048b08b
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
push 0
push 0
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00425490
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4380d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 4
Function at 0x438930
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce698
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push 0x19
push str.WorkerThreadLog:
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00407ba0
mov dword [esp + 0x38], 0
cmp byte [esi], 0
jne 0x4389a1
xor ecx, ecx
jmp 0x4389af
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4389a6
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00422a90
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4389dc
mov eax, dword [ecx]
push esi
call dword [eax + 4]
cmp dword [esp + 0x24], 0x10
jb 0x4389ef
push dword [esp + 0x10]
call fcn.0048b08b
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 4
Function at 0x43c100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd638
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ebx, [ecx + 0x28]
mov dword [esp + 0x28], eax
mov ecx, ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
push eax
call fcn.00411100
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x519b84
call edi
mov eax, dword [ebx + 0x44]
mov ebx, dword [ebx + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x519b84
mov dword [esp + 0x24], eax
call esi
push 0x519b84
call edi
mov eax, dword [esp + 0x14]
push 0x519b84
mov edi, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x28], eax
call esi
mov dword [esp + 0x14], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040f7f0
sub esp, 0x10
movd xmm0, ebx
mov ebx, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [esp + 0x24]
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
push dword [esi + 4]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipFillRectangle]
test eax, eax
je 0x43c202
mov dword [ebx + 4], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
movss xmm2, dword [0x4e89d4]
lea ecx, [esp + 0x14]
push 0xff808080
mov dword [esp + 0x18], 0
call fcn.0040ef00
cvttss2si ecx, dword [esp + 0x1c]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push ecx
addss xmm0, dword [esp + 0x1c]
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push eax
push ebx
call fcn.0040f010
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43c26a
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push esi
call dword [sym.imp.gdiplus.dll_GdipFree]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43fa60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
mov byte [ebp - 0x404], 0
push 0
push eax
call fcn.0048f5e0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x3ff
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfA]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret

Function at 0x43fad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
mov ebx, ecx
push esi
push edi
push 0x4e30f4
push eax
mov esi, edx
call fcn.0048c21e
mov edi, eax
add esp, 8
test edi, edi
jne 0x43fb0b
push 0x4e30e4
call fcn.0048c0ab
add esp, 4
or esi, 0xffffffff
jmp 0x43fb20
push edi
push 1
push esi
push ebx
call fcn.0048c6e1
push edi
mov esi, eax
call fcn.0048c8c9
add esp, 0x14
cmp dword [ebp + 0x1c], 0x10
jb 0x43fb31
push dword [ebp + 8]
call fcn.0048b08b
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x43fb40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ceb58
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movsd qword [ebp - 0x24], xmm2
movsd qword [ebp - 0x1c], xmm1
movsd qword [ebp - 0x14], xmm0
push 0x320ea0
mov dword [ebp - 4], 0
call fcn.0048d22b
mov edi, eax
add esp, 4
test edi, edi
je 0x43fc86
push 0x320ea0
push 0
push edi
call fcn.0048f5e0
movsd xmm0, qword [ebp - 0x14]
add esp, 0xc
mulsd xmm0, qword [0x4e8ad8]
call fcn.004c8541
movsd xmm0, qword [ebp - 0x1c]
mov esi, eax
mulsd xmm0, qword [0x4e8ad8]
mov dword [edi + 0x320e70], esi
call fcn.004c8541
movsd xmm1, qword [ebp - 0x24]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
mov dword [edi + 0x320e74], eax
push 0
push str._010d_65535_f__n
mov dword [edi + 0x320e7c], 0
movsd qword [edi + 0x320e88], xmm1
mulsd xmm1, qword [0x4e8a70]
addsd xmm0, qword [esi*8 + 0x4e8e50]
mulsd xmm1, qword [0x4e8ad8]
subsd xmm0, xmm1
movsd qword [edi + 0x320e90], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e8e50]
lea eax, [edi + 0x199cd8]
push eax
subsd xmm0, xmm1
movsd qword [edi + 0x320e98], xmm0
call fcn.0048d18b
push 0xff
push 0xff
lea eax, [edi + 0xc]
push str.__PDF_1.4_n___cJpeg2PDF_Engine_By:_HH__ihaohu_gmail.com__c_n
push eax
call fcn.0048d18b
add esp, 0x1c
mov dword [edi + 0x320e80], 0
add dword [edi + 0x320e7c], eax
mov dword [edi + 0x320e78], 2
lea esi, [edi + 0xc]
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x43fc90
push 0xffffffffffffffff
mov byte [ebp - 0x3c], al
sub esi, ecx
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x28], 0xf
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
call fcn.00407670
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0x4e30f4
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.0048c21e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43fce8
push 0x4e30e4
call fcn.0048c0ab
add esp, 4
jmp 0x43fcfe
push ebx
push 1
lea eax, [edi + 0xc]
push esi
push eax
call fcn.0048c6e1
push ebx
call fcn.0048c8c9
add esp, 0x14
cmp dword [ebp - 0x28], 0x10
jb 0x43fd0f
push dword [ebp - 0x3c]
call fcn.0048b08b
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x43fd20
push dword [ebp + 8]
call fcn.0048b08b
add esp, 4
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
Function at 0x459ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde68
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push dword [esi + 0x150]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x7c8]
test edi, edi
je 0x459d61
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0045d4c0
mov dword [ebp - 4], 0
mov ecx, edi
mov edx, dword [edi]
push esi
push dword [eax]
call dword [edx + 0x18]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x459d61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
mov ecx, esi
call fcn.004112d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45bda0
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_GetWindowTextLengthA]
lea edi, [eax + 1]
test edi, edi
js 0x45be1a
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x45bdd5
push edi
mov ecx, esi
call fcn.00407ad0
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x45bdfd
mov ecx, dword [esi]
test ecx, ecx
je 0x45be01
push dword [ecx - 8]
push ecx
call fcn.0048bc86
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x45be1a
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x45be1a
mov dword [eax - 0xc], ecx
mov eax, dword [esi]
mov byte [ecx + eax], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00401330
int3

Function at 0x45c0e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov dword [eax], 0
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45c12f
cmp byte [esi + 0x4d], 0
jne 0x45c12f
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call edi
push 0
push 0
push 0x4d0
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x45d4c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cffb3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x50d4cc]
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 edi, ecx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
call fcn.00401910
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45d519
push 0x80004005
call fcn.00401330
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push dword [edi + 0x72c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax*2 + 2]
test edi, edi
jns 0x45d54c
push 0x80070057
call fcn.00401330
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45d569
push edi
lea ecx, [ebp - 0x14]
call fcn.00427310
mov esi, dword [ebp - 0x14]
cmp edi, dword [esi - 8]
jg 0x45d542
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x18]
push edi
push esi
push dword [eax + 0x72c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi - 8]
push esi
call fcn.0048e0c8
add esp, 8
test eax, eax
js 0x45d542
cmp eax, dword [esi - 8]
jg 0x45d542
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x9c]
push 3
mov dword [ebx], ecx
lea ecx, [ebp - 0xa0]
push esi
mov dword [ebp - 0xa0], eax
call fcn.0045d3f0
mov byte [ebp - 4], 1
mov ecx, ebx
push dword [ebp - 0xa0]
call fcn.00406580
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
cmp eax, ecx
je 0x45d5ec
push eax
call fcn.0048b8d4
add esp, 4
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45d60d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.0048b090
mov esp, ebp
pop ebp
ret 4
Function at 0x45e170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
push 0
mov edi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x45e223
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x45e1a0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
push ebx
push esi
push 3
lea eax, [ebp - 0x100]
push 0
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x104], eax
call fcn.0040f450
mov ebx, dword [ebp - 0x104]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x45e1f4
lea ecx, [esi + 4]
xorps xmm0, xmm0
push ecx
movdqu xmmword [esi], xmm0
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [esi + 8], eax
jmp 0x45e1f6
xor esi, esi
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x100]
mov dword [edi + 4], esi
pop esi
pop ebx
cmp eax, ecx
je 0x45e214
push eax
call fcn.0048b8d4
add esp, 4
xor eax, eax
cmp dword [edi + 4], eax
pop edi
setne al
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x460e60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d03d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00461700
push 0x6b
mov dword [ebp - 4], 0
push dword [0x517648]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
push esi
push 1
push 0x80
push dword [edi + 4]
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x4e5960
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [edi + 0x660]
push 0
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov ecx, dword [edi + 0x664]
push 0
mov eax, dword [ecx]
call dword [eax + 0xb4]
add edi, 0x490
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x28]
call fcn.0040f260
push 1
push eax
push edi
lea ecx, [edi + 0x130]
call fcn.0040f590
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.MainThreadID:__d
call fcn.004265f0
add esp, 8
test esi, esi
je 0x460f2a
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret
Function at 0x4645d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0578
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
add ebx, 0x28
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ebx
push eax
mov ecx, ebx
call fcn.00411100
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x519b84
call esi
mov eax, dword [ebx + 0x44]
mov ebx, dword [ebx + 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x519b84
mov dword [esp + 0x2c], eax
call edi
push 0x519b84
call esi
mov eax, dword [esp + 0x14]
push 0x519b84
mov esi, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x30], eax
call edi
mov dword [esp + 0x1c], 0xfff7f7f7
mov dword [esp + 0x14], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x40], 0
push eax
lea ecx, [esp + 0x18]
call fcn.0040f7f0
mov edi, dword [esp + 0x18]
sub esp, 0x10
mov dword [esp + 0x50], 0xffffffff
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, esi
mov esi, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push dword [esi + 4]
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipFillRectangle]
test eax, eax
je 0x4646e0
mov dword [edi + 4], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
movss xmm2, dword [0x4e89d4]
lea ecx, [esp + 0x14]
push 0xffb4b4b5
mov dword [esp + 0x18], 0
call fcn.0040ef00
cvttss2si eax, dword [esp + 0x20]
cvttss2si edx, dword [esp + 0x24]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x28], edx
addss xmm0, dword [esp + 0x24]
cvttss2si ecx, xmm0
push ecx
push eax
push edx
push eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
push edi
call fcn.0040f010
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.gdiplus.dll_GdipDeletePen]
test esi, esi
je 0x464752
push dword [esi]
call ebx
push esi
call dword [sym.imp.gdiplus.dll_GdipFree]
movss xmm0, dword [esp + 0x20]
lea ecx, [esp + 0x14]
movss xmm2, dword [0x4e89d4]
addss xmm0, xmm2
mov dword [esp + 0x14], 0
push 0xffe1e1e1
movss dword [esp + 0x1c], xmm0
call fcn.0040ef00
cvttss2si eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push dword [esp + 0x1c]
push eax
push dword [esp + 0x30]
push eax
push edi
call fcn.0040f010
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4647ad
push dword [esi]
call ebx
push esi
call dword [sym.imp.gdiplus.dll_GdipFree]
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 8