Function at 0x300589e0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.30073450
lea ecx, [esi + 0x10]
call fcn.30073450
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x20], eax
mov edi, dword [eax + 0xd6c]
mov ecx, esi
call fcn.300252a0
mov dword [esi + 0x28], eax
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x34]
test al, al
je 0x30058c80
push str.AssetCache
mov ecx, esi
call fcn.30073a50
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x40]
test al, al
jne 0x30058a48
mov ecx, esi
call fcn.300735b0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
push esi
lea ecx, [esp + 0x28]
call fcn.30073250
lea ecx, [esp + 0x38]
call fcn.30073450
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov bl, 1
mov byte [esp + 0x74], 0
call dword [eax + 0x24]
mov ebp, eax
test ebp, ebp
je 0x30058ad7
lea esp, [esp]
test bl, bl
je 0x30058ac3
cmp dword [esp + 0x34], 1
jne 0x30058aa2
lea ecx, [esp + 0x38]
call fcn.30073410
push eax
call fcn.3005ca90
add esp, 4
cmp eax, 8
je 0x30058ab3
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
push ebp
mov ecx, edi
call dword [eax + 0x28]
mov bl, al
jmp 0x30058a80
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov bl, 1
call fcn.30073a30
jmp 0x30058ac7
mov bl, byte [esp + 0x6c]
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x2c]
test bl, bl
jne 0x30058c57
lea ecx, [esp + 0x10]
push 8
push ecx
mov byte [esp + 0x50], 0x41
mov byte [esp + 0x51], 0x42
mov byte [esp + 0x52], 0x43
mov byte [esp + 0x53], 0x44
mov byte [esp + 0x54], 0x45
mov byte [esp + 0x55], 0x46
mov byte [esp + 0x56], 0x47
mov byte [esp + 0x57], 0x48
mov byte [esp + 0x58], 0x4a
mov byte [esp + 0x59], 0x4b
mov byte [esp + 0x5a], 0x4c
mov byte [esp + 0x5b], 0x4d
mov byte [esp + 0x5c], 0x4e
mov byte [esp + 0x5d], 0x50
mov byte [esp + 0x5e], 0x51
mov byte [esp + 0x5f], 0x52
mov byte [esp + 0x60], 0x53
mov byte [esp + 0x61], 0x54
mov byte [esp + 0x62], 0x55
mov byte [esp + 0x63], 0x56
mov byte [esp + 0x64], 0x57
mov byte [esp + 0x65], 0x58
mov byte [esp + 0x66], 0x59
mov byte [esp + 0x67], 0x5a
mov byte [esp + 0x68], 0x32
mov byte [esp + 0x69], 0x33
mov byte [esp + 0x6a], 0x34
mov byte [esp + 0x6b], 0x35
mov byte [esp + 0x6c], 0x36
mov byte [esp + 0x6d], 0x37
mov byte [esp + 0x6e], 0x38
mov byte [esp + 0x6f], 0x39
call fcn.3002e0e0
add esp, 8
test al, al
je 0x30058c32
xor ecx, ecx
mov cl, byte [esp + 0x11]
xor edx, edx
mov dl, byte [esp + 0x10]
mov byte [esp + 0x20], 0
and ecx, 0x1f
and edx, 0x1f
mov al, byte [esp + edx + 0x48]
mov dl, byte [esp + ecx + 0x48]
mov byte [esp + 0x18], al
xor eax, eax
mov al, byte [esp + 0x12]
mov byte [esp + 0x19], dl
xor edx, edx
mov dl, byte [esp + 0x13]
and eax, 0x1f
mov cl, byte [esp + eax + 0x48]
mov byte [esp + 0x1a], cl
and edx, 0x1f
mov al, byte [esp + edx + 0x48]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cl, al
movsx eax, ah
and eax, 0x1f
mov al, byte [esp + eax + 0x48]
mov byte [esp + 0x1d], al
mov ax, word [esp + 0x16]
and ecx, 0x1f
mov dl, byte [esp + ecx + 0x48]
xor ecx, ecx
mov cl, al
movsx eax, ah
mov byte [esp + 0x1c], dl
and eax, 0x1f
mov al, byte [esp + eax + 0x48]
and ecx, 0x1f
mov dl, byte [esp + ecx + 0x48]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], al
call fcn.30073a50
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x40]
test al, al
jne 0x30058c57
mov ecx, esi
call fcn.300735b0
lea ecx, [esp + 0x38]
call fcn.300731a0
lea ecx, [esp + 0x24]
call fcn.300731a0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
lea edi, [esi + 0x10]
push esi
mov ecx, edi
call fcn.30073280
push 0x30297940
mov ecx, edi
call fcn.30073a50
lea ecx, [esp + 0x38]
call fcn.300731a0
lea ecx, [esp + 0x24]
call fcn.300731a0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x1c]
mov cl, byte [eax + 0x904]
test cl, cl
je 0x30058cb6
mov ecx, dword [eax + 0x908]
test ecx, ecx
jne 0x30058cb6
mov ecx, esi
call fcn.30025570
test eax, eax
jbe 0x30058cb6
mov ecx, esi
call fcn.30025570
push eax
push 1
mov ecx, esi
call fcn.300586f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4