Function at 0x100213a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100724bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100215a3
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0x233f
cmp dword [ebp - 0x30], 0x6c2
jge 0x10021557
mov dword [ebp - 0x68], 0x186a2
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x186a2
lea ecx, [ebp - 0x74]
call fcn.10036a74
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
push 0x1000b4e4
call fcn.100578db
pop ecx
pop ecx
push 0x186a3
lea eax, [ebp - 0x80]
push eax
call fcn.10021244
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x38], 0
je 0x100214de
lea eax, [ebp - 0x14]
push eax
push 0x1000b4e4
call fcn.100578db
pop ecx
pop ecx
and dword [ebp - 0x10], 0
jmp 0x10021473
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x80]
call fcn.100148de
cmp dword [ebp - 0x10], eax
jae 0x100214d9
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jge 0x1002148a
jmp 0x100214d9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x80]
call fcn.10010682
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x1c]
test edx, edx
je 0x100214a7
jmp 0x1002146c
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x74]
call fcn.10010682
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x1c]
test edx, edx
jne 0x100214d7
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x100214c0
jmp 0x1002146c
jmp 0x1002143f
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 2
jmp 0x100214f5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x186a2
jge 0x10021530
push dword [ebp - 0x18]
lea ecx, [ebp - 0x74]
call fcn.10010682
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jle 0x10021518
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x10021528
push dword [ebp - 0x18]
lea ecx, [ebp - 0x74]
call fcn.10010682
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
jmp 0x100214ee
push dword [ebp - 0x20]
push 0x1000b238
call fcn.10057af6
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001067d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.1001067d
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10021578
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 1
jmp 0x100215a1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
push 2
mov ecx, dword [ebp - 0x5c]
call fcn.10010682
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x100215e2
lea eax, [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x100215da
push 0
push 0x12ae
push 0
push 0
push 0x185
push 0x624
push 0x1bb1
push 0x87
call dword [sym.imp.GDI32.dll_ExtTextOutA]
jmp 0x100215e2
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret