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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102ba4a6
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa4]
xor ebx, ebx
cmp edi, ebx
mov esi, ecx
je 0x101da04d
mov ebp, dword [esp + 0xa8]
cmp ebp, ebx
je 0x101da04d
mov eax, dword [edi]
lea ecx, [esi + 0x194]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov dword [esi + 0x36c], 1
mov edx, dword [edi]
push 8
mov ecx, edi
mov dword [esp + 0x4c], eax
call dword [edx + 0x34]
mov ecx, dword [esi + 0x314]
mov eax, dword [esi + 0x310]
mov edx, dword [edi]
push ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [edx + 0x48]
mov ecx, dword [esi + 0x31c]
mov eax, dword [esi + 0x318]
mov edx, dword [edi]
push ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [edx + 0x40]
mov eax, dword [esi + 0x37c]
mov ecx, dword [esi + 0x378]
mov edx, dword [edi]
neg eax
push eax
lea eax, [esp + 0x20]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x38]
mov ecx, dword [esi + 0x3e8]
mov edx, dword [esi + 0x3e0]
neg ecx
neg edx
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, edi
call fcn.102abb56
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x24], ebx
mov ecx, dword [esi + 0x310]
mov edx, dword [esi + 0x3e4]
mov eax, dword [esi + 0x3e0]
sub ecx, edx
sub ecx, eax
push ebp
mov dword [ebp + 0x2c], ecx
mov edx, dword [esi + 0x3d8]
mov dword [ebp + 0x30], edx
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xe4]
mov ecx, dword [esi + 0x3d8]
lea edx, [esp + 0x1c]
neg ecx
push ecx
push ebx
push edx
mov ecx, edi
call fcn.102abba2
mov eax, dword [esi + 0x3f0]
lea ecx, [esp + 0x1c]
neg eax
push eax
push ebx
push ecx
mov ecx, edi
call fcn.102abba2
mov ecx, esi
call fcn.101d6030
neg eax
push eax
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, edi
call fcn.102abba2
mov eax, dword [esi + 0x110]
mov dword [esp + 0x34], ebx
mov ebx, dword [esi + 0x3c4]
mov dword [esi + 0x3bc], eax
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x18], 1
div ebx
mov edx, ebx
imul edx, eax
sub ecx, edx
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x101d9948
inc eax
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x101d9950
mov dword [esp + 0x14], ebx
mov ecx, ebx
mov edx, dword [esi + 0x110]
mov ebx, dword [esi + 0x10c]
dec ecx
cmp edx, ebx
mov dword [esp + 0x14], ecx
jge 0x101d99d1
mov ebx, dword [esp + 0x34]
jmp 0x101d9973
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], eax
jge 0x101d99d1
mov eax, dword [esi + 0x3bc]
mov ecx, esi
push eax
call fcn.101d5ef0
add ebx, eax
mov eax, dword [esi + 0x30c]
cmp ebx, eax
jle 0x101d99b4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x101d99cd
mov ecx, dword [esi + 0x3bc]
push ecx
mov ecx, esi
call fcn.101d5ef0
mov ebx, eax
mov edx, dword [esi + 0x3bc]
mov ecx, dword [esi + 0x10c]
inc edx
mov eax, edx
mov dword [esi + 0x3bc], edx
cmp eax, ecx
jl 0x101d996b
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x118]
mov dword [esp + 0x10], 0
test ecx, ecx
mov dword [esi + 0x3b8], eax
jle 0x101d9a3f
mov dword [esp + 0x18], ecx
mov ebx, dword [esi + 0x3b8]
mov eax, dword [esi + 0x114]
cmp ebx, eax
jge 0x101d9a34
push ebx
mov ecx, esi
call fcn.101d5f20
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esi + 0x3b4]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jg 0x101d9a26
mov eax, dword [esi + 0x114]
inc ebx
cmp ebx, eax
jl 0x101d99fd
jmp 0x101d9a34
mov dword [esi + 0x3b8], ebx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x101d99ed
mov edx, dword [esi]
push ebp
push edi
mov ecx, esi
call dword [edx + 0xec]
mov eax, dword [esi + 0x118]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x101d9a7c
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.101d5f20
mov ecx, dword [esi + 0x118]
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x101d9a5b
mov ecx, esi
call fcn.101d6030
mov dword [ebp + 0x30], eax
mov eax, dword [esi + 0x118]
mov ecx, dword [esi + 0x3b8]
cmp ecx, eax
mov ecx, esi
jne 0x101d9afd
call fcn.101d6030
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
mov ecx, edi
call fcn.102abba2
mov ecx, dword [esi + 0x3b4]
mov edx, dword [esi]
add ecx, ebx
push ebp
mov dword [esi + 0x3b4], ecx
push edi
mov ecx, esi
mov dword [esi + 0x3b8], 0
call dword [edx + 0xe0]
mov eax, dword [esi + 0x3b4]
mov ecx, esi
sub eax, ebx
mov dword [esi + 0x3b4], eax
mov eax, dword [esi + 0x118]
mov dword [esi + 0x3b8], eax
call fcn.101d6030
neg eax
neg ebx
push eax
push ebx
lea eax, [esp + 0x24]
jmp 0x101d9b2e
call fcn.101d6030
neg ebx
push eax
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, edi
call fcn.102abba2
mov edx, dword [esi]
push ebp
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ecx, esi
call fcn.101d6030
neg eax
push eax
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.102abba2
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x3bc]
cmp eax, edx
jge 0x101da04d
or ecx, 0xffffffff
cmp eax, edx
mov dword [esp + 0x18], 1
jge 0x101d9ff8
jmp 0x101d9b63
mov ecx, dword [esp + 0x30]
lea ebx, [ecx + 1]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.101d5ef0
mov ecx, dword [esi + 0x30c]
lea eax, [eax + ebx - 1]
cmp eax, ecx
mov dword [esp + 0x30], eax
jg 0x101d9ff8
xor edx, edx
or ebp, 0xffffffff
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0x102fcddc
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x344]
push eax
push ecx
push edx
mov dword [esp + 0xa8], edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call fcn.102ac221
mov ecx, dword [edi + 8]
push 1
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.102ac20c
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
mov dword [esp + 0x38], eax
call fcn.102ab829
mov ebx, dword [esi + 0x3b8]
mov eax, dword [esi + 0x114]
cmp ebx, eax
jge 0x101d9f95
inc ebp
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebp
call fcn.101d5f20
lea ebp, [eax + ebp - 1]
mov eax, dword [esi + 0x3b4]
cmp ebp, eax
jg 0x101d9f5f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x3bc]
mov dword [esp + 0x3c], ecx
test eax, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
jl 0x101d9cf6
cmp eax, dword [esi + 0x10c]
jge 0x101d9cf6
test ebx, ebx
jl 0x101d9cf6
cmp ebx, dword [esi + 0x114]
jge 0x101d9cf6
mov ecx, dword [esi + 0x1ac]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x101d9cf6
mov edx, dword [ecx + 4]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
mov dword [esp + 0x14], ecx
je 0x101d9cf6
push ebx
push eax
mov ecx, esi
call fcn.101dc820
test eax, eax
jne 0x101d9cf6
mov ecx, dword [esi + 0x3bc]
lea eax, [esp + 0x38]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.101dc910
mov edx, dword [esp + 0x14]
test eax, eax
mov eax, dword [edx]
je 0x101d9cc7
mov edx, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x54]
jmp 0x101d9ce0
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov ecx, dword [esi + 0x3bc]
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
push edi
call dword [eax + 0xb4]
mov eax, dword [esi + 0xc8]
cmp eax, 3
je 0x101d9d0a
cmp eax, 1
jne 0x101d9e1a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
xor ecx, ecx
push edx
test ebx, ebx
setne cl
sub eax, ecx
mov ecx, edi
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x74]
push eax
call fcn.102abd66
mov ecx, dword [esi + 0x3bc]
push ebx
push ecx
mov ecx, esi
call fcn.101dc820
test eax, eax
jne 0x101d9d53
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101db670
test eax, eax
je 0x101d9d91
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, edi
call fcn.102abd66
mov ecx, dword [esi + 0x3bc]
push ebx
push ecx
mov ecx, esi
call fcn.101dce40
cmp eax, 1
je 0x101d9d91
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101dce40
cmp eax, 3
jne 0x101d9d9e
mov eax, dword [esp + 0x30]
mov ecx, edi
push eax
push ebp
call fcn.102abdb2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x101d9dcf
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea eax, [ecx - 1]
mov ecx, edi
push eax
lea eax, [esp + 0x60]
push edx
push eax
call fcn.102abd66
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 1]
mov ecx, edi
push eax
push ebp
call fcn.102abdb2
mov edx, dword [esi + 0x114]
dec edx
cmp ebx, edx
je 0x101d9df1
lea eax, [ebx + 1]
mov ecx, esi
push eax
call fcn.101d5f20
mov ecx, dword [esi + 0x3b4]
add eax, ebp
cmp eax, ecx
jle 0x101d9e1a
cmp dword [esi + 0xc8], 1
jne 0x101d9e1a
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x7c]
dec ecx
push ecx
push ebp
push edx
mov ecx, edi
call fcn.102abd66
mov eax, dword [esp + 0x30]
mov ecx, edi
push eax
push ebp
call fcn.102abdb2
mov eax, dword [esi + 0xc8]
cmp eax, 3
je 0x101d9e2e
cmp eax, 2
jne 0x101d9f4e
mov eax, dword [esi + 0x3bc]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x28]
setne cl
sub eax, ecx
lea ecx, [esp + 0x8c]
push eax
push ebp
push ecx
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.102abd66
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101dc820
test eax, eax
jne 0x101d9e83
mov eax, dword [esi + 0x3bc]
push ebx
push eax
mov ecx, esi
call fcn.101db670
test eax, eax
jne 0x101d9e83
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x101d9ec5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x84]
push edx
push ebp
push eax
mov ecx, edi
call fcn.102abd66
mov ecx, dword [esi + 0x3bc]
push ebx
push ecx
mov ecx, esi
call fcn.101dce40
cmp eax, 2
je 0x101d9ec0
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101dce40
cmp eax, 3
jne 0x101d9ecd
mov eax, dword [esp + 0x30]
push eax
push ebp
mov ecx, edi
call fcn.102abdb2
test ebx, ebx
jne 0x101d9ef8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, edi
call fcn.102abd66
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, edi
call fcn.102abdb2
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi + 0x3bc]
dec ecx
cmp eax, ecx
je 0x101d9f22
inc eax
mov ecx, esi
push eax
call fcn.101d5ef0
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x30c]
add eax, edx
cmp eax, ecx
jle 0x101d9f4e
cmp dword [esi + 0xc8], 2
jne 0x101d9f4e
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, edi
call fcn.102abd66
mov edx, dword [esp + 0x30]
mov ecx, edi
push edx
push ebp
call fcn.102abdb2
mov eax, dword [esi + 0x114]
inc ebx
cmp ebx, eax
jl 0x101d9bf5
jmp 0x101d9f95
mov eax, dword [esp + 0x28]
mov ecx, esi
dec eax
push eax
push ebx
call fcn.101d5f20
mov ecx, ebp
lea edx, [esp + 0x50]
sub ecx, eax
push ecx
push edx
mov ecx, edi
call fcn.102abd66
mov eax, dword [esp + 0x30]
mov ecx, esi
push eax
push ebx
call fcn.101d5f20
sub ebp, eax
mov ecx, edi
push ebp
call fcn.102abdb2
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, edi
call fcn.102ab829
mov edx, dword [esi + 0x3bc]
mov dword [esp + 0x18], 0
inc edx
mov dword [esp + 0x1c], 0x102fcd44
mov dword [esi + 0x3bc], edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9c], 1
call fcn.102ac278
mov eax, dword [esi + 0x3bc]
mov ecx, dword [esi + 0x10c]
mov ebp, dword [esp + 0xa8]
cmp eax, ecx
mov dword [esp + 0x9c], 0xffffffff
jl 0x101d9b5f
mov edx, dword [esi + 0x3dc]
mov dword [ebp + 0x30], edx
mov eax, dword [esi + 0x3dc]
mov ecx, dword [esi + 0x314]
lea edx, [esp + 0x4c]
sub eax, ecx
mov ecx, dword [esi + 0x3e0]
neg ecx
push eax
push ecx
push edx
mov ecx, edi
call fcn.102abb56
mov eax, dword [esi]
push ebp
push edi
mov ecx, esi
call dword [eax + 0xe8]
push 0
lea ecx, [esp + 0x58]
push 0
push ecx
mov ecx, edi
call fcn.102abb56
mov eax, dword [esp + 0x48]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret 8