Function at 0x1000ea50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006193e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000eabe
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x168], eax
push 0x6ce7
push dword [ebp - 0x160]
push dword [ebp - 0x168]
push dword [ebp - 0x164]
push 1
call fcn.1000f637
add esp, 0x14
jmp 0x1000f626
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0xa0], 0x734e
mov dword [ebp - 0x148], 0x1000792c
cmp dword [ebp - 0xa0], 0x771a
jle 0x1000eb6f
and dword [ebp - 0x64], 0
jmp 0x1000eafd
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x5cb0
jge 0x1000eb6f
and dword [ebp - 0x40], 0
jmp 0x1000eb13
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x42e6
jge 0x1000eb6d
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], edx
push dword [ebp - 0x110]
push dword [ebp - 0x114]
lea ecx, [ebp - 0x1d8]
call fcn.1000d0ee
pop ecx
pop ecx
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
call fcn.1001271a
push eax
call fcn.1004c14f
pop ecx
lea ecx, [ebp - 0x1d8]
call fcn.10012710
jmp 0x1000eb0c
jmp 0x1000eaf6
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x154], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0xa0], 0x727a
jge 0x1000eb94
push dword [ebp - 0x148]
call fcn.1004c14f
pop ecx
jmp 0x1000ebb0
or dword [ebp - 4], 0xffffffff
jmp 0x1000ebba
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x14], 0xf7e2799a
mov dword [ebp - 0x14], 0
jmp 0x1000ebda
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1d
jne 0x1000f046
push 2
lea ecx, [ebp - 0x84]
call fcn.10012962
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x30], 0x962600bf
mov dword [ebp - 0x34], 0
jmp 0x1000ec16
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1000ec32
push dword [ebp - 0x34]
lea ecx, [ebp - 0x84]
call fcn.10012a00
mov dword [eax], 0x72fd
jmp 0x1000ec0f
mov dword [ebp - 0xa8], 0x2d24
mov dword [ebp - 0x10c], 0x10007988
cmp dword [ebp - 0xa8], 0x30b4
jle 0x1000ecd8
and dword [ebp - 0x48], 0
jmp 0x1000ec63
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x72d3
jge 0x1000ecd8
and dword [ebp - 0x60], 0
jmp 0x1000ec79
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x28d
jge 0x1000ecd6
mov eax, dword [ebp - 0x48]
cdq
idiv dword [ebp - 0x60]
mov eax, edx
cdq
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
lea ecx, [ebp - 0x1c0]
call fcn.1000d0ee
pop ecx
pop ecx
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
call fcn.1001271a
push eax
call fcn.1004c14f
pop ecx
lea ecx, [ebp - 0x1c0]
call fcn.10012710
jmp 0x1000ec72
jmp 0x1000ec5c
mov dword [ebp - 0x1c], 0
jmp 0x1000ece8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1000efd6
mov dword [ebp - 0x28], 0xfffffff8
mov dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x84]
call fcn.10012a00
cmp dword [ebp - 0x28], 0
jne 0x1000edb9
mov eax, 0xffff
test eax, eax
je 0x1000ed32
cmp dword [ebp - 0x28], 0
je 0x1000ed32
mov dword [ebp - 0xd0], 1
jmp 0x1000ed39
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd0], eax
je 0x1000ed53
cmp dword [ebp - 0x28], 0
jne 0x1000ed53
and dword [ebp - 0xdc], 0
jmp 0x1000ed5d
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xdc], eax
jg 0x1000ed74
mov dword [ebp - 0x94], 1
jmp 0x1000ed7b
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xe97312b9
ja 0x1000ed93
mov dword [ebp - 0x14c], 1
jmp 0x1000ed9a
and dword [ebp - 0x14c], 0
mov esi, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x84]
call fcn.10012a00
mov eax, dword [eax]
sub eax, esi
jne 0x1000edb9
and dword [ebp - 0xbc], 0
jmp 0x1000edc3
mov dword [ebp - 0xbc], 1
imul eax, dword [ebp - 0xbc], 0x11e9
cmp eax, dword [ebp - 0x14]
jle 0x1000edde
mov dword [ebp - 0x9c], 1
jmp 0x1000ede5
and dword [ebp - 0x9c], 0
push 1
lea ecx, [ebp - 0x84]
call fcn.10012a00
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax]
jle 0x1000ee08
mov dword [ebp - 0xcc], 1
jmp 0x1000ee0f
and dword [ebp - 0xcc], 0
mov esi, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x84]
call fcn.10012a00
mov ecx, dword [ebp - 0xcc]
add ecx, dword [eax]
cmp ecx, esi
jle 0x1000ee3d
cmp dword [ebp - 0x1c], 0
je 0x1000ee3d
mov dword [ebp - 0xa4], 1
jmp 0x1000ee44
and dword [ebp - 0xa4], 0
mov esi, dword [ebp - 0xa4]
sub esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x84]
call fcn.10012a00
cmp esi, dword [eax]
je 0x1000ee6d
mov dword [ebp - 0xc4], 1
jmp 0x1000ee74
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x84]
call fcn.10012a00
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax]
je 0x1000ee97
mov dword [ebp - 0xac], 1
jmp 0x1000ee9e
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xac]
add eax, 0x4983
jne 0x1000eebd
cmp dword [ebp - 0x78], 0
jne 0x1000eebd
and dword [ebp - 0x104], 0
jmp 0x1000eec7
mov dword [ebp - 0x104], 1
push 1
lea ecx, [ebp - 0x84]
call fcn.10012a00
cmp dword [eax], 5
jne 0x1000eee5
mov dword [ebp - 0xd8], 1
jmp 0x1000eeec
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xd8], eax
jle 0x1000ef03
mov dword [ebp - 0xb4], 1
jmp 0x1000ef0a
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x30], eax
xor eax, eax
inc eax
je 0x1000efa5
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffb
je 0x1000ef32
cmp dword [ebp - 0x1c], 0
jne 0x1000ef41
cmp dword [ebp - 0x30], 0
jne 0x1000ef41
and dword [ebp - 0x8c], 0
jmp 0x1000ef4b
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x8c]
jg 0x1000ef62
mov dword [ebp - 0x90], 1
jmp 0x1000ef69
and dword [ebp - 0x90], 0
imul eax, dword [ebp - 0x90], 0xcfb9
cmp eax, dword [ebp - 0x1c]
jle 0x1000ef84
mov dword [ebp - 0x98], 1
jmp 0x1000ef8b
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x98]
test eax, eax
je 0x1000efa5
mov dword [ebp - 0x88], 1
jmp 0x1000efac
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x88], eax
jl 0x1000efc3
mov dword [ebp - 0xec], 1
jmp 0x1000efca
and dword [ebp - 0xec], 0
mov dword [ebp - 0x78], 9
jmp 0x1000ece1
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], 0x2afd
jge 0x1000eff2
push dword [ebp - 0x10c]
call fcn.1004c14f
pop ecx
jmp 0x1000f00e
mov dword [ebp - 4], 2
jmp 0x1000f01e
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1000f032
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.100129e4
jmp 0x1000ebd3
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1000f05d
push 0x1152
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp - 0x154]
movzx eax, byte [eax]
test eax, eax
je 0x1000f5fe
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x13c], eax
push 2
lea ecx, [ebp - 0x1a0]
call fcn.10012962
mov dword [ebp - 4], 5
mov dword [ebp - 0x38], 0xfffffffb
mov dword [ebp - 0x50], 0
jmp 0x1000f0a5
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1000f0c1
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1a0]
call fcn.10012a00
mov dword [eax], 0x9f9b
jmp 0x1000f09e
mov dword [ebp - 0xb8], 0x695c
mov dword [ebp - 0x15c], 0x100079e0
cmp dword [ebp - 0xb8], 0x69fd
jle 0x1000f154
push 0x7e3
push 0x1d7e
push 0
push 0x1cca
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
and dword [ebp - 0x68], 0
jmp 0x1000f107
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x1c9
jge 0x1000f154
and dword [ebp - 0x58], 0
jmp 0x1000f11d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x5889
jge 0x1000f152
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x58]
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
mov ecx, 0x10609d98
call fcn.1001273a
jmp 0x1000f116
jmp 0x1000f100
mov dword [ebp - 0x38], 0
jmp 0x1000f164
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jg 0x1000f183
mov dword [ebp - 0xb0], 0xb0c
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
jmp 0x1000f15d
mov byte [ebp - 4], 6
cmp dword [ebp - 0xb8], 0x670e
jge 0x1000f1a3
mov edx, dword [ebp - 0x15c]
mov ecx, 0x10609d98
call fcn.1001505e
jmp 0x1000f1bf
mov dword [ebp - 4], 5
jmp 0x1000f1cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.100129e4
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x3c], 0
jmp 0x1000f201
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1000f217
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x140], 0xc93
jmp 0x1000f1fa
mov dword [ebp - 0x44], 0
jmp 0x1000f227
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1000f5d4
mov dword [ebp - 0x194], 0xefc07e17
mov dword [ebp - 0x190], 0xefc07e17
mov dword [ebp - 0x18c], 0xefc07e17
mov dword [ebp - 0x188], 0xefc07e17
lea ecx, [ebp - 0x71]
call fcn.10012a0f
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.10012a12
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x174]
call fcn.100129be
mov dword [ebp - 4], 8
push 0
lea ecx, [ebp - 0x174]
call fcn.10012a00
and dword [eax], 0
jmp 0x1000f2c8
push 0
lea ecx, [ebp - 0x174]
call fcn.10012a00
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x174]
call fcn.10012a00
cmp dword [eax], 0
jg 0x1000f5a7
mov dword [ebp - 0x4c], 0xda622a14
mov dword [ebp - 0x4c], 0
jmp 0x1000f2f5
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1000f58e
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], 0
jmp 0x1000f316
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1000f589
mov dword [ebp - 0x5c], 0x2bc40ed3
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1000f33e
push 0x1a37
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x5c], 0
jmp 0x1000f34e
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jg 0x1000f584
push 2
lea ecx, [ebp - 0xe8]
call fcn.10012962
mov byte [ebp - 4], 9
mov dword [ebp - 0xc8], 0x7a2a
mov dword [ebp - 0x130], 0x10007a40
cmp dword [ebp - 0xc8], 0x7a6c
jle 0x1000f40e
and dword [ebp - 0x70], 0
jmp 0x1000f39a
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x7d79
jge 0x1000f40e
and dword [ebp - 0x6c], 0
jmp 0x1000f3b0
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x7681
jge 0x1000f40c
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
shl eax, cl
cdq
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
lea ecx, [ebp - 0x1f0]
call fcn.1000d0ee
pop ecx
pop ecx
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
call fcn.1001271a
push eax
call fcn.1004c14f
pop ecx
lea ecx, [ebp - 0x1f0]
call fcn.10012710
jmp 0x1000f3a9
jmp 0x1000f393
mov dword [ebp - 0x18], 0
jmp 0x1000f41e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1000f43a
push dword [ebp - 0x18]
lea ecx, [ebp - 0xe8]
call fcn.10012a00
mov dword [eax], 0xd2c87a75
jmp 0x1000f417
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xc8], 0x7975
jge 0x1000f456
push dword [ebp - 0x130]
call fcn.1004c14f
pop ecx
jmp 0x1000f472
mov dword [ebp - 4], 9
jmp 0x1000f482
mov dword [ebp - 0x18], 0
jmp 0x1000f492
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1000f4a8
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x180], 0xcd49fcfb
jmp 0x1000f48b
push 1
lea ecx, [ebp - 0xe8]
call fcn.10012a00
and dword [eax], 0
jmp 0x1000f4de
push 1
lea ecx, [ebp - 0xe8]
call fcn.10012a00
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0xe8]
call fcn.10012a00
cmp dword [eax], 1
jge 0x1000f50c
push 1
lea ecx, [ebp - 0xe8]
call fcn.10012a00
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0x140], 1
jmp 0x1000f4ba
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x180], 1
jmp 0x1000f537
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x180]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x180], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x180], 0
jl 0x1000f570
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1000f56e
push 0x4c6
push 0x20c
push 0x2c6
push 0x1ca9
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
jmp 0x1000f51e
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
call fcn.100129e4
jmp 0x1000f347
jmp 0x1000f30f
jmp 0x1000f2ee
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1000f5a2
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x1000f2a4
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1000f5c0
push 0x9d1
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.100129e4
jmp 0x1000f220
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1000f626
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov edx, 0x83ecb79a
mov ecx, dword [ebp - 0x108]
call fcn.1000e779
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret