Function at 0x413073
Capabilities:
Get file size
Open clipboard

Disassembly:
test edx, edx
jne 0x41308d
mov eax, dword [0x42181c]
or eax, dword [0x4217ec]
jne 0x41308d
mov dword [ebp - 0x7c], 0
jmp 0x413094
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0
je 0x4130d2
mov ecx, dword [0x4217fc]
sub ecx, dword [0x4217e8]
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
cmp ecx, edx
je 0x4130b9
mov dword [ebp - 0x80], 1
jmp 0x4130c0
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
je 0x4130d2
mov dword [ebp - 0x84], 1
jmp 0x4130dc
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x413142
mov eax, dword [ebp - 0x140]
and eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x144]
cmp eax, ecx
jae 0x41310a
mov dword [ebp - 0x8c], 1
jmp 0x413114
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x413142
mov dword [ebp - 0x148], 0xf8
mov dword [ebp - 0x1ac], 0x9d
mov edx, dword [ebp - 0x58]
or edx, dword [ebp - 0x148]
mov dword [0x4217fc], edx
jmp 0x4131af
mov dword [ebp - 0x1b0], 0xb6
mov dword [ebp - 0x150], 0xb4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x413193
mov dword [ebp - 0x24], 0x264f
mov edx, dword [ebp - 0x24]
xor edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040c90b
add esp, 8
mov edx, dword [0x42180c]
sub edx, dword [ebp - 0x20]
je 0x4131ce
mov eax, dword [ebp - 4]
and eax, dword [ebp - 4]
je 0x4131ce
mov dword [ebp - 0x90], 1
jmp 0x4131d8
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0
jne 0x413228
mov ecx, dword [0x421804]
xor ecx, dword [0x4217ec]
jne 0x413209
mov edx, dword [0x421804]
and edx, dword [0x421810]
jne 0x413209
mov dword [ebp - 0x94], 0
jmp 0x413213
mov dword [ebp - 0x94], 1
cmp dword [ebp - 0x94], 0
jne 0x413228
mov dword [ebp - 0x98], 0
jmp 0x413232
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 0
jne 0x41327e
mov eax, dword [0x421828]
or eax, dword [ebp - 0x1c]
je 0x41325f
mov ecx, dword [0x4217f4]
imul ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x41325f
mov dword [ebp - 0x9c], 1
jmp 0x413269
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
jne 0x41327e
mov dword [ebp - 0xa0], 0
jmp 0x413288
mov dword [ebp - 0xa0], 1
cmp dword [ebp - 0xa0], 0
jne 0x4132d5
mov edx, dword [0x421828]
sub edx, dword [0x421804]
mov eax, dword [0x4217f4]
imul eax, dword [ebp + 8]
cmp edx, eax
jne 0x4132b6
mov dword [ebp - 0xa4], 1
jmp 0x4132c0
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
jne 0x4132d5
mov dword [ebp - 0xa8], 0
jmp 0x4132df
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0
jne 0x413317
mov ecx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
cmp ecx, edx
je 0x413304
mov dword [ebp - 0xac], 1
jmp 0x41330e
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
je 0x41337f
mov dword [ebp - 0x1b4], 0x1e
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x158], 0x8f
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x154]
imul eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
jmp 0x41369a
mov dword [ebp - 0x38], 0xfd
mov ecx, dword [0x421828]
sub ecx, dword [0x421810]
mov dword [0x4217e8], ecx
mov edx, dword [0x4217f4]
imul edx, dword [ebp - 0x160]
test edx, edx
jne 0x4133c5
push fcn.0040c90b
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [0x421810]
push ecx
call fcn.00411d8b
add esp, 0xc
test eax, eax
je 0x4133e7
mov edx, dword [0x4217f8]
and edx, dword [0x4217e4]
mov dword [ebp - 0x34], edx
mov eax, dword [0x42182c]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x421824], eax
jmp 0x413415
mov ecx, dword [0x421810]
add ecx, dword [ebp - 0x28]
mov dword [0x421824], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041028b
add esp, 8
mov ecx, dword [0x4217e4]
xor ecx, dword [0x421828]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, eax
push fcn.0040c90b
mov edx, dword [ebp - 4]
push edx
call fcn.0040b26b
add esp, 8
cmp esi, eax
jbe 0x41344d
mov dword [ebp - 0xb0], 1
jmp 0x413457
mov dword [ebp - 0xb0], 0
mov esi, dword [ebp + 8]
imul esi, dword [0x421828]
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [0x421828]
push ecx
call fcn.0040ebeb
add esp, 8
cmp esi, eax
jbe 0x413487
mov dword [ebp - 0xb4], 1
jmp 0x413491
mov dword [ebp - 0xb4], 0
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ebp - 0xb4]
jae 0x4134ab
mov dword [ebp - 0xb8], 1
jmp 0x4134b5
mov dword [ebp - 0xb8], 0
mov eax, dword [0x4217f8]
imul eax, dword [ebp + 8]
mov dword [0x4217e0], eax
mov ecx, dword [0x42182c]
sub ecx, dword [0x421804]
mov dword [0x42182c], ecx
mov edx, dword [0x4217e0]
cmp edx, dword [0x42182c]
jbe 0x4134ef
mov dword [ebp - 0xbc], 1
jmp 0x4134f9
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xbc]
jne 0x413513
mov dword [ebp - 0xc0], 1
jmp 0x41351d
mov dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0
jne 0x41355c
mov ecx, dword [ebp - 0x1c]
and ecx, dword [ebp - 4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x164]
cmp edx, dword [ebp - 0x38]
jae 0x413549
mov dword [ebp - 0xc4], 1
jmp 0x413553
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
je 0x41357b
mov dword [ebp - 0x1c8], 0x79
mov dword [ebp - 0x1cc], 0x8f
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
jmp 0x413596
mov dword [ebp - 0x1d0], 0x32
push fcn.00411d8b
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0040aefb
add esp, 8
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [0x421814]
push eax
mov ecx, dword [0x4217f0]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4135c7
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
je 0x4135c7
mov dword [ebp - 0xc8], 1
jmp 0x4135d1
mov dword [ebp - 0xc8], 0
push fcn.00411d8b
mov edx, dword [0x4217e0]
push edx
call fcn.0040cb0b
add esp, 8
mov esi, eax
mov eax, dword [0x4217fc]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp esi, eax
jne 0x413603
mov dword [ebp - 0xcc], 1
jmp 0x41360d
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0xcc]
jbe 0x413663
mov dword [ebp - 0x168], 0x66
mov dword [ebp - 0x1d4], 0xd9
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x42180c]
push eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp - 0x34], eax
mov eax, dword [0x4217f4]
xor edx, edx
div dword [ebp - 0x18]
mov dword [0x421808], eax
mov eax, dword [0x4217e4]
xor edx, edx
div dword [ebp - 0x18]
mov dword [ebp - 0x168], eax
jmp 0x41368b
mov dword [ebp - 0x1d8], 0x2f
mov ecx, dword [0x4217ec]
or ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [0x421818]
push edx
call fcn.004106fb
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x4217e8], eax
mov dword [ebp - 0x4c], 0x3b
jmp 0x4136ac
cmp dword [ebp - 0x4c], 0x73
jae 0x413a43
mov dword [ebp - 0x1e0], 0xcc
mov dword [ebp - 8], 0x56
mov edx, dword [ebp - 4]
or edx, dword [0x4217e4]
jne 0x4136e6
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x14]
jne 0x4136e6
mov dword [ebp - 0xd0], 0
jmp 0x4136f0
mov dword [ebp - 0xd0], 1
cmp dword [ebp - 0xd0], 0
je 0x41372c
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
or edx, dword [ebp - 8]
cmp ecx, edx
jne 0x413715
mov dword [ebp - 0xd4], 1
jmp 0x41371f
mov dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0
jne 0x4138b4
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x16c], 0
mov eax, dword [0x4217ec]
and eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 0x10]
cmp eax, ecx
jae 0x41375c
mov dword [ebp - 0xd8], 1
jmp 0x413766
mov dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0
jne 0x4137af
mov edx, dword [ebp - 0x3c]
sub edx, dword [0x421800]
mov eax, dword [0x4217f4]
sub eax, dword [ebp - 0x44]
cmp edx, eax
je 0x413790
mov dword [ebp - 0xdc], 1
jmp 0x41379a
mov dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0
jne 0x4137af
mov dword [ebp - 0xe0], 0
jmp 0x4137b9
mov dword [ebp - 0xe0], 1
cmp dword [ebp - 0xe0], 0
jne 0x413806
mov ecx, dword [0x4217fc]
and ecx, dword [0x4217e4]
jne 0x4137e7
mov edx, dword [ebp - 0x28]
add edx, dword [0x4217e8]
jne 0x4137e7
mov dword [ebp - 0xe4], 0
jmp 0x4137f1
mov dword [ebp - 0xe4], 1
cmp dword [ebp - 0xe4], 0
jne 0x413806
mov dword [ebp - 0xe8], 0
jmp 0x413810
mov dword [ebp - 0xe8], 1
cmp dword [ebp - 0xe8], 0
jne 0x41384e
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x16c]
test eax, eax
jne 0x41383b
mov ecx, dword [ebp - 0x3c]
and ecx, dword [ebp - 0x3c]
jne 0x41383b
mov dword [ebp - 0xec], 0
jmp 0x413845
mov dword [ebp - 0xec], 1
cmp dword [ebp - 0xec], 0
je 0x41388c
mov dword [ebp - 0x1e4], 0xa7
mov dword [ebp - 0x178], 0x51
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0xa0
mov edx, dword [ebp - 0x170]
and edx, dword [ebp - 0x174]
mov dword [ebp - 0x178], edx
jmp 0x4138b4
mov eax, dword [0x4217f0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
jmp 0x4136c7
mov eax, dword [ebp - 0xc]
xor eax, dword [0x4217e4]
jne 0x4138d3
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 8]
jne 0x4138d3
mov dword [ebp - 0xf0], 0
jmp 0x4138dd
mov dword [ebp - 0xf0], 1
cmp dword [ebp - 0xf0], 0
jne 0x413926
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp + 8]
jne 0x413907
mov eax, dword [0x42182c]
sub eax, dword [0x421808]
jne 0x413907
mov dword [ebp - 0xf4], 0
jmp 0x413911
mov dword [ebp - 0xf4], 1
cmp dword [ebp - 0xf4], 0
jne 0x413926
mov dword [ebp - 0xf8], 0
jmp 0x413930
mov dword [ebp - 0xf8], 1
cmp dword [ebp - 0xf8], 0
jne 0x413978
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
mov edx, dword [0x421814]
imul edx, dword [ebp - 8]
cmp ecx, edx
jae 0x413959
mov dword [ebp - 0xfc], 1
jmp 0x413963
mov dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0
jne 0x413978
mov dword [ebp - 0x100], 0
jmp 0x413982
mov dword [ebp - 0x100], 1
cmp dword [ebp - 0x100], 0
jne 0x4139bc
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 8]
cmp eax, ecx
jae 0x4139a9
mov dword [ebp - 0x104], 1
jmp 0x4139b3
mov dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0
je 0x413a12
mov dword [ebp - 0x1e8], 0xc0
mov dword [ebp - 0x1ec], 0xaf
mov dword [ebp - 0x17c], 4
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x108], 0
mov edx, dword [ebp - 0x50]
and edx, dword [ebp - 0x17c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x108]
invalid
inc ebp