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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102bb586
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 0x101db12d
mov ebp, dword [esp + 0xa8]
cmp ebp, ebx
je 0x101db12d
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.102acc36
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.102acc82
mov eax, dword [esi + 0x3f0]
lea ecx, [esp + 0x1c]
neg eax
push eax
push ebx
push ecx
mov ecx, edi
call fcn.102acc82
mov ecx, esi
call fcn.101d7110
neg eax
push eax
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, edi
call fcn.102acc82
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 0x101daa28
inc eax
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x101daa30
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 0x101daab1
mov ebx, dword [esp + 0x34]
jmp 0x101daa53
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], eax
jge 0x101daab1
mov eax, dword [esi + 0x3bc]
mov ecx, esi
push eax
call fcn.101d6fd0
add ebx, eax
mov eax, dword [esi + 0x30c]
cmp ebx, eax
jle 0x101daa94
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x101daaad
mov ecx, dword [esi + 0x3bc]
push ecx
mov ecx, esi
call fcn.101d6fd0
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 0x101daa4b
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x118]
mov dword [esp + 0x10], 0
test ecx, ecx
mov dword [esi + 0x3b8], eax
jle 0x101dab1f
mov dword [esp + 0x18], ecx
mov ebx, dword [esi + 0x3b8]
mov eax, dword [esi + 0x114]
cmp ebx, eax
jge 0x101dab14
push ebx
mov ecx, esi
call fcn.101d7000
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esi + 0x3b4]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jg 0x101dab06
mov eax, dword [esi + 0x114]
inc ebx
cmp ebx, eax
jl 0x101daadd
jmp 0x101dab14
mov dword [esi + 0x3b8], ebx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x101daacd
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 0x101dab5c
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.101d7000
mov ecx, dword [esi + 0x118]
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x101dab3b
mov ecx, esi
call fcn.101d7110
mov dword [ebp + 0x30], eax
mov eax, dword [esi + 0x118]
mov ecx, dword [esi + 0x3b8]
cmp ecx, eax
mov ecx, esi
jne 0x101dabdd
call fcn.101d7110
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
mov ecx, edi
call fcn.102acc82
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.101d7110
neg eax
neg ebx
push eax
push ebx
lea eax, [esp + 0x24]
jmp 0x101dac0e
call fcn.101d7110
neg ebx
push eax
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, edi
call fcn.102acc82
mov edx, dword [esi]
push ebp
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ecx, esi
call fcn.101d7110
neg eax
push eax
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.102acc82
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x3bc]
cmp eax, edx
jge 0x101db12d
or ecx, 0xffffffff
cmp eax, edx
mov dword [esp + 0x18], 1
jge 0x101db0d8
jmp 0x101dac43
mov ecx, dword [esp + 0x30]
lea ebx, [ecx + 1]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.101d6fd0
mov ecx, dword [esi + 0x30c]
lea eax, [eax + ebx - 1]
cmp eax, ecx
mov dword [esp + 0x30], eax
jg 0x101db0d8
xor edx, edx
or ebp, 0xffffffff
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0x102fe464
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.102ad301
mov ecx, dword [edi + 8]
push 1
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.102ad2ec
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
mov dword [esp + 0x38], eax
call fcn.102ac909
mov ebx, dword [esi + 0x3b8]
mov eax, dword [esi + 0x114]
cmp ebx, eax
jge 0x101db075
inc ebp
push ebx
mov ecx, esi
mov dword [esp + 0x28], ebp
call fcn.101d7000
lea ebp, [eax + ebp - 1]
mov eax, dword [esi + 0x3b4]
cmp ebp, eax
jg 0x101db03f
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 0x101dadd6
cmp eax, dword [esi + 0x10c]
jge 0x101dadd6
test ebx, ebx
jl 0x101dadd6
cmp ebx, dword [esi + 0x114]
jge 0x101dadd6
mov ecx, dword [esi + 0x1ac]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x101dadd6
mov edx, dword [ecx + 4]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
mov dword [esp + 0x14], ecx
je 0x101dadd6
push ebx
push eax
mov ecx, esi
call fcn.101dd900
test eax, eax
jne 0x101dadd6
mov ecx, dword [esi + 0x3bc]
lea eax, [esp + 0x38]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.101dd9f0
mov edx, dword [esp + 0x14]
test eax, eax
mov eax, dword [edx]
je 0x101dada7
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 0x101dadc0
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 0x101dadea
cmp eax, 1
jne 0x101daefa
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.102ace46
mov ecx, dword [esi + 0x3bc]
push ebx
push ecx
mov ecx, esi
call fcn.101dd900
test eax, eax
jne 0x101dae33
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101dc750
test eax, eax
je 0x101dae71
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.102ace46
mov ecx, dword [esi + 0x3bc]
push ebx
push ecx
mov ecx, esi
call fcn.101ddf20
cmp eax, 1
je 0x101dae71
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101ddf20
cmp eax, 3
jne 0x101dae7e
mov eax, dword [esp + 0x30]
mov ecx, edi
push eax
push ebp
call fcn.102ace92
mov eax, dword [esp + 0x18]
test eax, eax
je 0x101daeaf
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.102ace46
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 1]
mov ecx, edi
push eax
push ebp
call fcn.102ace92
mov edx, dword [esi + 0x114]
dec edx
cmp ebx, edx
je 0x101daed1
lea eax, [ebx + 1]
mov ecx, esi
push eax
call fcn.101d7000
mov ecx, dword [esi + 0x3b4]
add eax, ebp
cmp eax, ecx
jle 0x101daefa
cmp dword [esi + 0xc8], 1
jne 0x101daefa
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x7c]
dec ecx
push ecx
push ebp
push edx
mov ecx, edi
call fcn.102ace46
mov eax, dword [esp + 0x30]
mov ecx, edi
push eax
push ebp
call fcn.102ace92
mov eax, dword [esi + 0xc8]
cmp eax, 3
je 0x101daf0e
cmp eax, 2
jne 0x101db02e
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.102ace46
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101dd900
test eax, eax
jne 0x101daf63
mov eax, dword [esi + 0x3bc]
push ebx
push eax
mov ecx, esi
call fcn.101dc750
test eax, eax
jne 0x101daf63
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x101dafa5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x84]
push edx
push ebp
push eax
mov ecx, edi
call fcn.102ace46
mov ecx, dword [esi + 0x3bc]
push ebx
push ecx
mov ecx, esi
call fcn.101ddf20
cmp eax, 2
je 0x101dafa0
mov edx, dword [esi + 0x3bc]
push ebx
push edx
mov ecx, esi
call fcn.101ddf20
cmp eax, 3
jne 0x101dafad
mov eax, dword [esp + 0x30]
push eax
push ebp
mov ecx, edi
call fcn.102ace92
test ebx, ebx
jne 0x101dafd8
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.102ace46
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, edi
call fcn.102ace92
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi + 0x3bc]
dec ecx
cmp eax, ecx
je 0x101db002
inc eax
mov ecx, esi
push eax
call fcn.101d6fd0
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x30c]
add eax, edx
cmp eax, ecx
jle 0x101db02e
cmp dword [esi + 0xc8], 2
jne 0x101db02e
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.102ace46
mov edx, dword [esp + 0x30]
mov ecx, edi
push edx
push ebp
call fcn.102ace92
mov eax, dword [esi + 0x114]
inc ebx
cmp ebx, eax
jl 0x101dacd5
jmp 0x101db075
mov eax, dword [esp + 0x28]
mov ecx, esi
dec eax
push eax
push ebx
call fcn.101d7000
mov ecx, ebp
lea edx, [esp + 0x50]
sub ecx, eax
push ecx
push edx
mov ecx, edi
call fcn.102ace46
mov eax, dword [esp + 0x30]
mov ecx, esi
push eax
push ebx
call fcn.101d7000
sub ebp, eax
mov ecx, edi
push ebp
call fcn.102ace92
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, edi
call fcn.102ac909
mov edx, dword [esi + 0x3bc]
mov dword [esp + 0x18], 0
inc edx
mov dword [esp + 0x1c], 0x102fe3cc
mov dword [esi + 0x3bc], edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9c], 1
call fcn.102ad358
mov eax, dword [esi + 0x3bc]
mov ecx, dword [esi + 0x10c]
mov ebp, dword [esp + 0xa8]
cmp eax, ecx
mov dword [esp + 0x9c], 0xffffffff
jl 0x101dac3f
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.102acc36
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.102acc36
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