Function at 0x1001c9ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x10214267
call fcn.10210210
sub esp, 0x13c
push ebx
push ebp
mov ebx, edx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x8c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x464]
mov eax, dword [ebx]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call dword [eax + 0x210]
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x488]
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
cdq
inc ecx
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x1001ca6f
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
cdq
inc ecx
xor eax, edx
mov byte [esp + 0x1b], 0
sub eax, edx
cmp eax, ecx
jl 0x1001ca74
mov byte [esp + 0x1b], 1
mov eax, dword [ebx]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
mov dword [esp + 0x1c], eax
test al, al
je 0x1001caa5
push ebx
mov ecx, edi
call fcn.1003408d
mov ecx, dword [esp + 0x1c]
xor edx, edx
test al, al
movzx ecx, cl
cmovne ecx, edx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x70], edx
mov esi, dword [esp + 0x3c]
cmovg edx, dword [esp + 0x70]
cmp dword [esp + 0x78], esi
mov eax, dword [esp + 0x30]
cmovl esi, dword [esp + 0x78]
cmp dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x38]
cmovg eax, dword [esp + 0x6c]
cmp dword [esp + 0x74], ecx
mov dword [esp + 0x80], edx
mov edx, edi
cmovl ecx, dword [esp + 0x74]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x94]
push ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], esi
call fcn.1001c8db
mov eax, dword [esp + 0x98]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0xa8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x8c]
call fcn.1000e933
cmp byte [esp + 0x1b], 0
jne 0x1001cfe2
cmp byte [esp + 0x1c], 0
je 0x1001cfe2
cmp dword [edi + 0x70], 0
jne 0x1001cfe2
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
cmp eax, ecx
jg 0x1001cfe2
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
cmp eax, ecx
jg 0x1001cfe2
push 1
mov ecx, ebx
call fcn.10004c80
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x60], ebp
mov edx, dword [ebp]
call dword [edx + 0x90]
mov dword [esp + 0x48], eax
test eax, eax
je 0x1001cff5
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x248]
mov eax, dword [esp + 0x8c]
mov ecx, ebp
mov edx, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x128]
push eax
call dword [edx + 0x204]
mov edx, dword [ebp]
mov esi, eax
lea eax, [esp + 0x40]
mov ecx, ebp
push eax
call dword [edx + 0x464]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
add ecx, dword [eax + 4]
mov eax, dword [eax]
sub ebp, ecx
add eax, dword [esi]
mov esi, dword [esp + 0x30]
sub edx, eax
mov ecx, dword [esp + 0x3c]
add esi, edx
mov eax, dword [esp + 0x38]
add ecx, ebp
movdqa xmm0, xmmword [0x102711a0]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, ebp
push dword [esp + 0x48]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x24]
add dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x18]
add dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x24]
add dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x18]
add dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0xc0], eax
lea eax, [ecx + 1]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0xb8], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0xb4], eax
movdqu xmmword [esp + 0x50], xmm0
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], eax
push ecx
push 0
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0xc0]
push ecx
push dword [esp + 0x174]
push dword [esp + 0x174]
push eax
call dword [sym.imp.USER32.dll_ScrollDC]
dec dword [esp + 0x54]
dec dword [esp + 0x58]
push ecx
push dword [esp + 0x68]
lea ecx, [esp + 0xcc]
call fcn.1000388b
and dword [esp + 0x154], 0
push ecx
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x9c]
mov dword [eax + 4], ebp
lea eax, [esp + 0x140]
push eax
call fcn.1000e8ff
push eax
lea ecx, [esp + 0xc8]
call fcn.101073c8
mov ebp, dword [esp + 0x60]
test al, al
je 0x1001cdab
cmp dword [esp + 0x164], 0
setne al
cmp dword [esp + 0x160], 0
movzx eax, al
push eax
setne al
movzx eax, al
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esp
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
lea ecx, [esp + 0xd8]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x2c4]
lea ecx, [esp + 0xc4]
call fcn.10107473
mov eax, dword [esp + 0x30]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0xc], eax
mov eax, esp
mov ecx, dword [esp + 0x44]
mov dword [eax], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
call fcn.1001d7a2
add esp, 0x20
test al, al
je 0x1001ce41
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xc8]
call fcn.101073c8
test al, al
je 0x1001cfb8
push ecx
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
lea ecx, [esp + 0xd0]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x28c]
lea ecx, [esp + 0xc4]
call fcn.10107473
jmp 0x1001cfb8
mov ecx, dword [esp + 0x30]
lea eax, [esi - 1]
dec dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x54]
jg 0x1001cebe
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x58]
jg 0x1001cebe
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
push ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x68]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0xc], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x170]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x244]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x14], edx
jg 0x1001cf00
cmp ecx, dword [esp + 0x2c]
jg 0x1001cf00
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
push ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, edi
mov dword [eax + 8], edx
mov eax, dword [edi]
call dword [eax + 0x170]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x244]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp ecx, edx
jg 0x1001cf3c
cmp dword [esp + 0x68], esi
jg 0x1001cf3c
sub esp, 0x10
mov eax, esp
push ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov eax, dword [edi]
call dword [eax + 0x170]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x244]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
jg 0x1001cf7c
cmp ecx, esi
jg 0x1001cf7c
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
push ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], esi
mov eax, dword [edi]
call dword [eax + 0x170]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x244]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x5c], edx
jg 0x1001cfb8
cmp ecx, esi
jg 0x1001cfb8
mov ebp, dword [esp + 0x5c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov eax, dword [edi]
push ebp
call dword [eax + 0x170]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x244]
or dword [esp + 0x154], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.100038f4
push dword [esp + 0x64]
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.GDI32.dll_GdiFlush]
jmp 0x1001cff5
push ebx
mov ecx, edi
call fcn.10013630
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x244]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret