Function at 0x41086b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push esi
mov dword [ebp - 0x14], 0x77
mov dword [ebp - 0x70], 0x84
mov dword [ebp - 0xc], 0x60
mov dword [ebp - 4], 0x75
mov eax, dword [0x421818]
mov dword [ebp - 0x24], eax
jmp 0x4108a4
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [0x421800]
jae 0x410949
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x421824]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [0x421800]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
xor byte [eax], ah
inc edx
invalid
test eax, eax
jne 0x4108f5
mov ecx, dword [0x421828]
push ecx
mov edx, dword [0x4217e8]
push edx
call fcn.0040c90b
add esp, 8
test eax, eax
je 0x410914
mov dword [ebp - 0x9c], 0x25
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x421814]
push ecx
call fcn.0040c90b
add esp, 8
jmp 0x410944
mov dword [ebp - 0x7c], 0x36
mov edx, dword [0x421824]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call fcn.0040c90b
add esp, 8
mov ecx, dword [0x421800]
push ecx
mov edx, dword [0x4217f8]
push edx
call fcn.0040c90b
add esp, 8
jmp 0x41089b
mov eax, dword [0x4217e8]
and eax, dword [ebp - 4]
mov dword [0x42182c], eax
mov ecx, dword [0x421800]
push ecx
mov edx, dword [0x421820]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp eax, dword [0x42182c]
jbe 0x41097b
mov dword [ebp - 0x2c], 1
jmp 0x410982
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [0x4217f0]
push ecx
call fcn.0040c90b
add esp, 8
test eax, eax
je 0x4109b3
mov edx, dword [0x421828]
sub edx, dword [0x421808]
mov dword [ebp - 4], edx
je 0x4109b3
mov dword [ebp - 0x30], 1
jmp 0x4109ba
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jbe 0x4109cb
mov dword [ebp - 0x34], 1
jmp 0x4109d2
mov dword [ebp - 0x34], 0
mov ecx, dword [0x421820]
and ecx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x4217fc]
push eax
mov ecx, dword [0x4217f0]
push ecx
call dword [sym.imp.GDI32.dll_PolylineTo]
cmp eax, dword [ebp + 8]
jae 0x410a03
mov dword [ebp - 0x38], 1
jmp 0x410a0a
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jbe 0x410bc3
mov dword [ebp - 0x88], 0x26
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040c90b
add esp, 8
mov esi, eax
mov edx, dword [0x421814]
push edx
mov eax, dword [0x4217e8]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
cmp esi, eax
jbe 0x410a7b
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x42180c]
push edx
call fcn.0040c90b
add esp, 8
mov eax, dword [0x421804]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [0x4217e4], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
mov dword [0x421810], edx
jmp 0x410aac
mov dword [ebp - 0xa0], 0x41
mov eax, dword [0x4217ec]
or eax, dword [0x421814]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x4217f8]
push ecx
mov edx, dword [0x4217e8]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [0x421814], eax
mov eax, dword [0x4217e0]
push eax
mov ecx, dword [0x4217ec]
push ecx
mov edx, dword [0x4217e4]
push edx
mov eax, dword [0x421818]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 4]
imul ecx, dword [0x4217f8]
cmp eax, ecx
je 0x410b17
mov dword [ebp - 0x84], 0x65
mov dword [ebp - 0x80], 0x6d
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x4217e8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 8]
mov dword [0x421814], eax
jmp 0x410b46
mov dword [ebp - 0xa4], 0x58
mov ecx, dword [0x4217e0]
mov dword [0x421810], ecx
mov edx, dword [0x421810]
mov dword [ebp - 0x88], edx
mov eax, dword [0x421818]
or eax, dword [ebp - 8]
mov dword [0x4217ec], eax
mov ecx, dword [0x421818]
mov dword [0x421814], ecx
mov edx, dword [0x421814]
mov dword [ebp - 0xc], edx
mov eax, dword [0x421804]
imul eax, dword [0x4217fc]
cmp dword [ebp - 0xc], eax
jbe 0x410b7d
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [0x421804]
mov dword [ebp - 0x1c], ecx
jmp 0x410bae
mov dword [ebp - 0x8c], 0xbd
mov dword [ebp - 0xac], 0x35
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [0x421808]
push eax
mov ecx, dword [0x421804]
push ecx
call dword [sym.imp.GDI32.dll_PolylineTo]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [0x42182c]
mov dword [0x421828], eax
jmp 0x410ca5
mov dword [ebp - 0x90], 0x34
mov edx, dword [0x42180c]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, dword [0x42180c]
or ecx, dword [ebp - 0x20]
cmp eax, ecx
jae 0x410bf0
mov dword [ebp - 0x3c], 1
jmp 0x410bf7
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
je 0x410c54
mov edx, dword [0x421800]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0040c90b
add esp, 8
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, eax
je 0x410c28
mov dword [ebp - 0x40], 1
jmp 0x410c2f
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
je 0x410c54
mov dword [ebp - 0xb4], 0xe4
mov ecx, dword [0x4217fc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x90], eax
jmp 0x410c8f
mov dword [ebp - 0xb8], 0x8c
mov dword [ebp - 0xbc], 9
mov edx, dword [0x4217e4]
push edx
mov eax, dword [0x4217e8]
push eax
call fcn.0040c90b
add esp, 8
mov ecx, dword [0x4217e4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x421818], eax
mov edx, dword [0x4217f0]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [0x4217e0], eax
mov ecx, dword [0x42180c]
mov dword [ebp - 0x28], ecx
jmp 0x410cb9
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x4217fc]
jae 0x410ced
mov dword [ebp - 0xc0], 0x9b
mov dword [ebp - 0xc4], 0x5f
mov ecx, dword [0x421804]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040c90b
add esp, 8
jmp 0x410cb0
mov eax, dword [ebp - 0x1c]
xor edx, edx
div dword [0x421818]
mov dword [0x4217fc], eax
mov eax, dword [0x421818]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, eax
jne 0x410d22
mov dword [ebp - 0x44], 1
jmp 0x410d29
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x421814]
push eax
call fcn.0040c90b
add esp, 8
test eax, eax
je 0x410d56
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test eax, eax
je 0x410d56
mov dword [ebp - 0x48], 1
jmp 0x410d5d
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x48]
jbe 0x410d6e
mov dword [ebp - 0x4c], 1
jmp 0x410d75
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x410f0e
mov esi, dword [0x4217f8]
or esi, dword [ebp + 8]
mov eax, dword [0x421814]
push eax
mov ecx, dword [0x4217e4]
push ecx
call fcn.0040c90b
add esp, 8
cmp esi, eax
jne 0x410daa
mov dword [ebp - 0x50], 1
jmp 0x410db1
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
je 0x410f0e
mov dword [ebp - 0x94], 0x60
mov edx, dword [0x421800]
push edx
mov eax, dword [0x42182c]
push eax
call fcn.0040c90b
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0x4217f8]
push edx
call fcn.0040c90b
add esp, 8
cmp esi, eax
jbe 0x410dfc
mov dword [ebp - 0x54], 1
jmp 0x410e03
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040c90b
add esp, 8
test eax, eax
jne 0x410e33
mov edx, dword [ebp - 0x1c]
imul edx, dword [0x421808]
mov dword [ebp + 8], edx
cmp dword [ebp + 8], 0
jne 0x410e33
mov dword [ebp - 0x58], 0
jmp 0x410e3a
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x58]
jbe 0x410e4b
mov dword [ebp - 0x5c], 1
jmp 0x410e52
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
je 0x410ed6
mov ecx, dword [0x4217e4]
imul ecx, dword [ebp + 8]
test ecx, ecx
je 0x410e84
mov edx, dword [0x421818]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
test eax, eax
je 0x410e84
mov dword [ebp - 0x60], 1
jmp 0x410e8b
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
je 0x410ed6
mov dword [ebp - 0xc8], 0x77
mov dword [ebp - 0xcc], 0xe5
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [0x421828]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x421814], eax
mov ecx, dword [0x421810]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0040c90b
add esp, 8
jmp 0x410f0c
mov dword [ebp - 0xd0], 0xc2
mov dword [ebp - 0xd4], 0x80
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [0x421808]
push ecx
call fcn.0040c90b
add esp, 8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4217e4], eax
jmp 0x410f5a
mov dword [ebp - 0xd8], 0x28
mov eax, dword [0x4217e4]
mov dword [0x42180c], eax
mov ecx, dword [0x42180c]
mov dword [0x4217e8], ecx
mov edx, dword [0x421814]
push edx
mov eax, dword [0x42181c]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x98], eax
mov ecx, dword [0x421820]
imul ecx, dword [ebp - 0x98]
mov dword [0x42182c], ecx
mov edx, dword [0x42180c]
mov dword [ebp - 0x18], edx
jmp 0x410f6e
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 4]
jae 0x411085
mov dword [ebp - 0xdc], 0x67
mov edx, dword [0x421818]
add edx, dword [ebp - 0x14]
mov dword [0x421800], edx
mov eax, dword [0x421804]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [0x421800], eax
je 0x410fb0
mov dword [ebp - 0x68], 1
jmp 0x410fb7
mov dword [ebp - 0x68], 0
mov ecx, dword [0x421824]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov esi, eax
mov edx, dword [0x421804]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040c90b
add esp, 8
cmp esi, eax
jbe 0x410fe6
mov dword [ebp - 0x6c], 1
jmp 0x410fed
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x6c]
jae 0x410ffe
mov dword [ebp - 0x74], 1
jmp 0x411005
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 4]
test eax, eax
jne 0x411028
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test eax, eax
jne 0x411028
mov dword [ebp - 0x78], 0
jmp 0x41102f
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x78]
jae 0x411075
mov dword [ebp - 0xe0], 0x1e
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040c90b
add esp, 8
mov eax, dword [ebp - 0xe4]
xor eax, dword [0x421818]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x421814]
push edx
call fcn.0040c90b
add esp, 8
jmp 0x411080
mov eax, dword [0x421808]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x410f65
mov ecx, dword [0x421814]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
pop esi
mov esp, ebp
pop ebp
ret