Function at 0x424c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e7ff
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1140
call fcn.0049f2c0
mov eax, dword [0x5416a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov ebx, ecx
push 0x94800
mov dword [ebp - 0x10d0], ebx
mov dword [ebp - 0x10c8], edi
mov dword [ebp - 0x10b4], edi
mov dword [ebp - 0x10f4], edi
mov dword [ebp - 0x10f8], edi
mov dword [ebp - 0x1100], 0x94800
call fcn.00477ecb
add esp, 4
push 0x2c
mov dword [ebp - 0x10d8], eax
lea eax, [ebp - 0x114c]
push edi
push eax
mov dword [ebp - 0x10c4], edi
mov dword [ebp - 0x10bc], edi
call fcn.0049e490
add esp, 0xc
push 0x3048
call fcn.00477e9b
mov esi, eax
add esp, 4
xor eax, eax
cmp dword [ebx + 0x58], edi
mov dword [ebp - 0x10ac], esi
jle 0x424d9c
xor edx, edx
test edx, edx
jl 0x424f6e
cmp eax, dword [ebx + 0x58]
jge 0x424f6e
mov esi, dword [ebx + 0x54]
add esi, edx
mov ecx, 0x23
lea edi, [ebp - 0x10a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x108]
mov esi, dword [ebp - 0x109c]
cmp ecx, esi
jle 0x424f48
mov edi, dword [ebp - 0x1098]
add edi, esi
cmp ecx, edi
jl 0x424f59
add eax, 1
add edx, 0x8c
cmp eax, dword [ebx + 0x58]
jl 0x424d41
mov esi, dword [ebp - 0x10ac]
mov eax, dword [ebx + 0x58]
add eax, 0xffffffff
js 0x424e15
mov edx, eax
imul edx, edx, 0x8c
test eax, eax
jl 0x424f6e
cmp eax, dword [ebx + 0x58]
jge 0x424f6e
mov esi, dword [ebx + 0x54]
add esi, edx
mov ecx, 0x23
lea edi, [ebp - 0x10a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1098]
mov edi, dword [ebp - 0x109c]
lea esi, [ecx + edi]
mov ecx, dword [ebx + 0x10c]
cmp ecx, esi
jg 0x424f73
cmp ecx, edi
jle 0x424df8
cmp ecx, esi
jl 0x424f8c
sub eax, 1
sub edx, 0x8c
test eax, eax
mov dword [ebp - 0x10dc], 0xffffffff
jge 0x424db4
mov esi, dword [ebp - 0x10ac]
mov eax, dword [ebp - 0x10f0]
cmp eax, dword [ebp - 0x10dc]
jg 0x42588a
mov dword [ebp - 4], 0
mov dword [ebp - 0x10cc], eax
cmp eax, dword [ebp - 0x10dc]
jg 0x425801
test eax, eax
mov dword [ebp - 0x10fc], 0
jl 0x424f6e
cmp eax, dword [ebx + 0x44]
jge 0x424f6e
mov ecx, dword [ebx + 0x40]
imul eax, eax, 0x8c
add ecx, eax
add ecx, 0x28
push ecx
lea ecx, [ebp - 0x10e8]
mov dword [ebp - 0x10e4], eax
call fcn.0040db70
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x10e8]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x424ea7
push 0
lea ecx, [ebp - 0x10e8]
call fcn.00404da0
mov edi, dword [ebp - 0x10e8]
push 0x3048
push 0
push esi
mov dword [ebp - 0x10d4], 0
call fcn.0049e490
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push edi
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
xor edi, edi
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x424f14
push edi
lea ecx, [ebp - 0x10d4]
push ecx
push 0x3030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10d4], 0x3030
jne 0x424f14
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebp - 0x10f0]
cmp dword [ebp - 0x10cc], eax
movzx eax, byte [esi + 0x18]
jne 0x424fc0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x10b8], ecx
movzx ecx, byte [esi + 0x19]
mov dword [ebp - 0x10b0], edx
cdq
idiv ecx
jmp 0x424ffd
mov dword [ebx + 0x108], esi
mov dword [ebp - 0x10f0], eax
jmp 0x424d96
mov dword [ebp - 0x10f0], eax
mov dword [ebp - 0x10f4], 0
jmp 0x424d96
jmp fcn.0047a63a
mov edx, dword [ebp - 0x1098]
add edx, edi
mov dword [ebx + 0x10c], edx
mov dword [ebp - 0x10dc], eax
jmp 0x424e0f
cmp dword [ebp - 0x10f0], eax
mov esi, dword [ebp - 0x10ac]
mov dword [ebp - 0x10dc], eax
mov eax, ecx
jne 0x424fb3
sub eax, dword [ebx + 0x108]
mov dword [ebp - 0x10f8], eax
jmp 0x424e15
sub eax, edi
mov dword [ebp - 0x10f8], eax
jmp 0x424e15
movzx ecx, byte [esi + 0x19]
cdq
idiv ecx
cmp dword [ebp - 0x10ec], eax
jne 0x424fe5
mov edx, dword [ebp - 0x10b8]
cmp edx, dword [esi + 0x10]
jne 0x424fe5
mov ecx, dword [ebp - 0x10b0]
cmp ecx, dword [esi + 0x14]
je 0x425003
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x10b8], edx
mov dword [ebp - 0x10b0], ecx
mov dword [ebp - 0x10b4], edi
mov dword [ebp - 0x10ec], eax
mov eax, dword [ebp - 0x10ec]
imul eax, dword [ebp - 0x10f8]
cmp dword [ebp - 0x10b8], 0x160
mov dword [ebp - 0x1108], eax
jle 0x425188
cmp dword [ebp - 0x10b0], 0x120
jg 0x425188
mov ecx, dword [ebp - 0x10bc]
cmp ecx, edi
je 0x42504e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 0x10bc], edi
push 0xc
call fcn.00477e9b
mov edi, eax
add esp, 4
mov dword [ebp - 0x10c0], edi
test edi, edi
mov ebx, dword [ebp - 0x10b8]
mov byte [ebp - 4], 2
je 0x42508e
mov ecx, dword [ebp - 0x10b0]
push 0xd
push ebx
add ecx, ecx
push edi
call fcn.00430340
mov dword [edi], vtable.CMpeg4Encoder.0
mov dword [edi + 4], 0
jmp 0x425090
xor edi, edi
mov ecx, dword [ebp - 0x10c4]
test ecx, ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10bc], edi
je 0x4250b6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 0x10c4], 0
mov al, byte [esi + 0xa]
test al, al
jne 0x425108
push 0x448
call fcn.00477e9b
mov esi, eax
add esp, 4
mov dword [ebp - 0x10c0], esi
test esi, esi
mov byte [ebp - 4], 3
je 0x4250fa
mov ecx, dword [ebp - 0x10b0]
push ecx
push ebx
push esi
call fcn.0042ff30
mov dword [esi], vtable.CMpeg4Decoder.0
mov byte [ebp - 4], 1
mov dword [ebp - 0x10c4], esi
jmp 0x425148
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10c4], esi
jmp 0x425148
cmp al, 1
jne 0x42513e
push 0x148
call fcn.00477e9b
mov esi, eax
add esp, 4
test esi, esi
je 0x425134
mov eax, dword [ebp - 0x10b0]
mov ecx, ebx
call fcn.00430920
mov dword [ebp - 0x10c4], eax
jmp 0x425148
xor eax, eax
mov dword [ebp - 0x10c4], eax
jmp 0x425148
mov dword [ebp - 0x10c4], 0
mov eax, dword [ebp - 0x114c]
test eax, eax
je 0x425161
movzx edx, byte [eax - 1]
sub eax, edx
push eax
call fcn.00495ebe
add esp, 4
mov eax, dword [ebp - 0x10b8]
mov ebx, dword [ebp - 0x10b0]
push eax
add ebx, ebx
push 1
lea edi, [ebp - 0x114c]
call fcn.0042fca0
mov ebx, dword [ebp - 0x10d0]
add esp, 8
jmp 0x4251ea
mov ecx, dword [ebp - 0x10bc]
cmp ecx, edi
je 0x4251a0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 0x10bc], edi
push 0xc
call fcn.00477e9b
mov edi, eax
add esp, 4
mov dword [ebp - 0x10c0], edi
test edi, edi
mov byte [ebp - 4], 4
je 0x4251de
mov ecx, dword [ebp - 0x10b8]
push 0xd
push ecx
mov ecx, dword [ebp - 0x10b0]
push edi
call fcn.00430340
mov dword [edi], vtable.CMpeg4Encoder.0
mov dword [edi + 4], 0
jmp 0x4251e0
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10bc], edi
cmp dword [ebp - 0x10f4], 0
jne 0x425240
mov edx, dword [ebp - 0x10cc]
cmp edx, dword [ebx + 0x58]
jge 0x424f6e
mov eax, dword [ebx + 0x54]
add eax, dword [ebp - 0x10e4]
mov edi, dword [ebx + 0x108]
sub edi, dword [eax + 0xc]
mov edx, dword [ebp - 0x10ac]
imul edi, edi, 0x3e8
push 0
call fcn.004306c0
add esp, 4
mov dword [ebp - 0x10f4], 1
jmp 0x425240
mov eax, dword [ebp - 0x10cc]
cmp eax, dword [ebp - 0x10dc]
jne 0x425260
mov eax, dword [ebp - 0x1108]
cmp dword [ebp - 0x10fc], eax
jb 0x425260
test eax, eax
jne 0x425289
mov edi, dword [ebp - 0x10ac]
mov ebx, dword [ebp - 0x10d8]
call fcn.00430600
test eax, eax
mov ecx, edi
mov edx, dword [ecx + 0x3038]
mov dword [ebp - 0x10e4], edx
jne 0x4252c7
mov ebx, dword [ebp - 0x10d0]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10e8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [ebp - 0x10cc], 1
mov esi, dword [ebp - 0x10ac]
mov eax, dword [ebp - 0x10cc]
jmp 0x424e34
cmp dword [ebp - 0x10b4], 0
jne 0x4256f2
mov esi, dword [ebp - 0x10c8]
test esi, esi
je 0x425301
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, esi
call fcn.00430cc0
push esi
call fcn.00477ec6
add esp, 4
mov dword [ebp - 0x10c8], 0
call fcn.00478c84
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42531b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10b4], ebx
lea esi, [ebp - 0x1120]
mov byte [ebp - 4], 5
call fcn.004050f0
mov ecx, dword [ebp - 0x10d0]
mov eax, dword [ecx + 0x104]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4253f2
cmp dword [ebx + 0xc], 0
jl 0x4253e2
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4253e2
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x425387
cmp eax, dword [esi]
jne 0x425387
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4253be
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
jne 0x4253a0
jmp fcn.00404d90
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.00496901
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4253d7
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [ebp - 0x10b4], edi
jmp 0x4253f2
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10b4]
call fcn.00404d00
mov esi, dword [ebp - 0x10b4]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
lea ebx, [ebp - 0x1018]
mov dword [ebp - 0x10c0], esp
mov dword [ebp - 0x10e0], esp
mov dword [ebp - 0x1104], esi
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x425438
cmp eax, dword [esi]
jne 0x425438
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42546f
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
jne 0x425451
jmp fcn.00404d90
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.00496901
add esp, 0x10
mov edx, dword [ebp - 0x10e0]
add edi, 0x10
mov dword [edx], edi
call fcn.00421cc0
add esp, 4
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea ecx, [ebp - 0x1120]
push ecx
mov esi, str.__y__m__d__H__M__S.avi
lea edi, [ebp - 0x1110]
call fcn.00405160
mov edi, eax
mov eax, dword [ebp - 0x10d0]
lea esi, [ebp - 0x110c]
mov byte [ebp - 4], 6
call fcn.004286f0
push edi
push eax
lea edx, [ebp - 0x1114]
push edx
mov byte [ebp - 4], 7
call fcn.0040dca0
add esp, 0xc
mov byte [ebp - 4], 8
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edi, dword [ebp - 0x10b4]
mov esi, dword [edi - 0xc]
mov ebx, eax
mov dword [ebp - 0x10d4], eax
mov eax, dword [ebp - 0x1104]
mov dword [ebp - 0x10c0], ecx
mov dword [ebp - 0x10e0], esi
add esi, ecx
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
sub ebx, edi
or eax, ecx
jge 0x425525
push esi
lea ecx, [ebp - 0x10b4]
call fcn.00404da0
mov edi, dword [ebp - 0x10b4]
cmp ebx, dword [ebp - 0x10e0]
ja 0x425535
add ebx, edi
mov dword [ebp - 0x10d4], ebx
mov eax, dword [ebp - 0x10c0]
mov ecx, dword [ebp - 0x10d4]
mov edx, dword [ebp - 0x10e0]
push eax
push ecx
push eax
add edx, edi
push edx
call fcn.00496901
add esp, 0x10
test esi, esi
jl 0x4257e6
cmp esi, dword [edi - 8]
jg 0x4257e6
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1114]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425593
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x110c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4255b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 5
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1110]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4255e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x18
call fcn.00477e9b
mov esi, eax
add esp, 4
mov dword [ebp - 0x10c0], esi
xor eax, eax
cmp esi, eax
mov byte [ebp - 4], 9
je 0x425622
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.00449e00
xor eax, eax
jmp 0x425624
xor esi, esi
mov ecx, dword [ebp - 0x10ec]
mov edx, dword [ebp - 0x10bc]
mov byte [ebp - 4], bl
push eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 1
mov eax, dword [edx + 8]
push eax
push ecx
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0x10c0], esp
mov dword [ebp - 0x10c8], esi
mov dword [ebp - 0x10c0], esp
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x42567c
cmp eax, dword [edi]
jne 0x42567c
mov ebx, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4256b3
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x425695
jmp fcn.00404d90
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
lea ecx, [edi + 0x10]
push ecx
push eax
lea edx, [ebx + 0x10]
push edx
call fcn.00496901
add esp, 0x10
mov eax, dword [ebp - 0x10c0]
add ebx, 0x10
mov dword [eax], ebx
call fcn.00430b40
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [ebp - 0x10b4], 1
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4256f2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [ebp - 0x10b8], 0x160
jle 0x4257b9
cmp dword [ebp - 0x10b0], 0x120
jg 0x4257b9
mov edx, dword [ebp - 0x10ac]
mov edx, dword [edx + 0x3038]
mov ecx, dword [ebp - 0x10c4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [ebp - 0x10d8]
push edx
call eax
mov ecx, dword [ebp - 0x10b0]
mov edx, dword [ebp - 0x114c]
mov esi, dword [ebp - 0x10b8]
push ecx
mov ebx, eax
mov ecx, dword [ebx]
push edx
call fcn.00446960
mov eax, dword [ebp - 0x10b0]
mov ecx, dword [ebx + 4]
cdq
sub eax, edx
mov edi, eax
mov eax, esi
cdq
sub eax, edx
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x1148]
sar edi, 1
push edi
sar esi, 1
push eax
call fcn.00446960
mov ecx, dword [ebp - 0x1144]
add esp, 8
push edi
push ecx
mov ecx, dword [ebx + 8]
call fcn.00446960
mov eax, dword [ebp - 0x1100]
mov ecx, dword [ebp - 0x10bc]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
add esp, 8
push 0
push eax
mov eax, dword [ebp - 0x10d8]
push eax
lea eax, [ebp - 0x114c]
push eax
call edx
mov dword [ebp - 0x10e4], eax
mov edx, dword [ebp - 0x10e4]
mov ecx, dword [ebp - 0x10c8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [ebp - 0x10d8]
push edx
call eax
add dword [ebp - 0x10fc], 1
mov ebx, dword [ebp - 0x10d0]
jmp 0x425240
push 0x80070057
call fcn.00404150
mov ecx, dword [ebp - 0x1118]
call fcn.0047a546
mov eax, 0x425808
ret
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10c8]
test esi, esi
mov edi, dword [ebp - 0x10c4]
mov ebx, dword [ebp - 0x10bc]
je 0x425837
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, esi
call fcn.00430cc0
push esi
call fcn.00477ec6
add esp, 4
test edi, edi
je 0x425845
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
test ebx, ebx
je 0x425853
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov eax, dword [ebp - 0x114c]
test eax, eax
je 0x42586c
movzx ecx, byte [eax - 1]
sub eax, ecx
push eax
call fcn.00495ebe
add esp, 4
mov edx, dword [ebp - 0x10ac]
push edx
call fcn.00477ec6
mov eax, dword [ebp - 0x10d8]
add esp, 4
push eax
call fcn.00477ec6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00495e54
mov esp, ebp
pop ebp
ret