Function at 0x10049370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x48
mov eax, dword [0x10077064]
xor eax, esp
mov dword [esp + 0x44], eax
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 8], 0
test edi, edi
jne 0x100493a1
xor eax, eax
pop edi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10056b14
add esp, 0x48
ret
push ebx
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x10049650
cmp dword [edi + 0x34], 0
je 0x10049650
mov eax, dword [edi + 0xc]
mov ecx, eax
push ebp
mov ebp, dword [edi + 8]
imul ecx, ebp
cmp dword [ebx + 0xc], 3
mov dword [esp + 0x34], eax
push esi
lea eax, [ecx + ecx]
cmovne ecx, eax
lea eax, [esp + 0x18]
push ecx
push eax
call fcn.10055920
add esp, 8
test eax, eax
je 0x1004960b
lea eax, [esp + 0x14]
push eax
push 1
push edi
call fcn.1004a630
add esp, 0xc
test eax, eax
je 0x10049607
mov esi, dword [edi + 0x58]
test esi, esi
je 0x1004943b
push 0xbc
push 0
push esi
call fcn.10058090
add esp, 0xc
mov dword [esi + 4], 0x42c60000
mov dword [esi + 8], 0x42c60000
mov dword [esi + 0xc], 0x42c60000
mov dword [esi + 0x10], 0x42c60000
mov dword [esi + 0x14], 0x42c60000
mov eax, dword [edi + 8]
mov esi, dword [edi + 0xc]
dec eax
push 0xe
push eax
lea eax, [esp + 0x20]
dec esi
push eax
call fcn.10055a70
push 0xe
lea eax, [esp + 0x28]
push esi
push eax
call fcn.10055a70
add esp, 0x18
cmp dword [esp + 0x2c], 0
jne 0x1004960b
push edi
call sym.libwebp.dll_WebPPictureHasTransparency
push 1
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10055a70
push 3
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.10055a70
add esp, 0x1c
cmp dword [esp + 0x2c], 0
jne 0x1004960b
lea eax, [esp + 0x14]
push eax
push 2
push edi
call fcn.1004a630
add esp, 0xc
test eax, eax
je 0x10049607
push 1
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
call fcn.10049670
add esp, 0x10
test eax, eax
je 0x10049616
lea eax, [esp + 0x14]
push eax
push 0x63
push edi
call fcn.1004a630
add esp, 0xc
test eax, eax
je 0x10049607
lea eax, [esp + 0x18]
push eax
call fcn.100558d0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], eax
push edi
push 0x15
lea esi, [esi + 7]
mov dword [esp + 0x48], 0x46464952
sar esi, 3
sub esi, dword [esp + 0x2c]
add esi, dword [esp + 0x30]
mov dword [esp + 0x50], 0x50424557
mov dword [esp + 0x54], 0x4c385056
mov byte [esp + 0x5c], 0x2f
lea ecx, [esi + 1]
mov ebx, ecx
lea edx, [ecx + 0xc]
and ebx, 1
add edx, ebx
movzx eax, dx
mov byte [esp + 0x4c], al
shr eax, 8
mov byte [esp + 0x4d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x4e], al
sar eax, 8
mov byte [esp + 0x4f], al
movzx eax, cx
mov byte [esp + 0x58], al
shr eax, 8
mov byte [esp + 0x59], al
lea eax, [esp + 0x48]
shr ecx, 0x10
mov byte [esp + 0x5a], cl
sar ecx, 8
push eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x44], edx
mov byte [esp + 0x5f], cl
call eax
add esp, 0x10
test eax, eax
je 0x100495ae
mov eax, dword [edi + 0x48]
push edi
push esi
push dword [esp + 0x38]
call eax
add esp, 0xc
test eax, eax
je 0x100495ae
test ebx, ebx
je 0x100495b2
push edi
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push 1
push eax
mov eax, dword [edi + 0x48]
call eax
add esp, 0xc
test eax, eax
jne 0x100495b2
push 8
jmp 0x1004960d
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push 0x64
push edi
add esi, 8
call fcn.1004a630
add esp, 0xc
test eax, eax
je 0x10049607
mov eax, dword [edi + 0x58]
test eax, eax
je 0x100495df
add dword [eax], esi
mov eax, dword [edi + 0x58]
mov dword [eax + 0xa8], esi
mov edx, dword [edi + 0x54]
test edx, edx
je 0x10049616
mov ecx, dword [esp + 0x38]
lea eax, [ebp + 0xf]
add ecx, 0xf
sar eax, 4
sar ecx, 4
imul ecx, eax
push ecx
push 0
push edx
call fcn.10058090
add esp, 0xc
jmp 0x10049616
push 0xa
jmp 0x1004960d
push 1
push edi
call fcn.1004a620
add esp, 8
cmp dword [esp + 0x2c], 0
pop esi
pop ebp
je 0x1004962a
push 1
push edi
call fcn.1004a620
add esp, 8
lea eax, [esp + 0x10]
push eax
call fcn.10055a40
add esp, 4
xor eax, eax
cmp dword [edi + 0x5c], eax
sete al
pop ebx
pop edi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10056b14
add esp, 0x48
ret
push 3
push edi
call fcn.1004a620
mov ecx, dword [esp + 0x54]
add esp, 8
xor eax, eax
pop ebx
pop edi
xor ecx, esp
call fcn.10056b14
add esp, 0x48
ret