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

Disassembly:
push 0xffffffffffffffff
push 0x100525fb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
add esi, esi
push esi
xor ebx, ebx
push esi
lea edi, [esp + 0x40]
mov dword [esp + 0x28], ebx
call fcn.1001a760
add esp, 8
mov dword [esp + 0x78], 1
mov ebp, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x18], eax
cmp ebp, ebx
je 0x1001adb7
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x18]
push eax
push ecx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov eax, dword [esp + 0x18]
push 0xffffff
push eax
mov edi, eax
call sub.gdiplus.dll_GdipGraphicsClear
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1001bd50
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp ecx, ebx
je 0x1001ae26
mov eax, dword [ecx + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov eax, dword [esp + 0x1c]
push esi
push esi
push ebx
push ebx
push ebp
push eax
mov edi, eax
call sub.gdiplus.dll_GdipFillEllipseI
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
push ebp
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x58]
push ecx
call fcn.10007ec0
mov byte [esp + 0x78], 3
mov edi, dword [esp + 0x84]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x1001ae62
call fcn.10038059
mov ebp, dword [edi]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
lea esp, [esp]
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x1001ae7d
call fcn.10038059
mov eax, dword [edi]
cmp ebp, ebx
je 0x1001ae87
cmp ebp, eax
je 0x1001ae8c
call fcn.10038059
cmp dword [esp + 0x2c], esi
je 0x1001b072
mov ebp, dword [esp + 0x34]
sub esp, 8
mov esi, esp
mov dword [esp + 0x20], esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
cmp ebp, ebx
je 0x1001aeb8
lea edx, [ebp + 8]
mov eax, 1
lock xadd dword [edx], eax
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x1001aee8
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001aee8
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001aee8
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], ebp
mov dword [esi], ecx
mov byte [esp + 0x80], 4
mov ebp, dword [esp + 0x44]
sub esp, 8
mov esi, esp
mov dword [esp + 0x34], esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
cmp ebp, ebx
je 0x1001af1b
lea edx, [ebp + 8]
mov eax, 1
lock xadd dword [edx], eax
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x1001af4b
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001af4b
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001af4b
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], ebp
mov dword [esi], ecx
cmp eax, ebx
jne 0x1001afa5
call fcn.10038059
xor eax, eax
mov ebp, dword [esp + 0x3c]
cmp ebp, dword [eax + 0x10]
jb 0x1001af71
call fcn.10038059
mov edx, dword [esp + 0x98]
mov eax, dword [ebp]
push edx
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x94], 3
call fcn.1001aba0
add esp, 0x1c
mov edi, eax
mov byte [esp + 0x78], 5
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
jne 0x1001afa9
xor edx, edx
jmp 0x1001afb2
mov eax, dword [eax]
jmp 0x1001af63
mov edx, dword [esp + 0x6c]
sub edx, ecx
sar edx, 3
mov eax, dword [esp + 0x68]
mov esi, eax
sub esi, ecx
sar esi, 3
cmp esi, edx
mov esi, eax
jae 0x1001afea
mov ecx, dword [esp + 0x84]
mov byte [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
push edx
push ecx
push edi
push 1
push eax
call fcn.1001bef0
add esp, 0x14
add esi, 8
mov dword [esp + 0x68], esi
jmp 0x1001b008
cmp ecx, eax
jbe 0x1001aff3
call fcn.10038059
mov eax, dword [esp + 0x58]
push esi
push eax
push edi
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x68]
call fcn.1001b850
mov byte [esp + 0x78], 3
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x1001b03e
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001b03e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001b03e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x1001b06e
call fcn.10038059
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x1001b057
call fcn.10038059
mov edi, dword [esp + 0x84]
add ebp, 4
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x28]
jmp 0x1001ae70
mov eax, dword [eax]
jmp 0x1001b04d
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.1001a900
add esp, 4
mov byte [esp + 0x80], 6
mov esi, esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x8c], esp
mov ebp, eax
test eax, eax
je 0x1001b0bc
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov edi, dword [esi + 4]
test edi, edi
je 0x1001b0ec
lea edx, [edi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1001b0ec
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001b0ec
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x88]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
push edi
mov dword [esi + 4], ebp
mov dword [esi], ebx
call fcn.1001a7d0
add esp, 0xc
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], 1
test eax, eax
je 0x1001b14f
mov esi, eax
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001b14f
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001b14f
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x7c], 2
call fcn.1001b6b0
mov byte [esp + 0x78], 1
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1001b194
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001b194
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001b194
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esp + 0x78], 0
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x1001b1ca
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001b1ca
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001b1ca
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret