Function at 0x442495
Capabilities:
Create thread
Get file size
Resume thread

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x14]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x74]
push edx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], 0x54
mov ecx, dword [eax]
push edx
push eax
mov ebp, 0x800c0011
call dword [ecx + 0xc]
test eax, eax
jl 0x4427e3
test byte [esp + 0x10], 0x40
je 0x4427e3
mov ebx, dword [esp + 0x6c]
lea edi, [esi + 0x224]
push 0x103
push edi
push ebx
mov ecx, esi
call fcn.00442e60
test eax, eax
mov dword [esp + 0x6c], eax
je 0x4427e3
push str.application_x_shockwave_flash
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4427d6
mov eax, dword [esp + 0x6c]
lea edi, [esi + 0x1c]
mov ecx, dword [eax + 8]
push ecx
push 0x5394a4
push 0x103
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0
push 0x20
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x14], eax
je 0x4427d6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [esp + 0x70]
mov dword [esi + 0x18], eax
push edi
mov edx, dword [edi]
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x430], edi
mov ecx, dword [eax + 0x40]
push ecx
push ebx
mov ecx, esi
call fcn.004423c0
push 0x579748
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x579760]
test eax, eax
jne 0x4425f4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edx, [esp + 0x74]
mov dword [0x579760], eax
push edx
push 4
push 0
push 0x442310
push 0
push 0
mov dword [esp + 0x8c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4425f4
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x579740]
mov ecx, dword [0x579744]
sub ecx, eax
mov dword [esp + 0x74], esi
sar ecx, 2
cmp ecx, 1
mov esi, eax
jae 0x44270a
mov edx, dword [0x57973c]
test edx, edx
je 0x442632
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jbe 0x442632
mov ecx, eax
sub ecx, edx
sar ecx, 2
jmp 0x442637
mov ecx, 1
test edx, edx
jne 0x44263f
xor eax, eax
jmp 0x442644
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x70], eax
jge 0x442650
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [0x57973c]
add esp, 4
mov ebp, eax
cmp ebx, esi
mov edi, ebp
je 0x442682
push ebx
push edi
call fcn.0046e240
add ebx, 4
add esp, 8
add edi, 4
cmp ebx, esi
jne 0x44266e
lea eax, [esp + 0x74]
mov ecx, 0x579738
push eax
push 1
push edi
call fcn.004f0140
mov ecx, dword [0x579740]
add edi, 4
push edi
push ecx
push esi
mov ecx, 0x579738
call fcn.004f0110
mov edx, dword [0x579740]
mov eax, dword [0x57973c]
push edx
push eax
mov ecx, 0x579738
call fcn.004d6ab0
mov ecx, dword [0x57973c]
push ecx
call fcn.0051d19a
mov edx, dword [esp + 0x74]
mov ecx, dword [0x57973c]
add esp, 4
lea eax, [ebp + edx*4]
test ecx, ecx
mov dword [0x579744], eax
jne 0x4426eb
xor eax, eax
jmp 0x4426f5
mov eax, dword [0x579740]
sub eax, ecx
sar eax, 2
lea ecx, [ebp + eax*4 + 4]
mov dword [0x57973c], ebp
mov dword [0x579740], ecx
jmp 0x4427af
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, 1
jae 0x442765
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, 0x579738
call fcn.004f0110
mov eax, dword [0x579740]
lea edx, [esp + 0x74]
mov ecx, eax
push edx
sub ecx, esi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, 0x579738
push edx
push eax
call fcn.004f0140
mov ecx, dword [0x579740]
mov eax, esi
cmp esi, ecx
je 0x4427a8
mov edx, dword [esp + 0x74]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x442756
jmp 0x4427a8
push eax
push eax
add eax, 0xfffffffc
mov ecx, 0x579738
push eax
call fcn.004f0110
mov eax, dword [0x579740]
mov ecx, eax
add eax, 0xfffffffc
cmp esi, eax
je 0x442792
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x442783
lea ecx, [esi + 4]
mov eax, esi
cmp esi, ecx
je 0x4427a8
mov edx, dword [esp + 0x74]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x44279b
add dword [0x579740], 4
push 0x579748
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x78]
mov dword [eax], 1
mov ecx, dword [0x579760]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebp, reloc.OLEAUT32.dll_VariantCopyInd
mov edx, dword [esp + 0x6c]
push edx
call fcn.0051d19a
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10