Function at 0x424c5a
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe18
mov eax, dword [ebp + 0xc]
push ebx
dec eax
dec eax
push esi
push edi
je 0x425ab1
sub eax, 0x10e
je 0x425985
dec eax
jne 0x425b27
mov edx, dword [ebp + 0x10]
movzx ecx, dx
mov eax, 0x532
cmp ecx, eax
jg 0x425550
je 0x42534c
dec ecx
je 0x4252ad
sub ecx, 0x4bc
je 0x425253
dec ecx
je 0x425128
dec ecx
je 0x424e80
sub ecx, 0x71
jne 0x425b27
shr edx, 0x10
cmp dx, 1
jne 0x425b27
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x31
pop ecx
mov dword [ebp - 4], eax
xor ebx, ebx
mov word [ebp - 0x350], bx
xor eax, eax
lea edi, [ebp - 0x34e]
rep stosd dword es:[edi], eax
push ebx
push ebx
stosw word es:[edi], ax
push 0x188
mov edi, 0x530
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x424d4c
push ebx
push ebx
push 0x172
push 0x53a
push dword [ebp + 8]
call esi
cmp eax, ebx
je 0x424d3c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push dword [ebp + 8]
call fcn.00424823
pop ecx
pop ecx
jmp 0x425b27
push 1
push dword [ebp + 8]
call fcn.00424823
pop ecx
pop ecx
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 8]
push 0x189
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x492584]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x350]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ebx
push dword [eax]
call fcn.0045de95
test eax, eax
jne 0x425b27
push dword [ebp + 8]
mov eax, 0xe4
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call fcn.0042471e
add esp, 0x18
push eax
push ebx
push 0x172
push 0x53a
push dword [ebp + 8]
call esi
cmp eax, ebx
je 0x424dd9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0xc]
lea eax, [ebp - 0x350]
push dword [ebp + 0x10]
push eax
push str._s:__dx_d
lea eax, [ebp - 0x618]
push 0x64
push eax
call fcn.00402fb5
add esp, 0x18
lea eax, [ebp - 0x618]
push eax
push 0x539
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x10
call sub.NSCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x424e3c
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov byte [eax + 0xc], bl
mov dword [ebp - 4], eax
jmp 0x424e3f
mov dword [ebp - 4], ebx
push ebx
push dword [ebp - 8]
push 0x199
push edi
push dword [ebp + 8]
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x424e6a
cmp eax, 0xffffffff
je 0x424e6a
mov ecx, eax
call fcn.00424c45
push dword [ebp - 0x10]
call sub.NSCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 4]
push dword [ebp - 8]
push 0x19a
push edi
push dword [ebp + 8]
call esi
jmp 0x425b27
mov esi, dword [ebp + 8]
push esi
call fcn.0042489d
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x425b27
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, eax
xor eax, eax
mov word [ebp - 0xe18], bx
mov ecx, 0x1ff
lea edi, [ebp - 0xe16]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x288], bx
mov ecx, 0x81
lea edi, [ebp - 0x286]
rep stosd dword es:[edi], eax
push 0x11
stosw word es:[edi], ax
pop ecx
xor eax, eax
mov dword [ebp - 0x6c], 0x4c
mov dword [ebp - 0x68], ebx
push 0x104
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
push dword [edx]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [0x48c71c], ebx
lea eax, [ebp - 0x288]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xe18]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0x3fc
mov dword [ebp - 0x20], str..jpg
mov dword [ebp - 0x1c], str..png
mov dword [ebp - 0x18], str..gif
mov dword [ebp - 0x14], 0x477600
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x7c], 0x19a
mov dword [ebp - 0x78], 0x19b
mov dword [ebp - 0x74], 0x19c
mov dword [ebp - 0x70], 0x19d
mov dword [ebp + 8], 0x400
jne 0x42509a
mov ecx, dword [0x492560]
push 0x696d676c
push ebx
push 0x1e
mov dword [0x48c71c], 1
call fcn.00424a5f
cmp eax, ebx
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ebx
jle 0x425090
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp + 0xc]
mov ecx, dword [0x492560]
push 0x696d676c
push ebx
push 0x28
call fcn.00432393
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 0xc], ecx
je 0x425081
push 1
push ebx
push 0x12c
call fcn.00424a5f
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425081
xor esi, esi
push dword [ebp + esi*4 - 0x20]
mov ecx, dword [ebp - 4]
push ebx
push 0x32
call fcn.00424a5f
test eax, eax
je 0x42506a
push dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push dword [0x4832b0]
inc dword [ebp + 0x10]
push dword [ebp + esi*4 - 0x7c]
mov dword [eax*4 + 0x4832a0], esi
call fcn.0045ede1
add esp, 0xc
push dword [0x4832b0]
call edi
mov ecx, dword [0x4832b0]
inc eax
sub dword [ebp + 8], eax
push dword [ebp + 8]
lea eax, [ecx + eax*2]
push dword [ebp + esi*4 - 0x20]
mov dword [0x4832b0], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [0x4832b0]
call edi
mov ecx, dword [0x4832b0]
inc eax
sub dword [ebp + 8], eax
lea eax, [ecx + eax*2]
mov dword [0x4832b0], eax
inc esi
cmp esi, 4
jb 0x424ff3
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push ebx
push 0x136
call fcn.00424a5f
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jl 0x424fb6
mov eax, dword [0x4832a0]
mov dword [0x48c718], eax
mov eax, dword [0x48c718]
push 2
mov dword [ebp - 0x54], eax
pop esi
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x60], 0x48bf18
mov dword [ebp - 0x38], esi
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
je 0x425b27
mov eax, dword [ebp - 0x54]
mov dword [0x48c718], eax
lea eax, [ebp - 0xe18]
push eax
call dword [sym.imp.NSCRT.dll_wcslen]
cmp eax, 4
pop ecx
jle 0x4250e7
cmp word [ebp + eax*2 - 0xe20], 0x2e
je 0x425109
mov eax, dword [ebp - 0x54]
mov eax, dword [eax*4 + 0x48329c]
mov eax, dword [ebp + eax*4 - 0x20]
add eax, esi
push eax
push 0x400
lea eax, [ebp - 0xe18]
push eax
call fcn.0040bd1d
lea eax, [ebp - 0xe18]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call fcn.0045db83
add esp, 0x10
jmp 0x425b27
push dword [ebp + 8]
call fcn.0042489d
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
je 0x425b27
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x425b27
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x425248
push dword [ebp + 8]
lea eax, [esi + 8]
push eax
lea ecx, [esi + 4]
push ecx
push dword [ebp + 0xc]
call fcn.004248de
add esp, 0x10
push 0xa
xor eax, eax
pop ecx
push dword [ebp + 8]
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 8]
neg eax
mov dword [ebp - 0x4c], 0x28
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], 1
mov word [ebp - 0x3e], 0x20
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4251c4
mov ecx, dword [0x492574]
push eax
push 0xa
call fcn.00402f06
mov eax, dword [esi + 4]
imul eax, dword [esi + 8]
mov ecx, dword [0x492574]
shl eax, 2
push eax
push ebx
push ebx
call fcn.00424a5f
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
push dword [esi + 8]
mov dword [esi], eax
push ebx
push dword [ebp + 0xc]
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp + 8]
mov eax, 0xe4
push eax
push eax
push dword [esi + 8]
mov byte [esi + 0xc], 1
push dword [esi + 4]
push dword [esi]
call fcn.0042471e
add esp, 0x18
push eax
push ebx
push 0x172
push 0x53a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, ebx
je 0x42523a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
inc eax
jmp 0x425b29
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x425b27
push dword [ebp + 8]
call fcn.0042489d
mov esi, eax
test esi, esi
pop ecx
je 0x425b27
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x425b27
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
mov eax, dword [esi + 4]
push dword [esi + 8]
push dword [esi]
call fcn.004246aa
add esp, 0xc
mov esi, eax
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x425b27
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ebx, ebx
push ebx
push ebx
push 0x18b
mov edi, 0x530
push edi
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, ebx
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ebx
jle 0x425b27
push ebx
push dword [ebp + 0xc]
push 0x199
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esi, eax
cmp byte [esi + 0xc], bl
je 0x42533c
lea eax, [ebp - 0xe18]
push eax
push dword [ebp + 0xc]
push 0x189
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x492584]
push ebx
push ebx
push dword [esi]
lea eax, [ebp - 0xe18]
push dword [esi + 8]
push dword [esi + 4]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call fcn.0045dbd3
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 4]
jl 0x4252e8
jmp 0x425b27
push 0x7f
pop ecx
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x550], bx
lea edi, [ebp - 0x54e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7f
pop ecx
mov word [ebp - 0x280], bx
xor eax, eax
lea edi, [ebp - 0x27e]
rep stosd dword es:[edi], eax
push 0xffffffffffffffeb
push dword [ebp + 8]
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov esi, 0x100
push esi
lea ecx, [ebp - 0x550]
push ecx
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 0xc]
push 0x44b
push dword [eax]
call edi
cmp word [ebp - 0x550], bx
jne 0x4253ce
push esi
lea eax, [ebp - 0x550]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push 0x43f
push dword [eax]
call edi
push esi
lea eax, [ebp - 0x280]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push 0x440
push dword [eax]
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x550]
mov dword [ebp - 0x58], eax
push 0xb
pop ecx
lea eax, [ebp - 0x280]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x50], ebx
lea edi, [ebp - 0x4c]
push 0xbdc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
push 0x400
push dword [0x4924ec]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xfffffffe
je 0x425b27
cmp eax, ebx
jne 0x425b27
cmp dword [ebp - 0x40], ebx
je 0x425b27
cmp dword [ebp - 0x3c], ebx
je 0x425b27
push esi
call fcn.0042493e
test al, al
pop ecx
je 0x42553b
push esi
call fcn.0042489d
mov esi, eax
cmp esi, ebx
pop ecx
je 0x4254e9
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x3c]
mov dword [ebp + 0xc], ebx
push dword [ebp - 0x40]
mov dword [ebp + 0x10], ebx
call fcn.00424b8c
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x4254e9
mov eax, dword [esi]
cmp eax, ebx
je 0x4254a0
mov ecx, dword [0x492574]
push eax
push 0xa
call fcn.00402f06
push dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, 0xe4
push eax
push eax
push edx
push ecx
push edi
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov byte [esi + 0xc], 1
call fcn.0042471e
add esp, 0x18
push eax
push ebx
push 0x172
push 0x53a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, ebx
je 0x42553b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x42553b
push ebx
push ebx
push 0x188
mov edi, 0x530
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x425b27
cmp esi, ebx
je 0x42551d
mov ecx, esi
call fcn.00424c45
push esi
call sub.NSCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
push dword [ebp + 0xc]
push 0x182
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
push dword [ebp + 8]
call fcn.00424823
pop ecx
pop ecx
push dword [ebp - 0x40]
mov ecx, dword [0x492574]
push 0xa
call fcn.00402f06
jmp 0x425b27
sub ecx, 0x535
je 0x4258ff
dec ecx
je 0x4258e4
dec ecx
je 0x425666
dec ecx
jne 0x425b27
push 0x400
lea eax, [ebp - 0xe18]
push eax
push 0x14a
call fcn.0045ede1
add esp, 0xc
push 4
xor ebx, ebx
push ebx
push ebx
push 0x14b
call fcn.0045ede1
add esp, 0xc
push eax
lea eax, [ebp - 0xe18]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x425b27
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
call fcn.0042489d
cmp eax, ebx
pop ecx
mov dword [ebp + 0xc], eax
je 0x425b27
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
push ebx
push 0x188
mov edi, 0x530
push edi
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0xe18]
push ecx
push eax
push 0x189
push edi
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov word [ebp - 0xe18], bx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x492584]
lea eax, [ebp - 0xe18]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call fcn.0045e074
push ebx
push ebx
push 0x172
push 0x53a
push dword [ebp + 8]
call esi
cmp eax, ebx
je 0x42564c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp + 0xc]
call fcn.00424c45
push dword [ebp + 0xc]
call sub.NSCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
push dword [ebp - 4]
jmp 0x425975
push dword [ebp + 8]
call fcn.0042489d
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
je 0x425b27
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, eax
xor eax, eax
mov word [ebp - 0xe18], bx
mov ecx, 0x1ff
lea edi, [ebp - 0xe16]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x288], bx
mov ecx, 0x81
lea edi, [ebp - 0x286]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x11
pop ecx
xor eax, eax
mov dword [ebp - 0x6c], 0x4c
mov dword [ebp - 0x68], ebx
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
mov edi, 0x104
push edi
push dword [edx]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp word [0x48bd10], bx
lea eax, [ebp - 0x288]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xe18]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0x400
jne 0x425839
push edi
push 0x48bd10
push 0x18f
call fcn.0045ede1
add esp, 0xc
push 0x48bd10
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [0x492560]
push 0x696d676c
push ebx
lea eax, [eax*2 + 0x48bd12]
push 0x1e
mov dword [ebp - 8], eax
call fcn.00424a5f
cmp eax, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x10], ebx
jle 0x42582a
push dword [ebp + 0x10]
mov ecx, dword [0x492560]
push 0x696d676c
push ebx
push 0x28
call fcn.00432393
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x42581b
push 1
push ebx
push 0x12c
mov ecx, eax
call fcn.00424a5f
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42581b
mov dword [ebp - 0x20], str..jpg
mov dword [ebp - 0x1c], str..png
mov dword [ebp - 0x18], str..gif
mov dword [ebp - 0x14], 0x477600
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + eax*4 - 0x20]
mov ecx, dword [ebp - 4]
push ebx
push 0x32
call fcn.00424a5f
test eax, eax
je 0x425801
mov eax, dword [ebp + 0xc]
push dword [ebp + eax*4 - 0x20]
push edi
push dword [ebp - 8]
call fcn.0040bd1d
push 0x4775fc
push edi
push dword [ebp - 8]
call fcn.0040bd1d
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jb 0x4257cd
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push ebx
push 0x136
call fcn.00424a5f
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x10]
jl 0x425777
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov word [edi + eax*2 + 2], bx
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x60], 0x48bd10
mov dword [ebp - 0x38], 0x1900
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
je 0x425b27
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xe18]
push eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
call fcn.0045d438
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x425b27
mov eax, dword [esi]
cmp eax, ebx
je 0x425894
mov ecx, dword [0x492574]
push eax
push 0xa
call fcn.00402f06
push dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, 0xe4
push eax
push eax
push edx
push ecx
push edi
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov byte [esi + 0xc], 1
call fcn.0042471e
add esp, 0x18
push eax
push ebx
push 0x172
push 0x53a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, ebx
je 0x425240
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x425240
push dword [ebp + 8]
call fcn.0042493e
test al, al
pop ecx
je 0x425b27
xor ebx, ebx
push ebx
push 0x4be
jmp 0x425918
push dword [ebp + 8]
call fcn.0042493e
test al, al
pop ecx
je 0x425b27
xor ebx, ebx
push ebx
push 0x537
push 0x111
push dword [ebp + 8]
call fcn.00424c5a
test eax, eax
jne 0x425b27
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
push ebx
push 0x188
mov edi, 0x530
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x425b27
push dword [ebp + 8]
call fcn.0042489d
cmp eax, ebx
pop ecx
mov dword [ebp + 0xc], eax
je 0x425971
mov ecx, eax
call fcn.00424c45
push dword [ebp + 0xc]
call sub.NSCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
push dword [ebp + 0x10]
push 0x182
push edi
push dword [ebp + 8]
call esi
jmp 0x424d3c
xor ebx, ebx
push ebx
push dword [ebp + 8]
call fcn.00424823
pop ecx
pop ecx
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [0x492584]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x80]
push eax
mov esi, str.cover
push esi
push dword [edi]
mov dword [ebp + 0xc], edi
call fcn.0045de95
test eax, eax
jne 0x425a1a
push dword [ebp - 0xc]
mov ecx, dword [0x492574]
push 0xa
call fcn.00402f06
push esi
push ebx
push 0x180
mov edi, 0x530
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push ebx
push eax
push 0x186
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
push 0x10530
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [ebp + 0xc]
mov ecx, dword [0x492584]
lea eax, [ebp + 0x10]
push eax
push dword [edi]
call fcn.0045da5a
test eax, eax
jne 0x425b27
mov eax, dword [ebp + 0x10]
cmp word [eax], bx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ebx
mov edi, 0x534
je 0x425a8e
push dword [ebp + 0xc]
push ebx
push 0x143
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.NSCRT.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x425a72
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
call dword [sym.imp.NSCRT.dll_wcslen]
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2 + 2]
cmp word [eax], bx
mov dword [ebp + 0xc], eax
jne 0x425a46
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x492574]
push eax
push 0xa
call fcn.00402f06
push ebx
push dword [ebp - 4]
push 0x14e
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x425b27
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x173
push 0x53a
push dword [ebp + 8]
call esi
cmp eax, ebx
je 0x425ad5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push ebx
push 0x18b
mov edi, 0x530
push edi
push dword [ebp + 8]
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ebx
jle 0x425b27
push ebx
push dword [ebp + 0xc]
push 0x199
push edi
push dword [ebp + 8]
call esi
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x425b1c
cmp eax, 0xffffffff
je 0x425b1c
mov ecx, eax
call fcn.00424c45
push dword [ebp + 0x10]
call sub.NSCRT.dll_void___cdecl_operator_delete_void__
pop ecx
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 4]
jl 0x425af1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10