Function at 0x45e7d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0x4ffd80
mov dword [esp + 0x20], edi
mov esi, dword [edi + 4]
add esi, 0x2638
test eax, eax
jne 0x45e80b
mov ebx, dword [0x4db2d0]
jmp 0x45e818
mov ebx, dword [0x4db2d0]
push 0x4ffd80
call ebx
push 0x4ffd80
push eax
mov ecx, esi
call fcn.00407780
mov ecx, dword [0x4eb4c0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], 0
call dword [0x4db324]
push eax
lea edx, [esp + 0x18]
push 0x4ebed8
push edx
call fcn.00410b60
mov eax, dword [0x4eb4c0]
mov dword [esp + 0x18], eax
mov ecx, dword [0x6deeac]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x4f2150
push 0x88
mov byte [esp + 0x54], 1
call fcn.0043ed20
mov eax, dword [esp + 0x28]
add esp, 0x1c
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x45eb96
mov esi, dword [edi + 8]
mov ecx, 0x4f2134
test ecx, ecx
push ebp
mov dword [esp + 0x28], esi
je 0x45ea57
push ecx
call ebx
mov ebp, eax
test ebp, ebp
je 0x45ea57
test esi, esi
jne 0x45e8b4
mov dword [esp + 0x14], esi
jmp 0x45e8bb
push esi
call ebx
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x20], eax
jae 0x45ea57
mov edi, dword [0x4db3ec]
push 0x4f2134
push esi
call edi
add esp, 8
test eax, eax
je 0x45e8ff
lea esi, [eax + ebp*2]
push 0x4f2134
push esi
inc ebx
call edi
add esp, 8
test eax, eax
jne 0x45e8ec
push esi
call dword [0x4db2d0]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x20]
cmp esi, eax
jb 0x45e8d7
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x45ea53
lea ecx, [esp + 0x10]
call fcn.00407680
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebx, ebp
imul ebx, dword [esp + 0x20]
mov eax, dword [esi - 8]
mov dword [esp + 0x1c], eax
add ebx, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x30], ebx
cmp eax, ebx
jl 0x45e950
cmp dword [esi - 0xc], 1
jle 0x45e994
lea edi, [esi - 0xc]
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edi
call fcn.00407580
test eax, eax
je 0x45ea53
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00407650
mov esi, dword [esp + 0x10]
mov edi, dword [0x4db3ec]
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x20], eax
jae 0x45ea50
jmp 0x45e9ae
mov edi, dword [0x4db3ec]
push 0x4f2134
push esi
call edi
mov edi, eax
add esp, 8
test edi, edi
je 0x45ea35
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x1c]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebp
lea ecx, [edi + ebp*2]
lea ebx, [eax + eax]
lea eax, [esi + edi]
push ebx
push ecx
push eax
mov dword [esp + 0x38], eax
call dword [0x4db3e4]
mov ecx, esi
mov esi, dword [esp + 0x34]
mov edx, ecx
mov eax, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebp
and ecx, 3
push 0x4f2134
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3c]
push esi
mov word [ebx + esi], 0
mov ebx, dword [esp + 0x30]
add ebx, eax
mov dword [esp + 0x30], ebx
call dword [0x4db3ec]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x45e9bf
mov ebx, dword [esp + 0x30]
push esi
call dword [0x4db2d0]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x20]
cmp esi, eax
jb 0x45e9a8
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
push ecx
push 0x4f211c
lea ecx, [esp + 0x18]
call fcn.004078f0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
push 0x4ebed0
call fcn.004078f0
push 0x68ea4c
lea eax, [esp + 0x28]
push 0x4f2118
push eax
call fcn.00442820
push 0x4f2118
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0x48], 2
call fcn.004426a0
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push 0x4f20f8
mov byte [esp + 0x44], 3
call fcn.004078f0
mov eax, dword [esp + 0x44]
mov ecx, dword [str.GdiplusStartup]
mov esi, dword [0x4db2cc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x45eaed
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45eaed
mov eax, dword [esp + 0x44]
add eax, 0xfffffff4
push eax
call fcn.004d2ea5
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [str.GdiplusStartup]
mov byte [esp + 0x3c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45eb1d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x45eb1d
mov edx, dword [esp + 0x24]
lea eax, [edx - 0xc]
push eax
call fcn.004d2ea5
add esp, 4
mov eax, dword [esp + 0x10]
mov ebx, dword [0x4db538]
push eax
call ebx
push 0x4ebea0
mov esi, eax
call ebx
mov ecx, dword [edi + 0x10]
mov ebx, eax
push ebx
push esi
push ecx
call fcn.0043dd80
mov ebp, dword [0x4db53c]
add esp, 0xc
test esi, esi
je 0x45eb50
push esi
call ebp
test ebx, ebx
je 0x45eb57
push ebx
call ebp
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
mov esi, dword [edx + 0x2638]
call fcn.00407750
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00407750
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.00407750
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00407750
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4