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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10059a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x10071118]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
push 4
call fcn.1003f622
pop ecx
test eax, eax
je 0x100102a0
lea ecx, [esp + 0x74]
mov dword [eax], ecx
jmp 0x100102a2
xor eax, eax
mov dword [esp + 0x74], eax
and dword [esp + 0xa0], 0
call fcn.10012de3
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.1001990b
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.1001990b
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x1001032f
cmp eax, dword [esp + 0x44]
je 0x10010334
call fcn.1003f4f4
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x48]
je 0x1001049b
lea esi, [esp + 0x1c]
call fcn.100210ba
push eax
lea ebx, [esp + 0x28]
lea edi, [esp + 0x78]
mov dword [esp + 0x1c], eax
call fcn.10011a1c
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.10021085
test al, al
jne 0x10010397
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add ecx, 0xc
call fcn.10009ee9
test al, al
jne 0x10010397
mov eax, ebx
jmp 0x100103ae
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.10021085
test al, al
je 0x10010409
lea esi, [esp + 0x1c]
call fcn.100210ba
mov edi, eax
call fcn.100210ba
push eax
push ecx
push edi
lea eax, [esp + 0x80]
push eax
call fcn.1001119f
pop ecx
mov edi, eax
call fcn.1000f709
jmp 0x1001046d
lea esi, [esp + 0x2c]
call fcn.10029c2c
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.100210ba
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.100210ba
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.1001319b
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10010497
call fcn.1003f4f4
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x1001048a
call fcn.1003f4f4
add dword [esp + 0x20], 0x124
jmp 0x10010310
mov eax, dword [eax]
jmp 0x1001047c
mov eax, edi
call fcn.10010f79
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.10021085
test al, al
jne 0x1001053a
call fcn.10029c2c
add eax, 0x1c
lea ebx, [eax + 0x100]
add eax, 0x1c
push eax
call fcn.1000f2c9
test eax, eax
je 0x1001052f
call fcn.10029c2c
add eax, 0x1c
push eax
mov eax, dword [ebp + 8]
call fcn.10010f17
lea esi, [esp + 0x1c]
call fcn.10011a93
jmp 0x100104df
push dword [esp + 0x14]
call sub.gdiplus.dll_GdiplusShutdown
or dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x74]
push eax
call fcn.1001126b
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