Function at 0x40d977
Capabilities:
Extract resource via kernel32 functions
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
push esi
mov dword [ebp - 8], 0x29
mov dword [ebp - 0x14], 0x88
mov dword [ebp - 0xc], 0xb
mov esi, dword [0x41a0e0]
add esi, dword [ebp - 0x68]
mov eax, dword [0x41a0c8]
push eax
call dword [ebp + 0xc]
add esp, 4
cmp esi, eax
jbe 0x40d9b8
mov dword [ebp - 0x34], 1
jmp 0x40d9bf
mov dword [ebp - 0x34], 0
mov ecx, dword [str.a6_b_]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [str.a6_b_]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x41a0c0]
push edx
mov eax, dword [str.a6_b_]
push eax
mov ecx, dword [0x41a104]
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x40da0c
mov edx, dword [0x41a0c8]
add edx, dword [ebp + 8]
mov dword [0x41a0ec], edx
je 0x40da0c
mov dword [ebp - 0x38], 1
jmp 0x40da13
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x38]
jae 0x40dc36
mov dword [ebp - 0xa8], 0x60
mov dword [ebp - 0x3c], 0x8e
mov eax, dword [0x41a0ec]
xor edx, edx
div dword [0x41a0c0]
mov dword [0x41a0c8], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 0x2a
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0xc8
ja case.0x40da68.1
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x40e70b]
jmp dword [ecx*4 + 0x40e6eb]
mov dword [ebp - 0xcc], 0xa1
mov dword [ebp - 0xd0], 0x20
push fcn.0040f477
mov edx, dword [0x41a100]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040bb57
add esp, 0xc
jmp 0x40db6d
mov dword [ebp - 0xd4], 0xf6
mov dword [ebp - 0xd8], 0xf9
mov ecx, dword [0x41a0d0]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jmp 0x40db6d
mov dword [ebp - 0xdc], 0xe3
mov edx, dword [ebp + 8]
push edx
call fcn.0040f907
add esp, 4
jmp 0x40db6d
mov dword [ebp - 0xe0], 0xe4
mov dword [ebp - 0xe4], 0x3c
mov dword [ebp - 0xe8], 0x74
mov eax, dword [0x41a0fc]
push eax
call fcn.0040f477
add esp, 4
jmp 0x40db6d
mov dword [ebp - 0xec], 8
mov ecx, dword [0x41a0f4]
xor ecx, dword [ebp - 0xa8]
mov dword [0x41a0e8], ecx
jmp 0x40db6d
mov edx, dword [0x41a0d4]
push edx
mov eax, dword [0x41a0bc]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [0x41a0bc], eax
jmp 0x40db6d
mov ecx, dword [ebp - 8]
add ecx, dword [0x41a0f0]
mov dword [0x41a0d4], ecx
jmp 0x40db6d
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
mov dword [0x41a100], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
sub edx, 0x3e
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x8e
ja case.0x40db93.1
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x40e7ef]
jmp dword [ecx*4 + 0x40e7d7]
mov dword [ebp - 0xac], 0xa3
mov edx, dword [ebp - 0xac]
or edx, dword [0x41a108]
mov dword [ebp - 4], edx
jmp 0x40dc31
mov dword [ebp - 0xf4], 0xe6
mov eax, dword [0x41a0d4]
xor eax, dword [ebp - 8]
mov dword [0x41a0f0], eax
jmp 0x40dc31
mov dword [ebp - 0xf8], 0x1b
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040f477
add esp, 4
jmp 0x40dc31
mov dword [ebp - 0xfc], 0x7e
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040f477
add esp, 4
jmp 0x40dc31
push fcn.0040f907
mov eax, dword [0x41a0c0]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040bb57
add esp, 0xc
jmp 0x40dc31
mov dword [ebp - 0xb0], 0x5b
mov edx, dword [0x41a0d0]
imul edx, dword [ebp - 0xb0]
mov dword [ebp + 8], edx
jmp 0x40d996
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, eax
mov eax, dword [0x41a0c4]
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, eax
jae 0x40e006
mov dword [ebp - 0x100], 0x99
mov dword [ebp - 0x60], 0x49
mov ecx, dword [0x41a100]
push ecx
call fcn.0040f907
add esp, 4
mov edx, dword [ebp - 0x68]
sub edx, dword [0x41a0d8]
mov dword [0x41a0fc], edx
je 0x40dc9e
mov eax, dword [0x41a0c8]
push eax
call fcn.0040f477
add esp, 4
test eax, eax
je 0x40dc9e
mov dword [ebp - 0x40], 1
jmp 0x40dca5
mov dword [ebp - 0x40], 0
mov ecx, dword [0x41a0f8]
or ecx, dword [0x41a0e8]
mov dword [str.a6_b_], ecx
mov edx, dword [0x41a108]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, dword [str.a6_b_]
je 0x40dcd5
mov dword [ebp - 0x44], 1
jmp 0x40dcdc
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jne 0x40dcff
mov dword [ebp - 0x104], 0xc0
mov ecx, dword [0x41a0e0]
push ecx
call fcn.0040f477
add esp, 4
jmp 0x40dd46
mov dword [ebp - 0x108], 0x74
mov dword [ebp - 0x10c], 6
mov edx, dword [ebp - 0x30]
sub edx, dword [0x41a0d0]
mov dword [0x41a0d0], edx
mov eax, dword [ebp + 8]
imul eax, dword [0x41a0dc]
mov dword [0x41a0fc], eax
mov ecx, dword [ebp - 0x10]
mov dword [0x41a0cc], ecx
mov edx, dword [0x41a0cc]
mov dword [0x41a0fc], edx
mov eax, dword [0x41a108]
imul eax, dword [0x41a0cc]
mov dword [0x41a0c4], eax
push fcn.0040f907
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [str.a6_b_]
push edx
call fcn.0040bb57
add esp, 0xc
cmp dword [0x41a0c4], eax
je 0x40ddca
mov dword [ebp - 0xb4], 0xbb
mov dword [ebp - 0x110], 0xac
push fcn.0040f907
mov eax, dword [0x41a0f0]
push eax
mov ecx, dword [0x41a0f8]
push ecx
call fcn.0040bb57
add esp, 0xc
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x30], eax
mov edx, dword [0x41a0e0]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp - 0xb4], eax
jmp 0x40de0d
mov dword [ebp - 0x114], 0xfd
mov dword [ebp - 0x118], 0xc6
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x41a0ec]
push edx
mov eax, dword [0x41a0cc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [0x41a0f0]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [0x41a0c4], eax
mov edx, dword [0x41a0cc]
push edx
mov eax, dword [0x41a0f8]
push eax
call dword [sym.imp.GDI32.dll_SetArcDirection]
test eax, eax
je 0x40de5c
mov ecx, dword [str.a6_b_]
mov dword [0x41a0f0], ecx
mov edx, dword [0x41a0f0]
mov dword [0x41a0fc], edx
cmp dword [0x41a0fc], 0
je 0x40de5c
mov dword [ebp - 0x11c], 0x53
mov eax, dword [0x41a0e8]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x40de87
mov dword [ebp - 0x120], 0x34
mov ecx, dword [0x41a0c0]
or ecx, dword [ebp - 0x124]
mov dword [0x41a0ec], ecx
mov edx, dword [0x41a0e8]
push edx
call fcn.0040f907
add esp, 4
mov eax, dword [ebp - 0x10]
or eax, dword [0x41a0cc]
je 0x40dea9
mov eax, dword [0x41a0d0]
xor edx, edx
div dword [ebp - 0x14]
test eax, eax
je 0x40dea9
mov dword [ebp - 0x48], 1
jmp 0x40deb0
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x41a0e8]
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x40dee5
mov eax, dword [ebp + 0xc]
mov dword [0x41a0f8], eax
mov ecx, dword [0x41a0f8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x40dee5
mov dword [ebp - 0x4c], 0
jmp 0x40deec
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x4c]
jbe 0x40defd
mov dword [ebp - 0x50], 1
jmp 0x40df04
mov dword [ebp - 0x50], 0
mov eax, dword [0x41a108]
push eax
call fcn.0040f907
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [str.a6_b_]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [0x41a0fc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, eax
jne 0x40df3d
mov dword [ebp - 0x54], 1
jmp 0x40df44
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x54]
jne 0x40df55
mov dword [ebp - 0x58], 1
jmp 0x40df5c
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
je 0x40dfd1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x40df8d
mov ecx, dword [0x41a0d0]
and ecx, dword [0x41a0f8]
mov dword [0x41a0e0], ecx
jne 0x40df8d
mov dword [ebp - 0x5c], 0
jmp 0x40df94
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
je 0x40dfd1
mov edx, dword [0x41a0c4]
push edx
mov eax, dword [0x41a0c0]
push eax
movzx ecx, byte [ebp - 0x60]
push ecx
movzx edx, byte [0x41a0d4]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [0x41a0c8]
push edx
call dword [sym.imp.USER32.dll_CreateIcon]
mov dword [ebp + 0xc], eax
jmp 0x40e004
mov dword [ebp - 0x12c], 0xb2
mov dword [ebp - 0x130], 0x99
mov eax, dword [0x41a0d8]
sub eax, dword [0x41a0c4]
mov dword [0x41a0c0], eax
mov ecx, dword [0x41a0f0]
push ecx
call fcn.0040f477
add esp, 4
jmp 0x40e053
mov dword [ebp - 0x134], 0x5f
mov dword [ebp - 0xb8], 0xd3
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 4]
mov dword [0x41a0f8], edx
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp - 0x28]
mov dword [0x41a104], eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xb8]
mov dword [0x41a104], ecx
mov edx, dword [0x41a0d0]
imul edx, dword [0x41a100]
mov dword [0x41a0e0], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
mov esi, eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp esi, eax
jne 0x40e122
mov eax, dword [0x41a104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x46
je 0x40e0ad
cmp dword [ebp - 0x64], 0xba
je 0x40e09b
jmp 0x40e0d1
mov edx, dword [str.a6_b_]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp + 0xc], eax
jmp 0x40e0e6
mov dword [ebp - 0x138], 0x1d
mov dword [ebp - 0x13c], 0x85
mov eax, dword [0x41a0f0]
push eax
call fcn.0040f477
add esp, 4
jmp 0x40e0e6
mov dword [ebp - 0x140], 0x9e
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [0x41a0f0], eax
mov ecx, dword [ebp - 0xbc]
and ecx, dword [0x41a0fc]
mov dword [0x41a108], ecx
mov edx, dword [0x41a0f4]
xor edx, dword [ebp - 0x68]
mov dword [ebp - 0xbc], edx
mov eax, dword [0x41a0c4]
mov dword [0x41a104], eax
mov ecx, dword [0x41a104]
mov dword [0x41a0f0], ecx
jmp 0x40e053
mov edx, dword [0x41a0f4]
mov dword [ebp - 0x24], edx
jmp 0x40e136
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [0x41a0f8]
jae 0x40e208
mov edx, dword [ebp - 0xc0]
or edx, dword [0x41a0dc]
mov dword [0x41a0dc], edx
mov eax, dword [ebp - 4]
mov dword [0x41a0bc], eax
mov ecx, dword [0x41a0bc]
mov dword [0x41a104], ecx
mov edx, dword [0x41a0f0]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x41a108], eax
mov ecx, dword [0x41a0f4]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x77
je 0x40e1c3
cmp dword [ebp - 0x6c], 0xfe
je 0x40e19b
jmp 0x40e1eb
mov dword [ebp - 0x144], 0x1b
mov dword [ebp - 0x148], 0x4a
mov edx, dword [0x41a100]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x41a0fc], eax
jmp 0x40e1fa
mov dword [ebp - 0x14c], 0x6c
mov dword [ebp - 0x150], 0x24
mov eax, dword [0x41a0e0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x154], eax
jmp 0x40e1fa
mov ecx, dword [ebp - 0x24]
sub ecx, dword [0x41a0dc]
mov dword [0x41a0e0], ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x10], eax
jmp 0x40e12d
mov edx, dword [ebp - 8]
sub edx, dword [0x41a0cc]
mov dword [0x41a0f0], edx
mov eax, dword [str.a6_b_]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp eax, dword [0x41a0f0]
jne 0x40e234
mov dword [ebp - 0x70], 1
jmp 0x40e23b
mov dword [ebp - 0x70], 0
mov ecx, dword [0x41a100]
add ecx, dword [str.a6_b_]
mov dword [0x41a0f4], ecx
mov edx, dword [0x41a0d0]
add edx, dword [ebp - 8]
cmp edx, dword [0x41a0f4]
jae 0x40e267
mov dword [ebp - 0x74], 1
jmp 0x40e26e
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x74]
jbe 0x40e291
mov dword [ebp - 0x158], 0x4a
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040f907
add esp, 4
jmp 0x40e471
mov dword [ebp - 0x15c], 0x47
mov dword [ebp - 0xc4], 9
mov edx, dword [ebp + 8]
xor edx, dword [0x41a0ec]
mov dword [0x41a100], edx
mov eax, dword [0x41a0f4]
push eax
call fcn.0040f477
add esp, 4
mov eax, dword [ebp - 0xc4]
xor edx, edx
div dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40e2f2
mov ecx, dword [0x41a0f8]
push ecx
call fcn.0040f907
add esp, 4
test eax, eax
je 0x40e2f2
mov dword [ebp - 0x78], 1
jmp 0x40e2f9
mov dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0
jne 0x40e349
mov esi, dword [ebp + 8]
add esi, dword [ebp - 0x90]
mov edx, dword [0x41a0e8]
push edx
mov eax, dword [0x41a108]
push eax
mov ecx, dword [0x41a0f0]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, eax
jbe 0x40e333
mov dword [ebp - 0x7c], 1
jmp 0x40e33a
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0
jne 0x40e349
mov dword [ebp - 0x80], 0
jmp 0x40e350
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x41a108]
mov dword [0x41a0c0], eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [0x41a0c0], eax
jae 0x40e37a
mov dword [ebp - 0x84], 1
jmp 0x40e384
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x84]
je 0x40e39b
mov dword [ebp - 0x88], 1
jmp 0x40e3a5
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
je 0x40e429
mov ecx, dword [0x41a0d4]
push ecx
mov edx, dword [0x41a0c8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
mov ecx, dword [0x41a0d8]
add ecx, dword [ebp - 0x90]
cmp eax, ecx
jbe 0x40e3de
mov dword [ebp - 0x8c], 1
jmp 0x40e3e8
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x40e429
mov dword [ebp - 0x160], 0x16
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ebp - 0x28]
mov dword [ebp - 0x90], eax
mov edx, dword [0x41a0c0]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41a108]
sub eax, dword [0x41a0e0]
mov dword [ebp + 8], eax
jmp 0x40e461
mov dword [ebp - 0x164], 0xae
mov dword [ebp - 0x94], 0x8d
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x41a104], eax
mov edx, dword [ebp - 0x94]
or edx, dword [0x41a100]
mov dword [0x41a108], edx
mov eax, dword [0x41a0c0]
and eax, dword [0x41a0d4]
mov dword [0x41a0d4], eax
mov ecx, dword [0x41a0f8]
mov dword [ebp - 0x18], ecx
jmp 0x40e485
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jae 0x40e6d0
mov dword [ebp - 0x168], 0xf5
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x41a0e8]
push edx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [0x41a0c4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x33
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0xa7
ja case.0x40e4d7.1
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x40e893]
jmp dword [eax*4 + 0x40e87f]
mov ecx, dword [ebp - 0x16c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x41a0cc], eax
jmp 0x40e57b
mov dword [ebp - 0x170], 0x83
mov edx, dword [0x41a0d8]
sub edx, dword [0x41a0fc]
mov dword [0x41a0d8], edx
jmp 0x40e57b
mov dword [ebp - 0x174], 0x23
mov dword [ebp - 0xc8], 0xec
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jmp 0x40e57b
mov dword [ebp - 0x178], 0x8b
mov dword [ebp - 0x17c], 0xb4
mov ecx, dword [str.a6_b_]
mov dword [0x41a0d4], ecx
mov edx, dword [0x41a0d4]
mov dword [0x41a0c0], edx
jmp 0x40e57b
mov dword [ebp - 0x180], 0x65
mov eax, dword [ebp + 0xc]
xor eax, dword [0x41a0d4]
mov dword [0x41a108], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x40e5ac
mov eax, dword [0x41a0e0]
xor edx, edx
div dword [0x41a100]
mov dword [0x41a104], eax
cmp dword [0x41a104], 0
jne 0x40e5ac
mov dword [ebp - 0x98], 0
jmp 0x40e5b6
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 0
jne 0x40e611
mov ecx, dword [0x41a0f4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00411ce7
add esp, 8
test eax, eax
jne 0x40e5f2
mov eax, dword [0x41a0d4]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test eax, eax
jne 0x40e5f2
mov dword [ebp - 0x9c], 0
jmp 0x40e5fc
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0
jne 0x40e611
mov dword [ebp - 0xa0], 0
jmp 0x40e61b
mov dword [ebp - 0xa0], 1
mov ecx, dword [0x41a0d8]
push ecx
mov edx, dword [0x41a100]
push edx
mov eax, dword [0x41a108]
push eax
mov ecx, dword [0x41a0c4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [0x41a0c4]
push eax
call dword [sym.imp.GDI32.dll_SetArcDirection]
cmp esi, eax
jne 0x40e65e
mov dword [ebp - 0xa4], 1
jmp 0x40e668
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0xa4]
je 0x40e69d
mov dword [ebp - 0x184], 0xc4
mov dword [ebp - 0x188], 0xd5
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [ebp + 8], eax
jmp 0x40e6cb
mov dword [ebp - 0x18c], 0x99
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040f477
add esp, 4
mov edx, dword [0x41a104]
push edx
mov eax, dword [0x41a108]
push eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [0x41a0f8], eax
jmp 0x40e47c
mov ecx, dword [0x41a0f8]
push ecx
mov edx, dword [0x41a0cc]
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
mov esp, ebp
pop ebp
ret