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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100737f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10091ef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x1001d868
jmp 0x1001db24
cmp dword [ebp + 8], 0
jne 0x1001d877
mov dword [ebp - 0x58], 0
jmp 0x1001d880
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x1001d88b
jmp 0x1001db24
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x78]
push edx
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.100477ac
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], vtable.CFont.0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x54]
add eax, 0x58
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x18], 0x10
jb 0x1001d8db
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
mov dword [ebp - 0x5c], eax
jmp 0x1001d8e4
mov ecx, dword [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x54]
push edx
lea ecx, [ebp - 0x20]
call fcn.100480a6
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.100476f0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x74]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x18], eax
push 1
mov ecx, dword [ebp + 8]
call fcn.10046b71
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x54]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x1001d9a5
mov edx, dword [ebp - 0x54]
movzx eax, byte [edx + 0x15]
test eax, eax
jne 0x1001d96d
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x48]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x1001d979
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x50]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x3c]
push ecx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp + 8]
call fcn.10047096
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.10046c4e
jmp 0x1001d9f4
mov eax, dword [ebp - 0x54]
movzx ecx, byte [eax + 0x15]
test ecx, ecx
jne 0x1001d9be
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x4c]
sub eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x1001d9ca
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x44]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10047096
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x40]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10046c4e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.1001e140
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx + 0x7c]
call fcn.10027700
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
fld qword [ecx + 0x20]
fcomp qword [eax + 0x18]
fnstsw ax
test ah, 0x44
jp 0x1001da38
mov edx, dword [ebp - 0x54]
sub esp, 8
fld qword [edx + 0x20]
fstp qword [esp]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.1001db40
jmp 0x1001da7e
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
call eax
fstp qword [ebp - 0x3c]
sub esp, 8
fld qword [ebp - 0x3c]
fstp qword [esp]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.1001db40
lea edx, [ebp - 0x3c]
push edx
sub esp, 8
fld qword [ebp - 0x3c]
fstp qword [esp]
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x1001da48
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x7c]
call fcn.10027720
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100476f0
lea ecx, [ebp - 0x28]
call fcn.1004766b
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
call eax
lea ecx, [ebp - 0x20]
call fcn.1004766b
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10046b71
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], vtable.CFont.0
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1004766b
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], vtable.CPen.0
mov dword [ebp - 0x28], vtable.CGdiObject.0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1004766b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4