Function at 0x4736b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d7b28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push str.____________________Entrance____________________
lea eax, [esp + 0x28]
push eax
xor ebp, ebp
mov dword [esp + 0x4c], ebp
push edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], str.MergeF4fFiles
call fcn.00471a00
add esp, 0xc
xor esi, esi
mov dword [esp + 0x14], esi
push ebp
push 0x80
push 2
push ebp
push 2
mov byte [esp + 0x58], 2
mov ecx, dword [esp + 0x60]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x473791
call fcn.00405b90
cmp eax, ebp
jge 0x473797
mov eax, dword [edi + 0x60]
push eax
call fcn.004a5387
add esp, 4
push str.Failed_to_open_.flv_file
lea edx, [esp + 0x28]
push edx
push edi
mov dword [edi + 0x60], ebp
mov dword [edi + 0x64], ebp
call fcn.00471980
add esp, 0xc
push str.______________________Exit______________________
lea eax, [esp + 0x28]
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.00471a00
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x473b10
mov esi, eax
mov dword [esp + 0x14], esi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x18
push 0x4e73e8
push esi
call ebx
cmp eax, ebp
jne 0x4737be
call fcn.00405b90
cmp eax, ebp
jl 0x473aa8
cmp dword [esp + 0x10], 0x18
jne 0x473aa8
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
push ebp
lea edx, [esp + 0x14]
push edx
push eax
push ecx
push esi
call ebx
cmp eax, ebp
jne 0x4737eb
call fcn.00405b90
cmp eax, ebp
jl 0x473a62
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x64]
jne 0x473a62
mov eax, dword [edi + 0x60]
push eax
call fcn.004a5387
add esp, 4
push 4
lea eax, [esp + 0x14]
mov ecx, 0x4e7400
lea edx, [esp + 0x18]
mov dword [edi + 0x60], ebp
mov dword [edi + 0x64], ebp
call fcn.00472e90
cmp eax, ebp
jl 0x473a4a
cmp dword [esp + 0x10], 4
jne 0x473a4a
mov eax, dword [edi + 0x40]
cmp eax, ebp
jne 0x473874
lea esi, [esp + 0x14]
call fcn.0045b880
lea eax, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.0042e9b0
lea ecx, [esp + 0x4c]
call fcn.00405f50
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x473989
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, 0x10
mov dword [esp + 0x20], ecx
call fcn.00408230
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
cmp dword [ebx - 0xc], ebp
je 0x47396c
mov dword [esp + 0x18], ebp
push Ordinal_1
push ebx
lea edx, [esp + 0x20]
mov eax, 0x80
push edx
lea ecx, [eax - 0x7d]
lea edx, [eax - 0x7f]
mov byte [esp + 0x50], 4
call fcn.004620a0
cmp eax, ebp
jl 0x473993
lea esi, [esp + 0x2c]
lea ecx, [esp + 0x18]
call fcn.00462190
mov esi, dword [esp + 0x2c]
push esi
call fcn.004a3368
mov ebp, eax
add esp, 4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
mov ecx, esi
mov edx, ebp
call fcn.0046b0b0
test eax, eax
jl 0x473a36
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, esi
jne 0x473a36
cmp ecx, dword [esp + 0x30]
jne 0x473a36
lea ecx, [ebp + 0x8b]
call fcn.0047d7a0
sub esi, eax
sub esi, 0x93
lea ecx, [eax + ebp + 0x93]
push esi
lea eax, [esp + 0x14]
lea edx, [esp + 0x18]
call fcn.00472e90
test eax, eax
jl 0x4739de
cmp dword [esp + 0x10], esi
jne 0x4739de
push ebp
call fcn.004a5387
add esp, 4
lea esi, [esp + 0x18]
call fcn.0045b880
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.00405f50
cmp dword [esp + 0x20], ebp
jne 0x473870
jmp 0x473838
push 0x80004005
call fcn.00405ef0
push ebx
push str.Failed_to_open_file__s
lea ecx, [esp + 0x2c]
push ecx
push edi
call fcn.00471980
add esp, 0x10
lea esi, [esp + 0x18]
call fcn.0045b880
lea ecx, [esp + 0x1c]
call fcn.00405f50
lea esi, [esp + 0x14]
call fcn.0045b880
lea eax, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.0042e9b0
lea ecx, [esp + 0x4c]
call fcn.00405f50
jmp 0x473b1c
push ebp
call fcn.004a5387
mov edx, dword [esp + 0x50]
add esp, 4
push edx
push str.Failed_to_write__s_file
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.00471980
add esp, 0x10
lea esi, [esp + 0x18]
call fcn.0045b880
lea ecx, [esp + 0x1c]
call fcn.00405f50
lea esi, [esp + 0x14]
call fcn.0045b880
lea eax, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.0042e9b0
lea ecx, [esp + 0x4c]
call fcn.00405f50
jmp 0x473b1c
push ebp
call fcn.004a5387
add esp, 4
push ebx
push str.Failed_to_read_from_file__s
jmp 0x473999
push str.Failed_to_write_.flv_file
lea edx, [esp + 0x28]
push edx
push edi
call fcn.00471980
add esp, 0xc
jmp 0x4739b9
mov eax, dword [edi + 0x60]
push eax
call fcn.004a5387
add esp, 4
push str.Failed_to_write_.flv_file
lea eax, [esp + 0x28]
push eax
push edi
mov dword [edi + 0x60], ebp
mov dword [edi + 0x64], ebp
call fcn.00471980
add esp, 0xc
cmp esi, ebp
je 0x473a92
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.______________________Exit______________________
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0
mov edx, dword [esp + 0x2c]
push ecx
push edx
jmp 0x473aec
mov eax, dword [edi + 0x60]
push eax
call fcn.004a5387
add esp, 4
push str.Failed_to_write_.flv_file
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [edi + 0x60], ebp
mov dword [edi + 0x64], ebp
call fcn.00471980
add esp, 0xc
cmp esi, ebp
je 0x473ad8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.______________________Exit______________________
lea edx, [esp + 0x28]
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.00471a00
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 0xc
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473b1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4