Function at 0x48def0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d923b
push eax
mov eax, 0x1054
mov dword fs:[0], esp
call fcn.004d2ec0
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x1074]
lea ecx, [esp + 0x1c]
push eax
push 0x4eb504
push 0x823
push ecx
call dword [0x4db400]
mov edx, dword [0x4eb4c0]
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x1088]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x107c], ebp
lea eax, [esi + 0xc]
push eax
push 0x4fa9d4
push ecx
call fcn.004afc20
lea edx, [esp + 0x30]
push edx
push 0x4fa9d4
push eax
call fcn.004afc20
mov dword [esp + 0x40], eax
mov eax, dword [0x4eb4c0]
mov ecx, 0x4fa9d0
add esp, 0x28
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x48dfeb
push ecx
call dword [0x4db31c]
mov edi, eax
cmp edi, ebp
je 0x48dfeb
push edi
lea ecx, [esp + 0x14]
call fcn.00407580
test eax, eax
je 0x48dfeb
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
cmp eax, ebp
mov edi, ecx
jne 0x48dfc6
cmp ecx, ebp
jne 0x48dfe0
push eax
push ecx
push 0xffffffffffffffff
push 0x4fa9d0
push ebp
push ebp
call dword [0x4db320]
cmp eax, ebp
jle 0x48dfe0
mov word [edi + eax*2 - 2], bp
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00410780
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [0x4db3e8]
mov edx, dword [str.GdiplusStartup]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48e032
add eax, 0xfffffff4
push eax
call dword [0x4db2cc]
test eax, eax
jg 0x48e032
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d2ea5
add esp, 4
test bl, bl
je 0x48e03f
mov dword [esi + 8], 1
jmp 0x48e042
mov dword [esi + 8], ebp
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push 0x4fa9d4
push ecx
call fcn.004afc20
lea ebp, [esi + 0x18]
push ebp
push 0x4fa9d4
push eax
call fcn.004afc20
add esi, 0x14
push esi
push 0x4fa9d4
push eax
call fcn.004afc20
mov esi, dword [ebp]
add esp, 0x24
cmp dword [esi - 0xc], 1
jle 0x48e0ad
mov ecx, ebp
call fcn.00407610
mov edx, dword [esi - 8]
mov ecx, ebp
push edx
call fcn.00407580
test eax, eax
je 0x48e0ad
mov eax, dword [esi - 8]
mov edi, dword [ebp]
lea ecx, [eax + eax + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp]
mov edi, dword [0x4db44c]
mov ax, word [esi]
push eax
call edi
mov ebx, dword [0x4db764]
add esp, 4
test eax, eax
je 0x48e0db
push esi
call ebx
mov esi, eax
mov ax, word [esi]
push eax
call edi
add esp, 4
test eax, eax
jne 0x48e0c9
mov eax, dword [ebp]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
lea edx, [edi + edi + 2]
push edx
push esi
push eax
call dword [0x4db3e4]
mov eax, dword [ebp]
add esp, 0xc
mov dword [eax - 8], edi
mov esi, dword [ebp]
cmp dword [esi - 0xc], 1
jle 0x48e136
mov ecx, ebp
call fcn.00407610
mov ecx, dword [esi - 8]
push ecx
mov ecx, ebp
call fcn.00407580
test eax, eax
je 0x48e136
mov edx, dword [esi - 8]
mov edi, dword [ebp]
lea ecx, [edx + edx + 2]
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 edi, dword [ebp]
xor esi, esi
mov ax, word [edi]
test ax, ax
je 0x48e179
push eax
call dword [0x4db44c]
add esp, 4
test eax, eax
je 0x48e159
test esi, esi
jne 0x48e15b
mov esi, edi
jmp 0x48e15b
xor esi, esi
push edi
call ebx
mov edi, eax
mov ax, word [edi]
test ax, ax
jne 0x48e143
test esi, esi
je 0x48e179
mov word [esi], ax
mov ebp, dword [ebp]
sub esi, ebp
sar esi, 1
mov dword [ebp - 8], esi
mov eax, dword [esp + 0x14]
mov edx, dword [str.GdiplusStartup]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x48e1ac
add eax, 0xfffffff4
push eax
call dword [0x4db2cc]
test eax, eax
jg 0x48e1ac
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.004d2ea5
add esp, 4
mov ecx, dword [esp + 0x1054]
mov dword fs:[0], ecx
add esp, 0x1060
ret