Function at 0x4d51c0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a135a
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x5a8]
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7f0], eax
call fcn.004a57f0
push 4
lea eax, [ebp - 0x524]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x5a8]
call fcn.004a7020
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044d830
push eax
push 0x5c08e4
call fcn.0054dd61
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x524]
mov esi, eax
call fcn.00462810
test esi, esi
jne 0x4d549f
xor eax, eax
push 0x200
push eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x7a8]
push eax
call fcn.0053c7b0
push 0x200
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.0053c7b0
push 0x200
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0053c7b0
push 0x100
lea eax, [ebp - 0x220]
push eax
push 0x100
lea eax, [ebp - 0x420]
push eax
push 0x100
lea eax, [ebp - 0x7a8]
push eax
push 3
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
call fcn.00555c90
add esp, 0x48
lea eax, [ebp - 0x220]
push 0x5c08e4
push eax
call fcn.0054dd61
add esp, 8
test eax, eax
jne 0x4d549f
lea ecx, [ebp - 0x524]
call fcn.004a5820
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
mov ecx, 0x5ab0c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d5329
test dx, dx
je 0x4d5325
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d5329
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d5303
xor eax, eax
jmp 0x4d532e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d5343
call fcn.004a9570
push eax
lea ecx, [ebp - 0x524]
call fcn.004a5a60
push dword [ebp + 0x10]
lea ecx, [ebp - 0x524]
call fcn.004a5cf0
push 0x50
push 0
push 0
push 1
lea ecx, [ebp - 0x524]
call fcn.0044d830
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
mov dword [ebp - 0x7c8], edi
test edi, edi
je 0x4d5490
push 0x98
call fcn.004a3da5
mov esi, eax
add esp, 4
mov dword [ebp - 0x7fc], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4d53a4
lea ecx, [esi + 0x10]
call fcn.004a5820
jmp 0x4d53a6
xor esi, esi
lea eax, [ebp - 0x434]
push eax
push edi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
jne 0x4d53bf
xor edi, edi
jmp 0x4d5471
mov eax, dword [ebp - 0x430]
push 0
lea edi, [eax + eax]
mov eax, dword [ebp - 0x42c]
add eax, eax
mov dword [ebp - 0x7d4], edi
mov dword [ebp - 0x7ec], eax
mov dword [esi + 4], edi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x7f0], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x7ec]
mov dword [ebp - 0x7e8], eax
push edi
push dword [ebp - 0x7f0]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
test edi, edi
je 0x4d53b8
push edi
push dword [ebp - 0x7e8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 3
push 0
push 0
push dword [ebp - 0x7ec]
push dword [ebp - 0x7d4]
push dword [ebp - 0x7c8]
push 0
push 0
push dword [ebp - 0x7e8]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 0x7e8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x7f0]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x7c8]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x524]
mov dword [esi], edi
mov byte [esi + 0xc], 1
mov dword [esi + 0x94], eax
call fcn.00462810
jmp 0x4d5e84
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0
call fcn.00462810
mov eax, dword [ebp - 0x7f0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7cc], 0
mov dword [ebp - 0x7d8], 0
test eax, eax
jne 0x4d579d
call fcn.004a9570
push eax
lea ecx, [ebp - 0x524]
call fcn.004a5730
mov byte [ebp - 4], 4
call fcn.004a9580
mov ecx, eax
call fcn.004a66f0
test al, al
je 0x4d55df
push dword [ebp + 0x10]
lea ecx, [ebp - 0x524]
call fcn.004a5cf0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x524]
call fcn.0044d830
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d553f
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0
call fcn.00462810
jmp 0x4d581d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x7d8], eax
test eax, eax
jne 0x4d5569
push esi
call edi
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0
call fcn.00462810
jmp 0x4d581d
push 0x610b3a
push eax
mov dword [ebp - 0x7c8], 0
call fcn.004a4984
add esp, 8
mov dword [ebp - 0x7cc], eax
lea ecx, [ebp - 0x7c8]
push 0
push ecx
push dword [ebp - 0x7d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call edi
mov eax, dword [ebp - 0x7c8]
cmp eax, dword [ebp - 0x7d8]
je 0x4d552b
push dword [ebp - 0x7cc]
call fcn.004a3dec
add esp, 4
lea ecx, [ebp - 0x524]
mov dword [ebp - 0x7cc], 0
mov byte [ebp - 4], 0
call fcn.00462810
jmp 0x4d581d
call fcn.004a9580
push eax
lea ecx, [ebp - 0x524]
call fcn.004a5cd0
call fcn.004a9720
test al, al
je 0x4d575c
call fcn.004a9590
mov esi, eax
test esi, esi
jne 0x4d561b
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], al
call fcn.00462810
jmp 0x4d581d
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov eax, dword [ebp + 0x10]
mov edx, eax
mov dword [ebp - 0x424], 7
lea ecx, [edx + 2]
mov dword [ebp - 0x7d4], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4d5646
sub edx, dword [ebp - 0x7d4]
lea ecx, [ebp - 0x438]
sar edx, 1
push edx
push eax
call fcn.00413b10
lea eax, [ebp - 0x7c0]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x7c8]
push eax
lea eax, [ebp - 0x438]
push eax
push esi
call fcn.004da450
mov edx, dword [ebp - 0x424]
add esp, 0x10
test eax, eax
mov byte [ebp - 4], 4
sete al
mov byte [ebp - 0x7c1], al
cmp edx, 8
jb 0x4d56dd
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d56cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d6122
push edx
push ecx
call fcn.004a3dd5
mov al, byte [ebp - 0x7c1]
add esp, 8
test al, al
je 0x4d56f5
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0
call fcn.00462810
jmp 0x4d581d
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x7d8], eax
test eax, eax
jne 0x4d5718
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], al
call fcn.00462810
jmp 0x4d581d
push 0x610b3a
push eax
call fcn.004a4984
push dword [ebp - 0x7d8]
mov dword [ebp - 0x7cc], eax
push eax
push dword [ebp - 0x7c8]
push esi
call fcn.004da280
add esp, 0x18
test eax, eax
jne 0x4d552b
push 1
push dword [ebp - 0x7cc]
call fcn.004a3dd5
add esp, 8
jmp 0x4d55c1
lea eax, [ebp - 0x7d8]
push eax
lea eax, [ebp - 0x7cc]
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x524]
call fcn.0044d830
push eax
call fcn.004dcdc0
add esp, 0x10
test eax, eax
jns 0x4d552b
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0
call fcn.00462810
jmp 0x4d5823
push eax
push dword [ebp + 0x10]
call fcn.004a9560
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4d581d
push esi
call fcn.004a9560
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x7d4], eax
push esi
test eax, eax
je 0x4d5817
call fcn.004a9560
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x7d8], eax
test eax, eax
je 0x4d581d
push 0x610b3a
push eax
call fcn.004a4984
add esp, 8
mov dword [ebp - 0x7cc], eax
push dword [ebp - 0x7d8]
push dword [ebp - 0x7d4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [ebp - 0x7cc]
call fcn.0053bcb0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [ebp - 0x7cc], 0
jne 0x4d58d9
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 0x10]
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x4d5864
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x7d8], eax
test eax, eax
jne 0x4d5874
push esi
call edi
cmp dword [ebp - 0x7cc], 0
jne 0x4d58d9
xor esi, esi
jmp 0x4d5e84
push 0x610b3a
push eax
mov dword [ebp - 0x7c8], 0
call fcn.004a4984
add esp, 8
mov dword [ebp - 0x7cc], eax
lea ecx, [ebp - 0x7c8]
push 0
push ecx
push dword [ebp - 0x7d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call edi
mov eax, dword [ebp - 0x7c8]
cmp eax, dword [ebp - 0x7d8]
je 0x4d5864
push dword [ebp - 0x7cc]
call fcn.004a3dec
add esp, 4
mov dword [ebp - 0x7cc], 0
xor esi, esi
jmp 0x4d5e84
lea ecx, [ebp - 0x7f8]
xor edi, edi
call fcn.00566e60
push 4
lea eax, [ebp - 0x524]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x5a8]
mov byte [ebp - 0x7cd], 1
call fcn.004a7020
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0044d830
push eax
push str..svg
call fcn.0054dd61
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x524]
mov esi, eax
call fcn.00462810
test esi, esi
jne 0x4d5a67
push dword [ebp - 0x7d8]
lea eax, [ebp - 0x7c8]
push dword [ebp - 0x7cc]
push eax
call fcn.00567030
add esp, 0xc
mov esi, dword [ebp - 0x7c8]
mov byte [ebp - 4], 8
test esi, esi
je 0x4d5a4b
push edi
mov ecx, esi
call fcn.00567020
call fcn.0058e630
mov ecx, dword [ebp - 0x7ec]
push eax
call fcn.004a8c10
mov ecx, eax
call fcn.004a7650
push eax
mov ecx, esi
call fcn.005675f0
call fcn.0058e630
mov ecx, dword [ebp - 0x7ec]
push eax
call fcn.004a8c10
mov ecx, eax
call fcn.004a7650
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.005672c0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], edi
mov dword [eax + 4], edi
mov esi, dword [ebp - 0x7f4]
mov dword [ebp - 0x7f8], ecx
mov dword [ebp - 0x7f4], edx
test esi, esi
je 0x4d59f2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4d59f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4d59f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x18]
call fcn.00415e60
lea ecx, [ebp - 0x7f8]
call fcn.005675e0
lea ecx, [ebp - 0x7f8]
mov dword [ebp - 0x7e0], eax
call fcn.00567010
push 1
push 3
push 2
push 1
push 0
lea ecx, [ebp - 0x7f8]
mov dword [ebp - 0x7e4], eax
call fcn.00566f00
lea ecx, [ebp - 0x7f8]
call fcn.00566ff0
mov esi, dword [ebp - 0x7c8]
mov edi, eax
mov byte [ebp - 0x7cd], 0
mov byte [ebp - 4], 6
test esi, esi
je 0x4d5a94
mov ecx, esi
call fcn.004110f0
push 4
push esi
call fcn.004a3dd5
add esp, 8
jmp 0x4d5a94
push 4
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x7e0]
push eax
push dword [ebp - 0x7d8]
push dword [ebp - 0x7cc]
call fcn.0050d190
add esp, 0x18
mov edi, eax
push dword [ebp - 0x7cc]
call fcn.004a3dec
add esp, 4
test edi, edi
je 0x4d5e56
mov edx, dword [ebp - 0x7e4]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x7e0]
mov eax, edx
push 0
neg eax
imul edx, ecx
push 0
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x7dc]
push eax
push 0
lea eax, [ebp - 0x474]
shl edx, 2
push eax
push 0
movlpd qword [ebp - 0x45c], xmm0
movlpd qword [ebp - 0x454], xmm0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x474], 0x28
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x468], 0x200001
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], edx
mov byte [ebp - 0x7c1], 0
mov dword [ebp - 0x7dc], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x7e8], eax
test eax, eax
je 0x4d5e56
mov ecx, dword [ebp - 0x7e4]
xor esi, esi
imul ecx, dword [ebp - 0x7e0]
test ecx, ecx
jle 0x4d5c59
nop
mov eax, dword [ebp - 0x7dc]
mov cl, byte [edi + esi*4 + 3]
mov byte [eax + esi*4 + 3], cl
mov ecx, dword [ebp - 0x7dc]
cmp byte [ecx + esi*4 + 3], 0xff
jae 0x4d5be5
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4 + 2]
imul ecx, eax
mov eax, 0x80808081
mov byte [ebp - 0x7c1], 1
mul ecx
mov eax, dword [ebp - 0x7dc]
shr edx, 7
mov byte [eax + esi*4], dl
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4 + 1]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x7dc]
shr edx, 7
mov byte [eax + esi*4 + 1], dl
movzx eax, byte [edi + esi*4 + 3]
movzx ecx, byte [edi + esi*4]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x7dc]
shr edx, 7
mov byte [eax + esi*4 + 2], dl
jmp 0x4d5c09
mov al, byte [edi + esi*4 + 2]
mov byte [ecx + esi*4], al
mov eax, dword [ebp - 0x7dc]
movzx ecx, byte [edi + esi*4 + 1]
mov byte [eax + esi*4 + 1], cl
mov eax, dword [ebp - 0x7dc]
movzx ecx, byte [edi + esi*4]
mov byte [eax + esi*4 + 2], cl
mov eax, dword [ebp - 0x7dc]
mov ecx, dword [ebp + 0x18]
cmp dword [eax + esi*4], ecx
jne 0x4d5c43
mov byte [eax + esi*4], 0
mov eax, dword [ebp - 0x7dc]
mov byte [ebp - 0x7c1], 1
mov byte [eax + esi*4 + 1], 0
mov eax, dword [ebp - 0x7dc]
mov byte [eax + esi*4 + 2], 0
mov eax, dword [ebp - 0x7dc]
mov byte [eax + esi*4 + 3], 0
mov eax, dword [ebp - 0x7e4]
inc esi
imul eax, dword [ebp - 0x7e0]
cmp esi, eax
jl 0x4d5b60
cmp byte [ebp - 0x7cd], 0
je 0x4d5c6b
push edi
call fcn.004a40f0
add esp, 4
push 0
push 0x5c08fc
lea ecx, [ebp - 0x5a8]
mov esi, 0x64
call fcn.004a6010
cmp eax, 0xffffffff
je 0x4d5cc8
push 0xffffffffffffffff
add eax, 3
lea ecx, [ebp - 0x5a8]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.004a67c0
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 9
call fcn.0044d830
push eax
call fcn.0054dd0d
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x524]
mov esi, eax
call fcn.00462810
mov ecx, dword [ebp - 0x7ec]
call fcn.004a8c10
mov ecx, eax
call fcn.004a7420
mov edi, eax
cmp esi, edi
je 0x4d60cc
cmp byte [ebp - 0x7cd], 0
je 0x4d60cc
mov ecx, dword [ebp - 0x7ec]
call fcn.004a8c10
mov ecx, eax
call fcn.004a7420
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [ebp - 0x7e4]
sub esp, 8
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5ac150]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
divss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x7e0]
mulss xmm2, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x7d4], xmm2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00555940
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 0x7d4]
cvtps2pd xmm0, xmm0
mov dword [ebp - 0x7e0], esi
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00555940
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [ebp - 0x7e4], eax
cmp edi, 0xc8
jle 0x4d6000
cmp byte [ebp + 8], 0
je 0x4d6000
push 0
push 0
mov dword [ebp - 0x498], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x7c8]
movlpd qword [ebp - 0x490], xmm0
push eax
push 0
lea eax, [ebp - 0x4a0]
movlpd qword [ebp - 0x488], xmm0
push eax
push 0
movlpd qword [ebp - 0x480], xmm0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x4a0], 0x28
mov dword [ebp - 0x49c], esi
mov dword [ebp - 0x494], 0x200001
mov dword [ebp - 0x7c8], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp dword [ebp - 0x7c8], 0
mov esi, eax
mov dword [ebp - 0x7fc], esi
je 0x4d5e56
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x7f0], eax
push esi
test eax, eax
jne 0x4d5eac
call dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
mov edi, dword [ebp - 0x7f4]
test edi, edi
je 0x4d5e84
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4d5e84
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x4d5e84
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea ecx, [ebp - 0x5a8]
call fcn.00462810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
call edi
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.004ccf90
push dword [ebp - 0x7e8]
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0xa
call fcn.004d42e0
mov eax, dword [ebp - 0x7e0]
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x7e4]
push 0
sub esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [ebp - 0x20]
push dword [ebp - 0x7f0]
movups xmmword [eax], xmm0
call fcn.004cdf50
push esi
mov esi, dword [ebp - 0x7f0]
push esi
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x7e8]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x448]
call fcn.004ccf90
push dword [ebp - 0x7fc]
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0xb
call fcn.004d42e0
mov dword [ebp - method.FCImageEffect.virtual_0], 0x5c08cc
push 0
lea eax, [ebp - 0x7d4]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x448]
call fcn.004cd5d0
push 0
push 0x20
lea ecx, [ebp - 0x448]
call fcn.004cd740
mov dword [ebp - method.FCImageEffect.virtual_0], 0x5c08b0
push 0
lea eax, [ebp - 0x7ec]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x448]
call fcn.004cd5d0
lea ecx, [ebp - 0x448]
call fcn.004cdf30
lea ecx, [ebp - 0x448]
mov dword [ebp - method.FCImageEffect.virtual_0], vtable.FCImageEffect.0
mov edi, eax
mov dword [ebp - method.FCImageEffect.virtual_0], vtable.FCImageEffect.0
mov dword [ebp - method.FCObjImage.virtual_0], vtable.FCObjImage.0
call fcn.004cdec0
lea ecx, [ebp - 0x828]
mov dword [ebp - method.FCObjGraph.virtual_0], vtable.FCObjGraph.0
mov dword [ebp - method.FCObjImage.virtual_0], vtable.FCObjImage.0
call fcn.004cdec0
jmp 0x4d60d2
lea ecx, [ebp - 0x448]
call fcn.004ccf90
mov esi, dword [ebp - 0x7e8]
lea ecx, [ebp - 0x448]
push esi
mov byte [ebp - 4], 0xe
call fcn.004d42e0
push 0
push dword [ebp - 0x7e4]
lea ecx, [ebp - 0x448]
push dword [ebp - 0x7e0]
call fcn.004d63c0
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - method.FCImageEffect.virtual_0], 0x5c08cc
push 0
lea eax, [ebp - 0x7c8]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x448]
call fcn.004cd5d0
mov dword [ebp - method.FCImageEffect.virtual_0], 0x5c08b0
push 0
push 0x20
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0x10
call fcn.004cd740
push 0
lea eax, [ebp - 0x7d4]
push eax
lea ecx, [ebp - 0x448]
call fcn.004cd5d0
lea ecx, [ebp - 0x448]
call fcn.004cdf30
lea ecx, [ebp - 0x448]
mov dword [ebp - method.FCImageEffect.virtual_0], vtable.FCImageEffect.0
mov edi, eax
mov dword [ebp - method.FCImageEffect.virtual_0], vtable.FCImageEffect.0
mov dword [ebp - method.FCObjImage.virtual_0], vtable.FCObjImage.0
call fcn.004cdec0
jmp 0x4d60d2
mov edi, dword [ebp - 0x7e8]
push 0x610b3a
push 0x98
call fcn.004a40f5
mov esi, eax
add esp, 8
mov dword [ebp - 0x7fc], esi
mov byte [ebp - 4], 0x11
test esi, esi
je 0x4d60fe
lea ecx, [esi + 0x10]
call fcn.004a5820
jmp 0x4d6100
xor esi, esi
mov dword [esi], edi
mov eax, dword [ebp - 0x7e0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x7e4]
mov dword [esi + 8], eax
mov al, byte [ebp - 0x7c1]
mov byte [esi + 0xc], al
jmp 0x4d5e58
call fcn.0053fae3
int3