Function at 0x467b30
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5085e7
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x570074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2f4], ebx
mov eax, ecx
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x318], eax
lea ecx, [ebp - 0x290]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x304], 0
call fcn.00467560
mov dword [ebp - 4], 1
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x290]
call fcn.00469200
mov byte [ebp - 4], 2
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x467bbf
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 8
jb 0x467bc7
mov eax, dword [eax]
lea edx, [ebp - 0x218]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x467c35
mov ecx, dword [ebp - 0x260]
inc eax
cmp eax, 0x7fffffff
ja 0x467ccf
add eax, eax
cmp eax, 0x1000
jb 0x467c2c
test cl, 0x1f
jne 0x467ccf
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ccf
sub ecx, eax
cmp ecx, 4
jb 0x467ccf
cmp ecx, 0x23
ja 0x467ccf
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x24c], 7
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x18
xor eax, eax
mov edi, esp
mov dword [ebp - 0x30c], esp
lea ebx, [edi + 0x10]
mov dword [ebx], 0
mov dword [ebp - 0x300], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp - 0x218]
push eax
call fcn.004d5c34
mov ecx, dword [edi + 0x14]
add esp, 4
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], ecx
cmp eax, ecx
ja 0x467cd4
cmp ecx, 8
jb 0x467cae
mov edi, dword [edi]
lea esi, [eax + eax]
mov dword [ebx], eax
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.004d1e90
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x467ddf
call fcn.004d5be4
cmp eax, 0x7ffffffe
jbe 0x467ce0
call fcn.00404df7
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x467cf4
mov esi, 0x7ffffffe
jmp 0x467d12
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x467d0a
mov esi, 0x7ffffffe
jmp 0x467d12
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
test eax, eax
jne 0x467d1d
xor ebx, ebx
jmp 0x467d5d
cmp eax, 0x7fffffff
jbe 0x467d29
call fcn.004d0f9b
add eax, eax
cmp eax, 0x1000
jb 0x467d52
lea ecx, [eax + 0x23]
cmp ecx, eax
ja 0x467d3e
call fcn.004d0f9b
push ecx
call fcn.004d0228
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x467d5d
push eax
call fcn.004d0228
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0x300]
mov dword [edi + 0x14], esi
lea esi, [eax + eax]
mov dword [ecx], eax
lea eax, [ebp - 0x218]
push esi
push eax
push ebx
call fcn.004d1910
xor eax, eax
add esp, 0xc
mov word [esi + ebx], ax
mov eax, dword [ebp - 0x2fc]
cmp eax, 8
jb 0x467ddd
mov ecx, dword [edi]
inc eax
cmp eax, 0x7fffffff
ja 0x467ccf
add eax, eax
cmp eax, 0x1000
jb 0x467dd4
test cl, 0x1f
jne 0x467ccf
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ccf
sub ecx, eax
cmp ecx, 4
jb 0x467ccf
cmp ecx, 0x23
ja 0x467ccf
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
mov dword [edi], ebx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004661c0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x10], 0
jne 0x467f39
mov esi, dword [ebp - 0x314]
lea eax, [ebp - 0x248]
push 0x18
push eax
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004d1910
xor eax, eax
mov dword [ebp - 0x238], 0
add esp, 0xc
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x304], 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x234], 8
jb 0x467eb7
mov eax, dword [ebp - 0x248]
mov ecx, 8
cmp ecx, 0x7fffffff
ja 0x467ccf
mov ecx, 0x1000
cmp ecx, 0x10
ja 0x467eae
test al, 0x1f
jne 0x467ccf
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x467ccf
sub eax, ecx
cmp eax, 4
jb 0x467ccf
cmp eax, 0x23
ja 0x467ccf
mov eax, ecx
push eax
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x27c]
cmp eax, 8
jb 0x4688be
mov ecx, dword [ebp - 0x290]
inc eax
cmp eax, 0x7fffffff
ja 0x467ccf
add eax, eax
cmp eax, 0x1000
jb 0x467f2b
test cl, 0x1f
jne 0x467ccf
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ccf
sub ecx, eax
cmp ecx, 4
jb 0x467ccf
cmp ecx, 0x23
ja 0x467ccf
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
jmp 0x4688be
push eax
lea ecx, [ebp - 0x248]
call fcn.004664c0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x248]
call fcn.00469200
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x467f63
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24c]
cmp ecx, 8
jb 0x467fcb
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x260]
cmp eax, 0x7fffffff
ja 0x467ccf
add eax, eax
cmp eax, 0x1000
jb 0x467fc2
test cl, 0x1f
jne 0x467ccf
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ccf
sub ecx, eax
cmp ecx, 4
jb 0x467ccf
cmp ecx, 0x23
ja 0x467ccf
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
test esi, esi
je 0x46880c
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x248]
call fcn.00466450
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x2f4]
push 3
push 0
push eax
call fcn.0041b693
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2a8]
push 0xffffffffffffffff
push dword [ebp - 0x250]
lea ecx, [ebp - 0x2c0]
push eax
call fcn.0041b693
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x2f8]
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2f8], 0
call fcn.0045b0d0
mov eax, dword [ebp - 0x2f8]
mov ebx, dword [ebp - 0x304]
nop word [eax + eax]
xor ecx, ecx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], cx
mov byte [ebp - 4], 0xf
inc eax
push ecx
lea edx, [ebp - 0x278]
mov dword [ebp - 0x30c], eax
mov ecx, eax
call fcn.0045ae20
add esp, 4
mov byte [ebp - 4], 0x10
xor eax, eax
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
or ebx, 4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x304], ebx
mov eax, dword [ebp - 0x268]
add eax, dword [ebp - 0x250]
mov dword [ebp - 0x21c], 0
push eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.0040514b
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov ebx, dword [ebp - 0x21c]
cmovae eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x220]
mov edx, ecx
mov edi, dword [ebp - 0x250]
mov dword [ebp - 0x2fc], eax
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x2f8], edi
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x308], edx
mov dword [ebp - 0x300], ebx
cmp edi, eax
ja 0x4681a8
add ecx, edi
lea esi, [ebp - 0x230]
cmp ebx, 8
mov dword [ebp - 0x220], ecx
lea eax, [edi + edi]
cmovae esi, dword [ebp - 0x230]
push eax
push dword [ebp - 0x2fc]
lea eax, [esi + edx*2]
push eax
call fcn.004d1e90
mov eax, dword [ebp - 0x308]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
mov ebx, dword [ebp - 0x230]
jmp 0x468325
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, edi
jb 0x467cdb
lea esi, [ecx + edi]
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4681cc
mov esi, 0x7ffffffe
jmp 0x4681ea
mov edx, ebx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x4681e2
mov esi, 0x7ffffffe
jmp 0x4681ea
lea eax, [edx + ebx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
test eax, eax
jne 0x4681f5
xor ebx, ebx
jmp 0x468239
cmp eax, 0x7fffffff
ja 0x467d24
add eax, eax
cmp eax, 0x1000
jb 0x468228
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x467d24
push ecx
call fcn.004d0228
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x468233
push eax
call fcn.004d0228
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x2f4]
cmp dword [ebp - 0x300], 8
lea eax, [ecx + edi]
mov dword [ebp - 0x21c], esi
lea esi, [ecx + ecx]
mov dword [ebp - 0x220], eax
push esi
jb 0x4682eb
mov edi, dword [ebp - 0x230]
push edi
push ebx
mov dword [ebp - 0x308], edi
call fcn.004d1910
mov eax, dword [ebp - 0x2f8]
add esp, 0xc
add eax, eax
push eax
push dword [ebp - 0x2fc]
lea eax, [ebx + esi]
push eax
call fcn.004d1910
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
add eax, dword [ebp - 0x2f8]
add esp, 0xc
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x300]
inc eax
cmp eax, 0x7fffffff
ja 0x467ccf
add eax, eax
cmp eax, 0x1000
jb 0x4682e0
mov eax, edi
test al, 0x1f
jne 0x467ccf
mov edi, dword [eax - 4]
cmp edi, eax
jae 0x467ccf
sub eax, edi
cmp eax, 4
jb 0x467ccf
cmp eax, 0x23
ja 0x467ccf
push edi
call fcn.004d0212
add esp, 4
jmp 0x46831f
lea eax, [ebp - 0x230]
push eax
push ebx
call fcn.004d1910
add esp, 0xc
lea eax, [edi + edi]
push eax
push dword [ebp - 0x2fc]
lea eax, [ebx + esi]
push eax
call fcn.004d1910
mov eax, dword [ebp - 0x2f4]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [ebp - 0x230], ebx
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov edx, dword [ebp - 0x21c]
cmovae eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x268]
mov dword [ebp - 0x2f8], eax
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x300], edi
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x2fc], edx
cmp edi, eax
ja 0x4683af
add ecx, edi
lea esi, [ebp - 0x230]
cmp edx, 8
mov dword [ebp - 0x220], ecx
lea eax, [edi + edi]
cmovae esi, ebx
mov ebx, dword [ebp - 0x308]
push eax
push dword [ebp - 0x2f8]
lea eax, [esi + ebx*2]
push eax
call fcn.004d1e90
add esp, 0xc
lea eax, [ebx + edi]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x46853a
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, edi
jb 0x467cdb
lea eax, [ecx + edi]
mov esi, eax
mov dword [ebp - 0x308], eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4683db
mov esi, 0x7ffffffe
jmp 0x4683f9
mov edi, edx
mov eax, 0x7ffffffe
shr edi, 1
sub eax, edi
cmp edx, eax
jbe 0x4683f1
mov esi, 0x7ffffffe
jmp 0x4683f9
lea eax, [edi + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
test eax, eax
jne 0x468404
xor edi, edi
jmp 0x468454
cmp eax, 0x7fffffff
ja 0x467d24
add eax, eax
cmp eax, 0x1000
jb 0x468437
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x467d24
push ecx
call fcn.004d0228
add esp, 4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x468442
push eax
call fcn.004d0228
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2f4]
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x21c], esi
lea esi, [ecx + ecx]
mov dword [ebp - 0x220], eax
push esi
cmp edx, 8
jb 0x4684fa
push ebx
push edi
call fcn.004d1910
mov eax, dword [ebp - 0x300]
add esp, 0xc
add eax, eax
push eax
push dword [ebp - 0x2f8]
lea eax, [edi + esi]
push eax
call fcn.004d1910
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
add eax, dword [ebp - 0x300]
add esp, 0xc
mov word [edi + eax*2], cx
mov eax, dword [ebp - 0x2fc]
inc eax
cmp eax, 0x7fffffff
ja 0x467ccf
add eax, eax
cmp eax, 0x1000
jb 0x4684ef
test bl, 0x1f
jne 0x467ccf
mov eax, dword [ebx - 4]
cmp eax, ebx
jae 0x467ccf
sub ebx, eax
cmp ebx, 4
jb 0x467ccf
cmp ebx, 0x23
ja 0x467ccf
mov ebx, eax
push ebx
call fcn.004d0212
add esp, 4
jmp 0x468534
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.004d1910
mov ebx, dword [ebp - 0x300]
add esp, 0xc
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x2f8]
lea eax, [edi + esi]
push eax
call fcn.004d1910
mov eax, dword [ebp - 0x2f4]
add esp, 0xc
add eax, ebx
xor ecx, ecx
mov word [edi + eax*2], cx
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x290]
call fcn.00469a90
mov esi, eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x468602
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x4685c0
mov ecx, dword [ebp - 0x248]
inc eax
cmp eax, 0x7fffffff
ja 0x467ccf
add eax, eax
cmp eax, 0x1000
jb 0x4685b7
test cl, 0x1f
jne 0x467ccf
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ccf
sub ecx, eax
cmp ecx, 4
jb 0x467ccf
cmp ecx, 0x23
ja 0x467ccf
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x18
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x248]
push esi
push eax
mov dword [ebp - 0x234], 7
call fcn.004d1910
add esp, 0xc
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
jb 0x468623
inc eax
push 2
push eax
push dword [ebp - 0x2d8]
call fcn.00405066
add esp, 0xc
mov ebx, dword [ebp - 0x304]
xor eax, eax
and ebx, 0xfffffffb
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x468670
inc eax
push 2
push eax
push dword [ebp - 0x230]
call fcn.00405066
add esp, 0xc
push dword [ebp - 0x310]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00466a00
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x4686bf
inc eax
push 2
push eax
push dword [ebp - 0x278]
call fcn.00405066
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x264], 7
push eax
call fcn.00469200
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 8
jb 0x4686fa
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2dc]
cmp ecx, 8
jb 0x468724
inc ecx
push 2
push ecx
push dword [ebp - 0x2f0]
call fcn.00405066
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
test esi, esi
je 0x468750
mov eax, dword [ebp - 0x30c]
jmp 0x468070
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x294]
cmp eax, 8
jb 0x468771
inc eax
push 2
push eax
push dword [ebp - 0x2a8]
call fcn.00405066
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x4687af
inc eax
push 2
push eax
push dword [ebp - 0x260]
call fcn.00405066
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2ac]
cmp eax, 8
jb 0x4687ed
inc eax
push 2
push eax
push dword [ebp - 0x2c0]
call fcn.00405066
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
jmp 0x468812
mov ebx, dword [ebp - 0x304]
mov esi, dword [ebp - 0x314]
lea eax, [ebp - 0x248]
push 0x18
push eax
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004d1910
xor eax, eax
mov dword [ebp - 0x238], 0
add esp, 0xc
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 4
or ebx, 1
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x234], 8
jb 0x468881
push 2
push 8
push dword [ebp - 0x248]
call fcn.00405066
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x27c]
cmp eax, 8
jb 0x4688be
push 2
inc eax
push eax
push dword [ebp - 0x290]
call fcn.00405066
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], eax
mov word [ebp - 0x290], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d0217
mov esp, ebp
pop ebp
ret