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

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x3c]
test esi, esi
je 0x410a9a
lea esp, [esp]
mov eax, dword [esi]
mov dword [edi + 0x3c], eax
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x4109f0
push dword [ebx]
call sub.gdiplus.dll_GdipDeleteFont_1
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esi + 8], 0
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x410a0b
push dword [ebx]
call sub.gdiplus.dll_GdipDeletePen_1
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x410a1f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x410a33
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x18], 0
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x410a4e
push dword [ebx]
call sub.gdiplus.dll_GdipDeletePath_1
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esi + 0x1c], 0
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x410a69
push dword [ebx]
call sub.gdiplus.dll_GdipDeleteMatrix_1
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esi + 0x20], 0
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x410a84
push dword [ebx]
call sub.gdiplus.dll_GdipDeleteMatrix_1
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esi + 0x24], 0
push esi
push 0
push dword [0x4857e4]
call ebp
mov esi, dword [edi + 0x3c]
test esi, esi
jne 0x4109d0
mov esi, dword [edi + 0x44]
test esi, esi
je 0x410b1b
mov eax, dword [esi]
mov dword [edi + 0x44], eax
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x410ac1
push dword [ebx]
call sub.gdiplus.dll_GdipDeleteGraphics_1
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esi + 4], 0
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x410adc
push dword [ebx]
call sub.gdiplus.dll_GdipDeleteMatrix_1
push ebx
call sub.gdiplus.dll_GdipFree
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x410af5
push 0x10
push eax
call fcn.00430002
add esp, 8
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x410b09
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x10], 0
push esi
push 0
push dword [0x4857e4]
call ebp
mov esi, dword [edi + 0x44]
test esi, esi
jne 0x410aa1
mov ecx, dword [edi + 0x64]
mov dword [edi + 0x40], 0
test ecx, ecx
je 0x410b36
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x64], 0
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x410b4a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x6c], 0
mov esi, dword [edi + 0x70]
test esi, esi
je 0x410b65
push dword [esi]
call sub.gdiplus.dll_GdipDeletePath_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x70], 0
mov eax, dword [edi + 0x50]
mov dword [edi + 0x68], 0
test eax, eax
je 0x410b85
push 8
push eax
call fcn.00430002
add esp, 8
mov dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
test eax, eax
je 0x410b9e
push 8
push eax
call fcn.00430002
add esp, 8
mov dword [edi + 0x54], 0
mov esi, dword [edi + 0x60]
test esi, esi
je 0x410bb9
push dword [esi]
call sub.gdiplus.dll_GdipDeletePen_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x60], 0
mov esi, dword [edi + 0x4c]
test esi, esi
je 0x410bd4
push dword [esi]
call sub.gdiplus.dll_GdipDeletePath_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x4c], 0
mov esi, dword [edi + 0x58]
test esi, esi
je 0x410bef
push dword [esi]
call sub.gdiplus.dll_GdipDeleteFont_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x58], 0
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x410c0a
push dword [esi]
call sub.gdiplus.dll_GdipDeleteStringFormat_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x5c], 0
mov esi, dword [edi + 0x48]
test esi, esi
je 0x410c25
push dword [esi]
call sub.gdiplus.dll_GdipDeleteGraphics_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x48], 0
mov esi, dword [edi + 0x74]
test esi, esi
je 0x410c40
push dword [esi]
call sub.gdiplus.dll_GdipDeleteMatrix_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x74], 0
mov esi, dword [edi + 0x78]
test esi, esi
je 0x410c5b
push dword [esi]
call sub.gdiplus.dll_GdipDeleteMatrix_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x78], 0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x410c76
push dword [esi]
call sub.gdiplus.dll_GdipDeleteMatrix_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x7c], 0
mov esi, dword [edi + 0x80]
test esi, esi
je 0x410c97
push dword [esi]
call sub.gdiplus.dll_GdipDeleteMatrix_1
push esi
call sub.gdiplus.dll_GdipFree
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x34]
test eax, eax
je 0x410cab
push edi
call eax
add esp, 4
mov dword [edi + 0x34], 0
fldz
fst qword [edi + 8]
fst qword [edi + 0x10]
fst qword [edi + 0x18]
fstp qword [edi + 0x20]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x88], 0
pop edi
pop esi
pop ebp
pop ebx
ret 4