Function at 0x413da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53ffad
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x594aa4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
call fcn.004278a0
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov edi, dword [esp + 0x7c]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x413de8
call fcn.00481387
mov ebx, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
cmp dword [edi + 0xc], eax
jbe 0x413e03
call fcn.00481387
mov eax, dword [edi]
cmp ebx, ebp
je 0x413e0d
cmp ebx, eax
je 0x413e12
call fcn.00481387
cmp esi, dword [esp + 0x18]
je 0x413fea
cmp ebx, ebp
jne 0x413e3c
call fcn.00481387
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x413e31
call fcn.00481387
cmp dword [esi + 0x18], 8
jb 0x413e40
mov eax, dword [esi + 4]
jmp 0x413e43
mov eax, dword [ebx]
jmp 0x413e27
lea eax, [esi + 4]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x413f4b
push 0x10
call fcn.00446843
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x413f4b
lea eax, [esi + 4]
mov dword [eax], vtable.IStreamGetSize.0
mov dword [esi + 8], ebp
lea edx, [esp + 0x24]
mov dword [eax], vtable.CFileInStream.1.0
mov dword [esi], vtable.CFileInStream.0
mov dword [esi + 0xc], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebp
jne 0x413fb6
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
mov dword [esp + 0x1c], esi
call edx
mov byte [esp + 0x70], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
push esi
mov dword [esp + 0x48], esi
call ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x44]
lea ebx, [esp + 0x2c]
mov byte [esp + 0x70], 4
call fcn.00414510
mov byte [esp + 0x70], 3
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [esp + 0x70], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x413f47
call fcn.00481387
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x413f2f
call fcn.00481387
add dword [esp + 0x20], 0x1c
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x20]
xor ebp, ebp
jmp 0x413df2
mov eax, dword [eax]
jmp 0x413f21
mov dword [esp + 0x70], 1
mov esi, dword [esp + 0x38]
cmp esi, ebp
je 0x413f87
mov eax, dword [esp + 0x3c]
mov edi, eax
cmp esi, eax
je 0x413f7e
mov eax, dword [esi]
cmp eax, ebp
je 0x413f73
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
add esi, 0x20
cmp esi, edi
jne 0x413f65
mov esi, dword [esp + 0x38]
push esi
call fcn.0044687d
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.0044687d
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
lea ebx, [esp + 0x2c]
mov dword [esp + 0x70], 2
call fcn.00414640
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044687d
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push 0x40
call fcn.00446843
mov esi, eax
add esp, 4
mov dword [esp + 0x7c], esi
mov byte [esp + 0x70], 5
cmp esi, ebp
je 0x414032
mov dword [esi + 4], vtable.IStreamGetSize.0
mov dword [esi + 8], ebp
lea eax, [esi + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov dword [esi], vtable.CMultiStream.0
mov dword [esi + 4], vtable.CMultiStream.1.0
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
call fcn.0041c550
jmp 0x414034
xor esi, esi
push esi
mov byte [esp + 0x74], 0
call fcn.0041c170
cmp esi, ebp
je 0x41404b
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov edi, dword [esp + 0x78]
mov eax, dword [edi]
cmp eax, ebp
je 0x41405d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], esi
mov dword [esp + 0x70], 6
mov esi, dword [esp + 0x38]
cmp esi, ebp
je 0x4140a2
mov eax, dword [esp + 0x3c]
mov edi, eax
cmp esi, eax
je 0x414099
lea esp, [esp]
mov eax, dword [esi]
cmp eax, ebp
je 0x41408e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esi, 0x20
cmp esi, edi
jne 0x414080
mov esi, dword [esp + 0x38]
push esi
call fcn.0044687d
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.0044687d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret