Function at 0x4248d0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x56ef0f
mov eax, dword fs:[0]
push eax
mov eax, 0x1124
call fcn.004a2a80
mov eax, dword [0x5b16b0]
xor eax, esp
mov dword [esp + 0x1120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b16b0]
xor eax, esp
push eax
lea eax, [esp + 0x1138]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
xor ebp, ebp
push 0x94800
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x58], ebx
call fcn.0047b54b
add esp, 4
push 0x2c
mov dword [esp + 0x50], eax
lea eax, [esp + 0x7c]
push ebx
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
call fcn.004a1c90
add esp, 0xc
push 0x2048
call fcn.0047b51b
mov dword [esp + 0x3c], eax
add esp, 4
xor eax, eax
cmp dword [esi + 0x58], ebx
jle 0x4249d4
lea ebx, [ebx]
test ebx, ebx
jl 0x424a6e
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x58]
jge 0x424a6e
mov edx, ecx
mov esi, dword [edx + 0x54]
add esi, ebx
mov ecx, 0x23
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x108]
mov edx, dword [esp + 0xb0]
cmp ecx, edx
jle 0x424a4e
mov esi, dword [esp + 0xb4]
add esi, edx
cmp ecx, esi
jl 0x424a61
mov edx, dword [esp + 0x14]
add eax, 1
add ebx, 0x8c
cmp eax, dword [edx + 0x58]
jl 0x424970
xor ebx, ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x58]
add eax, 0xffffffff
cmp eax, ebx
jl 0x424ab1
mov ebx, eax
imul ebx, ebx, 0x8c
test eax, eax
jl 0x424a6e
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x58]
jge 0x424a6e
mov edx, ecx
mov esi, dword [edx + 0x54]
add esi, ebx
mov ecx, 0x23
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10c]
lea edx, [edi + esi]
cmp ecx, edx
jg 0x424a73
cmp ecx, esi
jle 0x424a37
cmp ecx, edx
jl 0x424a85
sub eax, 1
sub ebx, 0x8c
test eax, eax
mov dword [esp + 0x30], 0xffffffff
jge 0x4249f2
jmp 0x424ab1
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x108], edx
mov dword [esp + 0x44], eax
jmp 0x4249d2
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], ebp
jmp 0x4249d2
jmp fcn.0047dc2b
mov edx, dword [esp + 0x14]
add edi, esi
mov dword [edx + 0x10c], edi
mov dword [esp + 0x30], eax
jmp 0x424ab1
cmp dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
jne 0x424aa1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10c]
sub eax, dword [ecx + 0x108]
jmp 0x424aad
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10c]
sub eax, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x30]
jg 0x42535a
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x34]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x5c], edi
jl 0x424a6e
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax + 0x44]
jge 0x424a6e
mov eax, dword [eax + 0x40]
mov ecx, ebx
imul ecx, ecx, 0x8c
add eax, ecx
add eax, 0x28
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x40]
call fcn.0040de00
mov dword [esp + 0x1140], edi
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x424b20
push edi
lea ecx, [esp + 0x40]
call fcn.00404da0
mov esi, dword [esp + 0x3c]
push 0x2048
push edi
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x40]
push edi
call fcn.004a1c90
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push esi
mov dword [edi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x424b85
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0x2030
lea edx, [edi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x48], 0x2030
jne 0x424b85
mov dword [edi + 4], 0xffffffff
cmp ebx, dword [esp + 0x44]
jne 0x424b9b
mov eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x18]
cdq
idiv dword [edi + 0x1c]
jmp 0x424bcb
mov eax, dword [edi + 0x18]
cdq
idiv dword [edi + 0x1c]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jne 0x424bbc
mov ebx, dword [esp + 0x40]
cmp ebx, dword [edi + 0x10]
jne 0x424bbc
mov edx, dword [esp + 0x1c]
cmp edx, dword [edi + 0x14]
je 0x424bd8
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
mov ebx, dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], ebx
imul ecx, dword [esp + 0x54]
cmp ebx, 0x160
mov dword [esp + 0x48], ecx
jle 0x424d28
cmp dword [esp + 0x1c], 0x120
jg 0x424d28
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x424c0b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0xc
call fcn.0047b51b
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
test esi, esi
mov byte [esp + 0x1140], 1
je 0x424c47
mov ecx, dword [esp + 0x1c]
push 4
push 0xd
push ebx
add ecx, ecx
push esi
call fcn.00432b00
mov dword [esi], vtable.CMpeg4Encoder.0
mov dword [esi + 4], 0
jmp 0x424c49
xor esi, esi
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov byte [esp + 0x1140], 0
mov dword [esp + 0x20], esi
je 0x424c65
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov al, byte [edi + 0xa]
test al, al
jne 0x424cbb
push 0x448
call fcn.0047b51b
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
test esi, esi
mov byte [esp + 0x1140], 2
je 0x424cab
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push esi
call fcn.004326d0
mov dword [esi], vtable.CMpeg4Decoder.0
mov byte [esp + 0x1140], 0
mov dword [esp + 0x28], esi
jmp 0x424cf3
xor esi, esi
mov byte [esp + 0x1140], 0
mov dword [esp + 0x28], esi
jmp 0x424cf3
cmp al, 1
jne 0x424ceb
push 0x148
call fcn.0047b51b
mov esi, eax
add esp, 4
test esi, esi
je 0x424ce3
mov eax, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00433350
mov dword [esp + 0x28], eax
jmp 0x424cf3
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x424cf3
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x424d0a
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.004994ab
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
push eax
add ebx, ebx
push 1
lea edi, [esp + 0x80]
call fcn.00432420
add esp, 8
jmp 0x424d80
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x424d38
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0xc
call fcn.0047b51b
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
test esi, esi
mov byte [esp + 0x1140], 3
je 0x424d72
mov ecx, dword [esp + 0x1c]
push 4
push 0xd
push ebx
push esi
call fcn.00432b00
mov dword [esi], vtable.CMpeg4Encoder.0
mov dword [esi + 4], 0
jmp 0x424d74
xor esi, esi
mov byte [esp + 0x1140], 0
mov dword [esp + 0x20], esi
cmp dword [esp + 0x60], 0
jne 0x424dc4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
cmp edx, dword [ecx + 0x58]
jge 0x424a6e
mov eax, dword [ecx + 0x54]
add eax, dword [esp + 0x2c]
mov edi, dword [ecx + 0x108]
sub edi, dword [eax + 0xc]
mov edx, dword [esp + 0x38]
imul edi, edi, 0x3e8
push 0
call fcn.00432980
add esp, 4
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x30]
jne 0x424de0
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], eax
jb 0x424de0
test eax, eax
jne 0x42529d
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
call fcn.00432840
test eax, eax
mov ecx, dword [esi + 0x203a]
mov dword [esp + 0x50], ecx
je 0x42529d
cmp dword [esp + 0x18], 0
jne 0x4251d9
test ebp, ebp
je 0x424e28
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov eax, ebp
call fcn.004336f0
push ebp
call fcn.0047b546
add esp, 4
call fcn.0047c271
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x425382
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0
mov byte [esp + 0x1144], 4
call fcn.0049b5c9
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x104]
lea esi, [eax - 0x10]
lea ebx, [edi - 0x10]
add esp, 4
cmp esi, ebx
mov dword [esp + 0x74], edx
je 0x424f12
cmp dword [ebx + 0xc], 0
lea ebp, [ebx + 0xc]
jl 0x424f04
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x424f04
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x424eae
cmp eax, dword [esi]
jne 0x424eae
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424ee4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x42538c
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00499eee
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebp], edx
dec edx
test edx, edx
jg 0x424efb
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [esp + 0x18], edi
jmp 0x424f12
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404d00
mov ebp, dword [esp + 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add ebp, 0xfffffff0
lea ebx, [esp + 0x138]
mov dword [esp + 0x30], esp
mov edi, esp
call edx
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x424f4c
cmp eax, dword [ebp]
jne 0x424f4c
mov esi, ebp
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x424f82
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x42538c
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 4]
add eax, 1
push eax
lea ecx, [ebp + 0x10]
push ecx
push eax
lea edx, [esi + 0x10]
push edx
call fcn.00499eee
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
call fcn.00422040
add esp, 4
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea ecx, [esp + 0x70]
push ecx
mov esi, str.__y__m__d__H__M__S.avi
lea edi, [esp + 0x68]
call fcn.00405140
mov edi, eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x6c]
mov byte [esp + 0x1140], 5
call fcn.0042a2c0
push edi
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x114c], 6
call fcn.0040df30
add esp, 0xc
mov byte [esp + 0x1140], 7
mov eax, dword [eax]
mov ebx, dword [eax - 0xc]
mov esi, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
sub esi, eax
mov eax, dword [eax - 0xc]
mov dword [esp + 0x2c], eax
lea edi, [eax + ebx]
mov eax, dword [ebp + 8]
mov ecx, 1
sub ecx, dword [ebp + 0xc]
sub eax, edi
or eax, ecx
jge 0x42501c
push edi
lea ecx, [esp + 0x1c]
call fcn.00404da0
mov eax, dword [esp + 0x2c]
cmp esi, eax
mov ebp, dword [esp + 0x18]
ja 0x42502c
add esi, ebp
jmp 0x425030
mov esi, dword [esp + 0x24]
push ebx
push esi
add eax, ebp
push ebx
push eax
call fcn.00499eee
add esp, 0x10
test edi, edi
jl 0x425391
cmp edi, dword [ebp - 8]
jg 0x425391
mov dword [ebp - 0xc], edi
mov byte [edi + ebp], 0
mov byte [esp + 0x1140], 6
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42507e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1140], 5
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4250a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 4
mov byte [esp + 0x1140], bl
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4250cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x18
call fcn.0047b51b
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
xor eax, eax
cmp esi, eax
mov byte [esp + 0x1140], 8
je 0x425111
mov dword [esi], vtable.CMuxer.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x19
mov dword [esi + 0x14], 1
call fcn.0044cad0
jmp 0x425113
xor esi, esi
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x1140], bl
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 1
mov eax, dword [edx + 8]
push 0
push eax
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea edi, [ebp - 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esp
mov ebx, esp
call edx
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x425164
cmp eax, dword [edi]
jne 0x425164
mov ebp, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x42519a
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x42538c
mov eax, dword [edi + 4]
mov dword [ebp + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
lea ecx, [edi + 0x10]
push ecx
push eax
lea edx, [ebp + 0x10]
push edx
call fcn.00499eee
add esp, 0x10
add ebp, 0x10
mov dword [ebx], ebp
call fcn.00433570
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov dword [esp + 0x18], 1
mov byte [esp + 0x1140], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4251d5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
cmp esi, 0x160
jle 0x42527f
mov ebp, dword [esp + 0x1c]
cmp ebp, 0x120
jg 0x42527b
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x203a]
mov edx, dword [ecx]
mov edi, dword [esp + 0x4c]
mov edx, dword [edx + 4]
push eax
push edi
call edx
mov ebx, eax
mov eax, dword [esp + 0x78]
mov ecx, dword [ebx]
push ebp
push eax
call fcn.004493e0
mov ecx, dword [esp + 0x84]
mov eax, ebp
cdq
sub eax, edx
mov ebp, eax
mov eax, esi
cdq
sar ebp, 1
sub eax, edx
mov esi, eax
push ebp
push ecx
mov ecx, dword [ebx + 4]
sar esi, 1
call fcn.004493e0
mov edx, dword [esp + 0x90]
mov ecx, dword [ebx + 8]
push ebp
push edx
call fcn.004493e0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add esp, 0x18
push 0
push 0x94800
push edi
lea edx, [esp + 0x84]
push edx
call eax
mov ebp, dword [esp + 0x24]
jmp 0x425287
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
push edi
mov ecx, ebp
call eax
add dword [esp + 0x5c], 1
jmp 0x424dc4
mov dword [esp + 0x1140], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
jle 0x424ac3
test ebp, ebp
je 0x4252fb
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov eax, ebp
call fcn.004336f0
push ebp
call fcn.0047b546
add esp, 4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x42530b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42531b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x425332
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.004994ab
add esp, 4
mov edx, dword [esp + 0x38]
push edx
call fcn.0047b546
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.0047b546
add esp, 4
push 0
push 0
push str.Backup_over_
call fcn.0047d673
mov ecx, dword [esp + 0x1138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1120]
xor ecx, esp
call fcn.00499441
add esp, 0x1130
ret
push 0x80004005
call fcn.00404150
jmp fcn.00404d90
push 0x80070057
call fcn.00404150
int3