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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005b58a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x10074118]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
push 4
call fcn.10040ebe
pop ecx
test eax, eax
je 0x10010830
lea ecx, [esp + 0x74]
mov dword [eax], ecx
jmp 0x10010832
xor eax, eax
mov dword [esp + 0x74], eax
and dword [esp + 0xa0], 0
call fcn.100132e9
mov dword [esp + 0x8c], eax
mov byte [eax + 0x14d], 1
mov eax, dword [esp + 0x8c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [eax], eax
mov eax, dword [esp + 0x8c]
mov dword [eax + 8], eax
and dword [esp + 0x90], 0
mov edi, dword [ebp + 8]
mov dword [esp + 0xa0], 1
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x3c]
call fcn.10012553
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x44]
call fcn.10012553
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x100108bf
cmp eax, dword [esp + 0x44]
je 0x100108c4
call fcn.10040d90
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x48]
je 0x10010a2b
lea esi, [esp + 0x1c]
call fcn.100211e2
push eax
lea ebx, [esp + 0x28]
lea edi, [esp + 0x78]
mov dword [esp + 0x1c], eax
call fcn.10011f43
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
lea edi, [esp + 0x4c]
mov esi, ebx
mov dword [esp + 0x4c], eax
call fcn.10007627
test al, al
jne 0x10010927
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add ecx, 0xc
call fcn.1000a1e4
test al, al
jne 0x10010927
mov eax, ebx
jmp 0x1001093e
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
lea edi, [esp + 0x2c]
lea esi, [esp + 0x5c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], eax
call fcn.10007627
test al, al
je 0x10010999
lea esi, [esp + 0x1c]
call fcn.100211e2
mov edi, eax
call fcn.100211e2
push eax
push ecx
push edi
lea eax, [esp + 0x80]
push eax
call fcn.100116e4
pop ecx
mov edi, eax
call fcn.1000fc99
jmp 0x100109fd
lea esi, [esp + 0x2c]
call fcn.1001d3de
mov edi, eax
mov eax, dword [edi + 0x114]
add edi, 0x100
mov dword [esp + 0x40], eax
mov eax, dword [edi]
lea esi, [esp + 0x1c]
mov dword [esp + 0x3c], eax
call fcn.100211e2
mov ebx, 0xe4
add eax, ebx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
call fcn.100211e2
push dword [esp + 0x38]
add eax, ebx
push dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push edi
call fcn.100136a1
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10010a27
call fcn.10040d90
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x10010a1a
call fcn.10040d90
add dword [esp + 0x20], 0x124
jmp 0x100108a0
mov eax, dword [eax]
jmp 0x10010a0c
mov eax, edi
call fcn.100114c1
push esi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
lea edi, [esp + 0x5c]
lea esi, [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.10007627
test al, al
jne 0x10010aca
call fcn.1001d3de
add eax, 0x1c
lea ebx, [eax + 0x100]
add eax, 0x1c
push eax
call fcn.1000f859
test eax, eax
je 0x10010abf
call fcn.1001d3de
add eax, 0x1c
push eax
mov eax, dword [ebp + 8]
call fcn.1001145f
lea esi, [esp + 0x1c]
call fcn.10011fba
jmp 0x10010a6f
push dword [esp + 0x14]
call sub.gdiplus.dll_GdiplusShutdown
or dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x74]
push eax
call fcn.100117b0
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4