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

Disassembly:
push 0xffffffffffffffff
push 0x10051fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10066060]
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.1001a340
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 0x1001a997
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.1001b8d0
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 0x1001aa06
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.1000dcb0
mov byte [esp + 0x78], 3
mov edi, dword [esp + 0x84]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x1001aa42
call fcn.100378c0
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 0x1001aa5d
call fcn.100378c0
mov eax, dword [edi]
cmp ebp, ebx
je 0x1001aa67
cmp ebp, eax
je 0x1001aa6c
call fcn.100378c0
cmp dword [esp + 0x2c], esi
je 0x1001ac52
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 0x1001aa98
lea edx, [ebp + 8]
mov eax, 1
lock xadd dword [edx], eax
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x1001aac8
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001aac8
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 0x1001aac8
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 0x1001aafb
lea edx, [ebp + 8]
mov eax, 1
lock xadd dword [edx], eax
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x1001ab2b
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001ab2b
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 0x1001ab2b
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 0x1001ab85
call fcn.100378c0
xor eax, eax
mov ebp, dword [esp + 0x3c]
cmp ebp, dword [eax + 0x10]
jb 0x1001ab51
call fcn.100378c0
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.1001a780
add esp, 0x1c
mov edi, eax
mov byte [esp + 0x78], 5
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
jne 0x1001ab89
xor edx, edx
jmp 0x1001ab92
mov eax, dword [eax]
jmp 0x1001ab43
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 0x1001abca
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.1001ba70
add esp, 0x14
add esi, 8
mov dword [esp + 0x68], esi
jmp 0x1001abe8
cmp ecx, eax
jbe 0x1001abd3
call fcn.100378c0
mov eax, dword [esp + 0x58]
push esi
push eax
push edi
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x68]
call fcn.1001b430
mov byte [esp + 0x78], 3
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x1001ac1e
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001ac1e
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 0x1001ac1e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x1001ac4e
call fcn.100378c0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x1001ac37
call fcn.100378c0
mov edi, dword [esp + 0x84]
add ebp, 4
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x28]
jmp 0x1001aa50
mov eax, dword [eax]
jmp 0x1001ac2d
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.1001a4e0
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 0x1001ac9c
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov edi, dword [esi + 4]
test edi, edi
je 0x1001accc
lea edx, [edi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1001accc
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 0x1001accc
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.1001a3b0
add esp, 0xc
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], 1
test eax, eax
je 0x1001ad2f
mov esi, eax
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001ad2f
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 0x1001ad2f
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.1001b290
mov byte [esp + 0x78], 1
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1001ad74
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001ad74
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 0x1001ad74
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 0x1001adaa
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001adaa
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 0x1001adaa
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